wined3d: More shader fixes / new instructions.
commit72bfe131d1a1c4087dcc4b00405f7c612300378b
authorJason Green <jave27@gmail.com>
Fri, 28 Jul 2006 08:14:14 +0000 (28 04:14 -0400)
committerAlexandre Julliard <julliard@winehq.org>
Fri, 28 Jul 2006 12:01:16 +0000 (28 14:01 +0200)
tree16ef2d82647426ae0863b5676ba9f3773766126b
parent6d16eff9a6f501c9893c155fd3b2a163256ce43d
wined3d: More shader fixes / new instructions.

- Replace gl_FragColor with gl_FragData[0] for GLSL pixel shader output.
- Subtract 1 more constant from total GLSL allowed float constants to
  accommodate the PROJECTION matrix row that we reference.
dlls/wined3d/arb_program_shader.c
dlls/wined3d/directx.c
dlls/wined3d/glsl_shader.c
dlls/wined3d/pixelshader.c
dlls/wined3d/vertexshader.c
dlls/wined3d/wined3d_private.h