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

--- Comment #32 from Jason Ekstrand <ja...@jlekstrand.net> ---
(In reply to Iago Toral from comment #31)
> Jason, there is an had-hoc path to deal with MESA_FORMAT_YCBCR* in
> texstore.c. Seems that this path only allows conversion between these
> formats, which is mostly a memcpy with some byte swapping when necessary.
> Should we also keep this one as a special case to be handled outside the
> master function?

Yes, there's code for that in texstore.c and in format_unpack.c.  We should
make that consisten either by movint the code from texstore.c to format_pack.c
or move it from format_unpack.c to readpixels.  I'm ok with moving everything
into the packing/unpacking functions and letting the conversion function handle
it.  It is a MESA_FORMAT after all.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to