5/3 WineD3D: Don't use blending on pixel formats which don't support it in combination with shaders

Roderick Colenbrander thunderbird2k at gmx.net
Sat Mar 22 18:08:00 CDT 2008


Hi,

Windows drivers only offer post pixel shader blending support on generic (A)RGB-like formats and in case of dx10-class cards like the Geforce8 also on some float formats. Right now we enable blending even when it isn't needed. In case of R32F (if you would disable the software conversion code) this gives a 400% performance boost in http://www.angelcode.com/dev/shadow/.

A next patch will add D3DUSAGE_QUERY_PIXELFORMAT_BLENDING support.

Regards,
Roderick Colenbrander
-- 
Psssst! Schon vom neuen GMX MultiMessenger gehört?
Der kann`s mit allen: http://www.gmx.net/de/go/multimessenger
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0005-Don-t-use-blending-in-combination-with-pixel-shaders.patch
Type: text/x-patch
Size: 0 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20080323/d7ab1d17/attachment-0001.bin 


More information about the wine-patches mailing list