wined3d: Watch out about higher constants when clamping ps 1.x consts.
commit14eedc5be7f27e55f50bd4a3c01d355b4a986542
authorStefan Dösinger <stefan@codeweavers.com>
Thu, 6 Aug 2009 18:30:20 +0000 (6 20:30 +0200)
committerAlexandre Julliard <julliard@winehq.org>
Fri, 7 Aug 2009 12:56:33 +0000 (7 14:56 +0200)
treec1d42f76c5912e5a3a5318f1e266d69888a29445
parent85fe381daf09d42fa4c9275b381677fe2625e06f
wined3d: Watch out about higher constants when clamping ps 1.x consts.

ps 1.x supports only 8 constants, so the shader load code dirtifies the
first 8 on a shader switch. However, the constant load code reloaded all dirty
consts with clamping. That potentially left constants > 8 clamped.
dlls/wined3d/arb_program_shader.c