wined3d: Fix vs_2_0 sgn.
commitdc45657f2c2547f6f737cc9e26a1b25e8ab8eba2
authorStefan Dösinger <stefan@codeweavers.com>
Thu, 1 Oct 2009 13:31:39 +0000 (1 15:31 +0200)
committerAlexandre Julliard <julliard@winehq.org>
Fri, 2 Oct 2009 10:36:59 +0000 (2 12:36 +0200)
tree500a6f37165949c99fec8f7ddfd9aa335cc90590
parentc571d3c1fadf1a22594af126af768b78599e39c6
wined3d: Fix vs_2_0 sgn.

vs_2_0's sgn has two extra parameters - temporary registers for the
instruction. This patch fixes the crash of the d3d9:visual test on windows and
properly handles the vs_2_0 version of sgn.
dlls/d3d9/tests/visual.c
dlls/wined3d/arb_program_shader.c
dlls/wined3d/glsl_shader.c
dlls/wined3d/shader_sm1.c