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

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Oct 14 11:28:48 PDT 2014


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

--- Comment #17 from Jason Ekstrand <jason at jlekstrand.net> ---
(In reply to Iago Toral from comment #16)
> We also need new mesa_format enums and pack/unpack functions for byte
> swapped variants of non-array types.

Why?  Is this for the byte_swapped flag on GL upload/downloads?  If that's the
only reason, then I'd rather not bother adding mesa types.  We can easily do a
byte swap with _mesa_swizzle_and_convert.  While it's a little bit of a
performance hit, people shouldn't be using that attribute anyway.

-- 
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/20141014/a2876ee8/attachment.html>


More information about the mesa-dev mailing list