WineD3D: shader detection improvements 4/3

Roderick Colenbrander thunderbird2k at
Sat Oct 27 17:35:45 CDT 2007


On some cards with GLSL support (ATI) we were reporting the wrong vertex shader version (3.0 instead of 2.0). This could result in major performance problems due to software emulation. GLSL doesn't provide the info we need. Nor does any other vertex shader extensions. (Most likely due to ATI reporting bad limits)

I now assume that a card with pixel shader 2.0 also has vertex shader 2.0 too (this is the case). We do have reasonable pixel shader 2.0 detection code (was added in one of the earlier patches), so use that. This is the only thing we can do and should work well.

Roderick Colenbrander 
Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! 
Ideal für Modem und ISDN:
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0006-Detect-vertex-shader-2.0-support-using-a-pixel-shade.patch
Type: text/x-diff
Size: 0 bytes
Desc: not available
Url : 

More information about the wine-patches mailing list