7/6 WineD3D: CheckDeviceFormat srgb write support

Roderick Colenbrander thunderbird2k at gmx.net
Fri Mar 21 18:20:05 CDT 2008


> > Hi,
> >
> > This patch adds srgb write support to CheckDeviceFormat. Before we
> > implicitly allowed it. Stefan said that we offer it using ARB/GLSL
> shaders
> > when the format is X8R8G8B8 or A8R8G8B8.
> Ah, looks like you were faster than I was with replying :-)
> 
> Did you check which formats offer srgb writing on Windows? Our pixel
> shader 
> code offers it for all formats, although srgb correction is pretty
> pointless 
> on float buffers
> 

The geforce7/8 offer it on R5G6B5 and the *8R8G8B8 formats. Not sure about ati or intel but I think ati at least offers it on 32bit formats.

Roderick
-- 
GMX startet ShortView.de. Hier findest Du Leute mit Deinen Interessen!
Jetzt dabei sein: http://www.shortview.de/?mc=sv_ext_mf@gmx



More information about the wine-patches mailing list