mesa/src
Oded Gabbay 686ad477bd r600g: set endianess of 16/32-bit buffers according to do_endian_swap
This patch modifies r600_colorformat_endian_swap(), so for 16-bit and for
32-bit buffers, the endianess configuration will be determined not only
by the color/texture format, but also by the do_endian_swap parameter.

The only exception is for array formats, which are always set to not do
swapping, because for them gallium sets an alias based on the machine's
endianess.

v4:
V_0280A0_COLOR_16_16 and V_0280A0_COLOR_16_16_FLOAT should be set to
8IN16 because the bytes inside need to be swapped even for array formats.

Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
Cc: "11.1 11.2" <mesa-stable@lists.freedesktop.org>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
2016-04-26 11:00:16 +03:00
..
compiler glsl: add ability to use essl 3.20 2016-04-25 23:40:54 -04:00
egl egl/x11: authenticate before doing chipset id ioctls 2016-04-21 14:40:44 +01:00
gallium r600g: set endianess of 16/32-bit buffers according to do_endian_swap 2016-04-26 11:00:16 +03:00
gbm gbm: add GBM_FORMAT_XBGR8888 format support 2016-04-21 14:45:56 +01:00
getopt
glx scons: Build dri_common_interop.c. 2016-04-20 12:41:24 +01:00
gtest mesa: Enable subdir-objects globally. 2015-06-26 12:55:25 +01:00
hgl
intel isl: remove ffs function that conflicts with system headers 2016-04-25 15:06:46 +01:00
loader loader: add a libdrm case for loader_get_device_name_for_fd 2016-04-21 14:41:41 +01:00
mapi glapi: fix _glapi_get_proc_address() for mangled function names 2016-04-25 12:59:29 -06:00
mesa glsl: add ability to use essl 3.20 2016-04-25 23:40:54 -04:00
util util: add MAYBE_UNUSED for config dependent variables 2016-04-25 12:23:10 +02:00
Makefile.am i965: Add a dependency on libisl 2016-04-21 20:44:27 -07:00
SConscript glsl: move to compiler/ 2016-01-26 16:08:33 +00:00