Support more than 4 texture coordinate registers

Ivan Gyurdiev ivg2 at cornell.edu
Sun Apr 16 12:44:25 CDT 2006


Pixel shaders currently are hardcoded to support 6 tex coordinate 
registers, only 4 of which have the fragment tex coordinate value copied 
into them. Patch changes that to make both numbers match min(glMaxTex, 
numTex), where glMaxTex is the maximum number of texture coordinates 
supported by OpenGL, and numTex is the maximum number of texture 
registers supported by the shader version.

This gets rid of many opengl shader errors in LOTR:BFME2, as well as one 
in HL2.

Applies on top of all the other patches.




-------------- next part --------------
A non-text attachment was scrubbed...
Name: wine.more_than_4_tex.diff
Type: text/x-patch
Size: 3897 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20060416/6fc88f60/wine.more_than_4_tex.diff


More information about the wine-patches mailing list