2/2 WineD3D: initial post pixelshader blending support

Roderick Colenbrander thunderbird2k at gmx.net
Fri Mar 28 04:25:31 CDT 2008


Hi,

Store a flag whether a format supports blending in the formats table. This patch uses the flag in the blending code and in a few other places to verify if we should turn on blending for the given format. A next patch will also us e this flag for a CheckPixelShaderBlendingCapability call for CheckDeviceFormat. Later on I plan to move more of the Check*Capability functions over to the table.

This patch seems to help float formats like R32F a lot in a simple R32F demo I got a 5-6x speed boost (using this patch in combination with no R32F software conversion and no filtering).

Regards,
Roderick Colenbrander
-- 
Ist Ihr Browser Vista-kompatibel? Jetzt die neuesten 
Browser-Versionen downloaden: http://www.gmx.net/de/go/browser
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-Add-initial-post-pixelshader-blending-support.-For-e.patch
Type: text/x-patch
Size: 0 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20080328/3e308f0a/attachment-0001.bin 


More information about the wine-patches mailing list