wined3d: Handle GS inputs and outputs.