[Mesa-dev] [PATCH] st/mesa: Map packed gallium formats to packed mesa formats.

Michel Dänzer michel at daenzer.net
Mon Aug 10 18:24:44 PDT 2015

On 10.08.2015 21:48, Oded Gabbay wrote:
> I believe the deeper problem is from the fact we move from gallium
> format name x8y8z8w8, which doesn't take into account platform
> endianness, to mesa format name, which does take platform endianness
> into account (using the swizzle).

That should only be an issue if the conversion from Gallium format to
Mesa format is done incorrectly. That's certainly possible though, see
for an example of an incorrect conversion.

Another possibility is that it's the wrong Gallium format in the first
place, i.e. it doesn't accurately describe how the pixel data is stored
in memory Or conversely, that the llvmpipe driver doesn't store the
pixel data according to the format.

Earthling Michel Dänzer               |               http://www.amd.com
Libre software enthusiast             |             Mesa and X developer

More information about the mesa-dev mailing list