wined3d: Only apply shader constants that changed.
commit4a19d893e5d5955c045d5dbfe5b764d98cf951fd
authorHenri Verbeet <hverbeet@codeweavers.com>
Fri, 19 Dec 2008 18:21:56 +0000 (19 19:21 +0100)
committerAlexandre Julliard <julliard@winehq.org>
Sat, 20 Dec 2008 10:11:45 +0000 (20 11:11 +0100)
treee9fad345db6bbceb442ed5252e6929dffe4d7749
parent684017c0710a2745ead31ae643a4f28f43dd8bc0
wined3d: Only apply shader constants that changed.

This improves performance a bit for applications that use a lot of
shaders with a lot of constants.
dlls/wined3d/glsl_shader.c
dlls/wined3d/stateblock.c
dlls/wined3d/utils.c
dlls/wined3d/wined3d_private.h