wined3d: Force ARB shader programs reselection on bool/int constant changes.
authorMatteo Bruni <mbruni@codeweavers.com>
Mon, 20 Aug 2012 20:34:58 +0000 (22:34 +0200)
committerAlexandre Julliard <julliard@winehq.org>
Tue, 21 Aug 2012 09:45:47 +0000 (11:45 +0200)
commit7cc4f47afe2dbb112b0a84cb557160872e71c016
tree1fd2e89180c152b84630b1c400786d30cf9efcfb
parentf89f30e0c01f60e67c5a004068deccbfcd60fbe2
wined3d: Force ARB shader programs reselection on bool/int constant changes.

The ARB shader backend hardcodes some constant-dependent state in the shader
itself (e.g. branch taken/not taken). So, we have to make sure to update the
selected ARB shader when the application modifies non-float constants.
dlls/wined3d/arb_program_shader.c