[Mesa-dev] [PATCH 2/3] gallium/r600: Don't let h/w do endian swap for colorformat
Michel Dänzer
michel at daenzer.net
Fri Feb 26 03:01:25 UTC 2016
[ Dropping mesa-stable list from Cc, since sending patches there by
e-mail before they've landed on master is basically noise ]
On 26.02.2016 06:09, Oded Gabbay wrote:
> Since the rework on gallium pipe formats, there is no more need to do
> endian swap of the colorformat in the h/w, because the conversion between
> mesa format and gallium (pipe) format takes endianess into account (see
> the big #if in p_format.h).
That may be true for (some?) formats with 4 components of 8 bits, but
I'd be surprised if it was true for all formats handled by this
function. Just as one example, consider formats with 32 bits per component.
--
Earthling Michel Dänzer | http://www.amd.com
Libre software enthusiast | Mesa and X developer
More information about the mesa-dev
mailing list