st/mesa: swap bytes in the fallback format translation path of GetTexImage
authorNicolai Hähnle <nicolai.haehnle@amd.com>
Wed, 9 Nov 2016 14:49:22 +0000 (15:49 +0100)
committerNicolai Hähnle <nicolai.haehnle@amd.com>
Wed, 16 Nov 2016 09:31:36 +0000 (10:31 +0100)
commit78314c57cb8c64dac1ce04f17682db4ffc58effc
tree29ab36d0a3688e6d89c3ffdcadd519fc4fd872b6
parent22360406f78b29eb0548b2f71bfb8ed447b3c1dd
st/mesa: swap bytes in the fallback format translation path of GetTexImage

Fixes parts of GL45-CTS.gtf32.GL3Tests.packed_pixels.packed_pixels_pixelstore.

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Reviewed-by: Edward O'Callaghan <funfunctor@folklore1984.net>
src/mesa/state_tracker/st_cb_texture.c