wined3d: Initial post pixelshader blending support. [attempt 2].
commit4eaa424c795c9c5ed4a772898297e692a5a2b2b0
authorRoderick Colenbrander <thunderbird2k@gmx.net>
Fri, 28 Mar 2008 09:02:39 +0000 (28 10:02 +0100)
committerAlexandre Julliard <julliard@winehq.org>
Fri, 28 Mar 2008 14:50:24 +0000 (28 15:50 +0100)
tree34e423efdd9f3820822ec0f72fb7796ba95061fc
parent61f7dc006a2e2db430a09463744326d3619c7671
wined3d: Initial post pixelshader blending support. [attempt 2].

For each pixel format we store a flag in the table whether it supports
post pixelshader blending. Before applying blending or during a
context switch we verify that blending is turned off for the
format. In case of R32F this gave a 5-6x performance boost (without
filtering and software conversion).
dlls/wined3d/context.c
dlls/wined3d/state.c
dlls/wined3d/utils.c
dlls/wined3d/wined3d_private_types.h
include/wine/wined3d_gl.h