gallium/osmesa: Try to fix the test for big-endian.
authorEric Anholt <eric@anholt.net>
Wed, 15 Jan 2020 00:50:41 +0000 (16:50 -0800)
committerMarge Bot <eric+marge@anholt.net>
Tue, 4 Feb 2020 17:48:08 +0000 (17:48 +0000)
commitb064697af1dc8927756986f396c793e0e23c42e9
tree9bcb34969578c44be893c9abe0e1bde7f11b6443
parentdd899fd43ebc56fee6ad41126db340a9c2f7bc72
gallium/osmesa: Try to fix the test for big-endian.

Our packed expected values will be byte-swapped for the (mostly) array
formats we're testing.

Reviewed-by: Danylo Piliaiev <danylo.piliaiev@globallogic.com>
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3216>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3216>
src/gallium/targets/osmesa/test-render.cpp