[1/5] WineD3D: Initialize output texcoord .w to 1.0 if needed (try 2)

Stefan Dösinger stefan at codeweavers.com
Thu Dec 6 16:03:07 CST 2007

This time the patch takes care about the shader version. D3DSPR_TEXCRDOUT(vs 
<= 2.x) and D3DSPR_OUTPUT(vs 3.0) are defined to the same value. There are 16 
output registers, but the texcoordout field has only 8 items because it 
doesn't need more. This could lead to overflows with 3.0 shaders which 
luckily happened to break the d3d9 tests.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-WineD3D-Initialize-output-texcoord-.w-to-1.0-if-nee.patch
Type: text/x-diff
Size: 9648 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20071206/634a06d3/attachment.patch 

More information about the wine-patches mailing list