[PATCH 2/4] wined3d: Fix pixel format alpha/red masks.
hverbeet at gmail.com
Mon Aug 13 14:28:16 CDT 2012
On 13 August 2012 20:20, Matteo Bruni <mbruni at codeweavers.com> wrote:
> + * Pixel formats with more than 4 bpp do not have correct masks, because the
> + * high masks do not fit into the 32 bit values needed for ddraw. The masks
> + * are only used for ddraw mostly, and to figure out if the format has an alpha
> + * component (the POSTPIXELSHADER_BLENDING test also uses those masks to know
> + * if there is more than 1 alpha bit and a red component), so that doesn't
> + * matter. The 64 and 128 bit formats are not supported by ddraw anyway.
We'll probably want these as offset + mask, or perhaps offset + size.
More information about the wine-devel