[WINED3D] Use correct register number mask [ affects 2.0+ shaders ]

Ivan Gyurdiev ivg2 at cornell.edu
Sat Apr 15 13:35:54 CDT 2006


The regmask currently being used is wrong - 0x1FFF includes the high two 
bits of the register type.
This is bad, because those bits are not 0 in 2.0+ shaders, causing major 
problems.
The correct mask is the one in the d3d8/9 header - 0x7FF.

Applies after shift_modifers/arb_version patches.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: wine.register_mask.diff
Type: text/x-patch
Size: 12846 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20060415/4bebcaef/wine.register_mask.diff


More information about the wine-patches mailing list