[Mesa-dev] [PATCH 8/8] RFC: llvmpipe: Fix format manipulation for big-endian

Roland Scheidegger sroland at vmware.com
Thu Nov 22 13:37:17 PST 2012


Am 22.11.2012 21:35, schrieb Adhemerval Zanella:
> This patch fixes various format manipulation for big-endian
> architectures. Basically it works on two fronts: 1) by adjusting
> some algorithms that do shifts/mask on vector or integers and 2)
> by correct loading floating-point in memory.
> 
> Also, the 'lp_bld_format_aos_array.c' approach to load vectors
> is naive (it loads element per element). I plan work on this to
> use a better approach to load and permute the vector instead.
> 
> Any tips, advices, comments?

I think the last part of the patch should be separate (as it doesn't
look related to llvmpipe at all) but otherwise looks good (though
slightly ugly but that's expected).

Roland




More information about the mesa-dev mailing list