Re: wined3d/arb_program_shader: Small optimization in state_texfactor_arbfp().

2011-02-04 Thread Stefan Dösinger
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Actually I am afraid the patch isn't quite correct. If e.g. ps constant 220 is dirty, and no others are, then highest_dirty_ps_const is 220, and pshader_const_dirty[ARB_FFP_CONST_TFACTOR] is 0. After setting the texfactor you still have to reload c

Re: wined3d/arb_program_shader: Small optimization in state_texfactor_arbfp().

2011-02-04 Thread Stefan Dösinger
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Am 03.02.2011 um 23:01 schrieb Adam Martinson: > > Oddly enough this gives us an average 1.8% boost in the 3DMark06 batch size > tests. Impressive. One more thing you could investigate(but that doesn't affect this patch): Try to figure out why th