wined3d: Fixup the write mask for gl_FogFragCoord and gl_PointSize.
commitb28bd67fd9a117a5261c93e1da123b81b3ebea5a
authorH. Verbeet <hverbeet@gmail.com>
Mon, 15 Jan 2007 18:30:35 +0000 (15 19:30 +0100)
committerAlexandre Julliard <julliard@winehq.org>
Tue, 16 Jan 2007 15:02:21 +0000 (16 16:02 +0100)
tree58c41a045e5f53a463e6761b541c664344094454
parent16cf41413b5e8d108e4b58fb945b623646c66e79
wined3d: Fixup the write mask for gl_FogFragCoord and gl_PointSize.

gl_FogFragCoord and gl_PointSize are floats rather than vec4s in GLSL,
so they shouldn't have a destination swizzle, and the write mask we
return should consist of only the first component.
dlls/wined3d/glsl_shader.c