wined3d: Fix cmp instruction for GLSL.
commit436d700c2e58e4442bb250f72efbb3f247fffd3b
authorIvan Gyurdiev <ivg231@gmail.com>
Fri, 14 Jul 2006 02:31:00 +0000 (13 20:31 -0600)
committerAlexandre Julliard <julliard@winehq.org>
Fri, 14 Jul 2006 11:32:38 +0000 (14 13:32 +0200)
tree52789bd254b3932d45ad97a86b02675c0ed3480b
parent07eb6531a3de7291ce319a06fec131c428376238
wined3d: Fix cmp instruction for GLSL.

The current GLSL cmp instruction is incorrect, because:
- it ignores destination write mask
- it ignores source swizzle
- it ignores other source modifiers.
- it works incorrectly for src0 = 0
dlls/wined3d/glsl_shader.c