[1/2] WineD3D: Put the color_correction calls into the instruction handlers

Stefan Dösinger stefan at codeweavers.com
Tue Feb 24 13:20:42 CST 2009


This patch gets rid of the caching of used samplers; In its current form it 
doesn't fit well into the pixel shader duplication code, because the info is 
generated when the shader is compiled the first time(it worked only because 
that code used the stateblock instead of the ps_compile_args structure)

We should evaluate the performance aspects of this cache. On the one hand it 
prevents looping over all samplers(16 currently, 128 with d3d10), otoh it is 
an indirection and requires more memory to be read.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-WineD3D-Put-the-color_correction-calls-into-the-ins.patch
Type: text/x-diff
Size: 20848 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20090224/f144f051/attachment-0001.patch 


More information about the wine-patches mailing list