wined3d: Make sure the arbfp pipeline replacement constants are loaded.
commit234e995bdc25bc47a6c7adea736d81a1cba68ee5
authorStefan Dösinger <stefan@codeweavers.com>
Wed, 19 Nov 2008 13:29:34 +0000 (19 14:29 +0100)
committerAlexandre Julliard <julliard@winehq.org>
Thu, 20 Nov 2008 11:16:57 +0000 (20 12:16 +0100)
tree74b033adb9fb108535acac4e9be0ef08d7c88c9f
parentad335b7e7f088476ce6f761945317c12fed885a6
wined3d: Make sure the arbfp pipeline replacement constants are loaded.

The code here skipped constant loading when a pixel shader was in use,
and only reloaded them on ffp use if the shader implementation used
ARB too. This way a e.g. texfactor change could get lost if GLSL
shaders are used, and the texfactor changed while a pixel shader was
in use.
dlls/wined3d/arb_program_shader.c