War on conformance test suite failures!

Stefan Dösinger stefan at codeweavers.com
Tue Feb 5 05:59:17 CST 2008


Am Dienstag, 5. Februar 2008 02:18:11 schrieb Chris Robinson:
> On Monday 04 February 2008 04:06:10 pm Stefan Dösinger wrote:
> > The bit that interests me is the sRGB test result. It shows that the sRGB
> > correction is applied after the fog, which would allow us to use
> > GLX_EXT_framebuffer_sRGB for performance improvements if we can find out
> > in which cases games have to expect that. Currently I only know that Half
> > Life 2 should fail on this system.
>
> This might be the reason:
> http://msdn2.microsoft.com/en-us/library/bb172583(VS.85).aspx
>
> D3DPMISCCAPS_POSTBLENDSRGBCONVERT -
> Device supports conversion to sRGB after blending.
> This flag is available in Direct3D 9Ex only.
Blending as in D3DRS_ALPHABLENDENABLE is not used by the game in this case. 
However, in another cap flag Microsoft called fog blending. So maybe sRGB 
isn't applied at all with fog enabled on dx9 cards. I'll extend the test case 
to test that.



More information about the wine-devel mailing list