wined3d: GLSL shader cleanup patch.
commit08295f4cfc3299f59be5959cb623a5399f5b07f6
authorJason Green <jave27@gmail.com>
Fri, 9 Jun 2006 16:28:51 +0000 (9 12:28 -0400)
committerAlexandre Julliard <julliard@winehq.org>
Fri, 9 Jun 2006 19:09:03 +0000 (9 21:09 +0200)
treeba85fe9382559e93d2d0db520aaa5690b0cd748f
parentdeab87442499cc74b330223593e034f2c7f88d4f
wined3d: GLSL shader cleanup patch.

- Based on comments from H. Verbeet
- Changed the distinction from .rgba & .xyzw masks to only use .xyzw
  in GLSL shaders.  They are interchangeable, and only served to make
  the trace look more intuitive, but they don't always apply as-is, so
  we'll just leave everything to .xyzw.
- Got rid of the "UseProgramObjectARB(0)" call in drawprim.  If there
  is no shader set on the next primitive, then that primitive will
  call UseProgramObjectARB(0) when it begins to draw.
dlls/wined3d/drawprim.c
dlls/wined3d/glsl_shader.c