Files
mesa/src/util
Eric Anholt 1886dbfe73 Revert "gallium: Fix big-endian addressing of non-bitmask array formats."
This reverts the functional part of commit
d17ff2f7f1, leaving the unit test for
mesa/pipe agreement on what's an array.

The issue is that the util_channel_desc.shift values on array formats are
not used for bit addressing in memory, they're bit addressing within a
word treating a pixel of the format as a native type, as seen by
llvmpipe's use of the values to do shifts (see
lp_build_unpack_arith_rgba_aos() for example).  This means the values are
nonsensical for 3-byte RGB, but then llvmpipe doesn't expose those formats
so it works out.

I still want to clean up our big-endian format handling at some point, but
let's fix the s390x regression first, sort out our format unit tests in
CI, then be able to refactor with confidence.

Fixes: d17ff2f7f1 ("gallium: Fix big-endian addressing of non-bitmask array formats.")
Closes: #2472
Acked-by: Marek Olšák <marek.olsak@amd.com>
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3721>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3721>
2020-02-11 00:53:04 +00:00
..
2019-10-10 16:33:04 -07:00
2019-08-08 22:02:54 +01:00
2018-10-10 13:13:12 -05:00
2019-09-19 19:56:22 +00:00
2019-03-11 13:13:52 -07:00
2019-03-11 13:13:52 -07:00
2019-08-15 20:23:44 +02:00
2019-08-02 18:38:52 +01:00
2019-10-28 11:24:39 +00:00
2019-09-06 00:45:11 +00:00
2017-11-09 11:57:21 +01:00
2019-05-31 19:14:30 +02:00
2017-09-03 09:05:23 +01:00
2019-10-09 12:55:15 -07:00
2019-03-14 22:41:08 +00:00
2018-11-27 15:44:02 -05:00
2019-10-28 11:24:38 +00:00
2019-08-31 13:26:10 -07:00
2020-01-23 17:06:57 +00:00