[Mesa-dev] Uploading PIPE_FORMAT_B8G8R8A8_UNORM to pixmap texture in PIPE_FORMAT_B8G8R8X8_UNORM

Jerome Glisse j.glisse at gmail.com
Wed Dec 15 12:29:18 PST 2010


On Wed, Dec 15, 2010 at 3:12 PM, José Fonseca <jfonseca at vmware.com> wrote:
> Jerome,
>
> Hmm. B8G8R8A8 -> B8G8R8X8 should be accepted by
> util_is_format_compatible.
>
> It looks like util_is_format_compatible arguments are swapped, ie., it
> should be
>
>    assert(util_is_format_compatible(util_format_description(src->format), util_format_description(dst->format)));
>
> instead of
>
>    assert(util_is_format_compatible(util_format_description(dst->format), util_format_description(src->format)));
>
> Jose
>

Well pushed the change, i will just ignore the bluriness of TFP around
the alpha channel fate.

Cheers,
Jerome Glisse


More information about the mesa-dev mailing list