[PATCH] Big Endian support for RV730 (Mesa r600)

Cédric Cano ccano at interfaceconcept.com
Tue Apr 12 01:01:20 PDT 2011


Hi

Here you are a patch that adds big endian support for rv730 in r600 
classic mesa driver. The BE modifications are almost the same as the DRM 
/ DDX driver modifications 
(http://lists.freedesktop.org/archives/dri-devel/2011-February/008151.html).

I used the mesa-demos to test the driver status on big endian platform. 
Nearly all demos renders the same as on Intel architecture. 
Nevertheless, there are still some issues in glReadPixels (r600_blit) 
with some formats. I can't figure out exactly what and when data must be 
swapped (set_tex_resoures, set_render_target...). Review of the patch 
would be greatly appreciated.

It seems that r600g will be the default for Mesa 7.11 so I'll try to 
enable big endian support for Gallium now.

Regards
Cédric Cano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mesa-7.10_rv730_be_support.patch
Type: text/x-patch
Size: 50426 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20110412/29317133/attachment-0001.bin>


More information about the dri-devel mailing list