wined3d: Keep pshader and vshader constants in GLSL separate.
commit14a52e5c0999a023b2041e569cc0a1b2dc7ed542
authorIvan Gyurdiev <ivg231@gmail.com>
Mon, 12 Jun 2006 07:00:03 +0000 (12 03:00 -0400)
committerAlexandre Julliard <julliard@winehq.org>
Tue, 13 Jun 2006 09:40:22 +0000 (13 11:40 +0200)
tree0bc1efb13353aa4858938de0cbef48dc980c507f
parent0d08316523590156b990dc48e6754ae0a74e1439
wined3d: Keep pshader and vshader constants in GLSL separate.

GLSL uniforms have as scope the entire program.
To prevent conflicts, name pshader and vshader constants differently.
Based on a patch by Jason Green.
dlls/wined3d/baseshader.c
dlls/wined3d/drawprim.c
dlls/wined3d/glsl_shader.c