[WINED3D] Use correct register mask

Ivan Gyurdiev ivg2 at cornell.edu
Wed Apr 12 18:28:48 CDT 2006


According to msdn, the correct register mask is 0x07FF, which is the one 
defined in d3d9.h as well. The mask 0x1FFF which is used includes the 
high 2 bits of the register type, which will cause havoc if registers 
used those bits (Reg.Type > 7). I think this may happen in  shaders 2+.
 
Please apply after the pshader code structure/centralize patch.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: wine.pshader_regmask.diff
Type: text/x-patch
Size: 7124 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20060412/5cf3f0a0/wine.pshader_regmask.diff


More information about the wine-patches mailing list