wined3d: Add gamma linerization support for D3DFMT_A4R4G4B4

Phil Costin philcostin at hotmail.com
Tue Jun 12 13:41:58 CDT 2007


This is a bit of an exotic format and the ARB decided not to bother with 4
bit sRGB components (with good reason) - so we support it by relying on GL 
to convert it to 8 bits per channel internally.

It most likely D3DFMT_A4R4G4B4 isn't used by newer games but its inclusion
brings the total range of texture formats we now support for sample-time
gamma linearization up to match that of native D3D.

Phil.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: A4R4G4B4
Type: text/x-diff
Size: 2336 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20070612/59e6686a/A4R4G4B4.bin


More information about the wine-patches mailing list