[Mesa-dev] [PATCH 00/14] Big-endian support in gallivm and llvmpipe

Adam Jackson ajax at redhat.com
Tue Jun 18 10:28:01 PDT 2013


New in this series:

- Includes gallium format name documentation
- Defines packed formats as aliases into the existing enum
- Changes packed format names to be lsb-to-msb

Note that the existing hardware drivers will be "broken" by this series (on
big-endian machines), but that they probably already are broken.  On evergreen,
for instance, gnome-shell will display properly before this series, but you
can't click on anything, because ReadPixels gets things backwards; after this
series, and with this:

@@ -615,7 +615,7 @@ static uint32_t r600_translate_colorformat(enum pipe_format 
 
 static uint32_t r600_colorformat_endian_swap(uint32_t colorformat)
 {
-       if (R600_BIG_ENDIAN) {
+       if (0 && R600_BIG_ENDIAN) {
                switch(colorformat) {
 
                /* 8-bit buffers. */

gnome-shell works, and you have way more piglit passes than you did with
current master.  Probably other radeon generations and all of nouveau would
need similar fixes, which I've not audited for yet.

- ajax



More information about the mesa-dev mailing list