mesa/src/gallium/drivers
Oded Gabbay 914d4967d7 radeonsi: Do colorformat endian swap for PIPE_USAGE_STAGING
There is an old if statement (dated to 2011) that prevented doing
endian swap for colorformat, in case the buffer is marked as
PIPE_USAGE_STAGING.

This is now wrong because st_ReadPixels() reads into a destination
texture that is marked with PIPE_USAGE_STAGING. Therefore, even if
the texture is rendered correctly to the monitor, when reading it
back we get unswapped/wrong values.

This patch makes the check_rgba() function in gl-1.0-readpixsanity
piglit test pass in big-endian.

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-03-03 09:20:08 +02:00
..
ddebug gallium: make image views non-persistent objects 2016-02-15 22:22:33 -05:00
freedreno freedreno/ir3: enable shareable shaders 2016-03-01 19:21:45 -05:00
i915 gallium: add interface for querying memory usage and sizes (v2) 2016-02-05 17:29:38 +01:00
ilo gallium: make image views non-persistent objects 2016-02-15 22:22:33 -05:00
llvmpipe llvmpipe: add a few const qualifiers 2016-02-19 08:51:51 -07:00
noop gallium/drivers: Sanitize NULL checks into canonical form 2015-12-06 17:10:23 +01:00
nouveau gk110/ir: fix wrong emission of NOT modifier for VOTE 2016-03-02 20:36:18 +01:00
r300 r300g: remove support for DRM < 2.12.0 2016-03-01 00:18:54 +01:00
r600 r600g: Do colorformat endian swap for PIPE_USAGE_STAGING 2016-03-03 09:20:08 +02:00
radeon winsys/radeon: drop support for DRM 2.12.0 (kernel < 3.2) 2016-03-01 00:18:54 +01:00
radeonsi radeonsi: Do colorformat endian swap for PIPE_USAGE_STAGING 2016-03-03 09:20:08 +02:00
rbug gallium/drivers: Trivial code-style cleanup 2015-12-06 17:10:22 +01:00
softpipe scons: Eliminate MSVC2008 compatibility. 2016-02-11 21:36:00 +00:00
svga svga: unbind index buffer when drawing non-indexed primitives 2016-02-22 12:14:48 -07:00
swr mesa/build: add OpenSWR to build 2016-03-02 18:38:42 -06:00
trace trace: assorted whitespace and formatting fixes 2016-02-19 08:49:51 -07:00
vc4 Android: fix build break from nir/glsl move to compiler/ 2016-02-29 10:51:44 +00:00
virgl virgl: add support for passing render condition flags to host. 2016-03-01 15:50:00 +10:00