[4/5] wined3d: Use a bitmask to store which bool and int constants are set.

Juan Lang juan.lang at gmail.com
Tue Dec 2 22:25:29 CST 2008


> Why is this a good thing - this just artificially caps your constants at
> 32. If I remember correctly I had to change shaders to do the exact
> opposite change, because newer versions introduced more than 32 constants.

I agree with you, this is a questionable change.  The benefit in
reduced data results in a gain of code size and runtime cost.
--Juan



More information about the wine-devel mailing list