[Mesa-dev] [Bug 84566] Unify the format conversion code

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Oct 9 04:48:23 PDT 2014


https://bugs.freedesktop.org/show_bug.cgi?id=84566

--- Comment #9 from Iago Toral <itoral at igalia.com> ---
Jason, piglit tests hit cases where they attempt to convert GL format and data
type combinations that do not match any of the existing mesa formats.

For example GL_RGB +  GL_UNSIGNED_BYTE_2_3_3_REV (BBGG GRRR). The Only mesa
format of this kind is MESA_FORMAT_B2G3R3_UNORM (RRRG GGBB).

This means that we don't have pack and unpack functions for these types, which
we need to use a master conversion function. I think the natural thing to do
would be to add new mesa_format types for these, together with their
format_pack.c and format_unpack.c functions (which should be auto-generated
too). I suppose it is okay to add new mesa_format enums, right?

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20141009/b292719f/attachment.html>


More information about the mesa-dev mailing list