mesa/src/util/format
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
..
meson.build
u_format.c util: Make helper functions for pack/unpacking pixel rows. 2020-02-04 19:02:59 +00:00
u_format.csv util/format: Add the P010 format used for 10-bit videos 2020-01-03 16:30:22 +00:00
u_format.h util: Make helper functions for pack/unpacking pixel rows. 2020-02-04 19:02:59 +00:00
u_format_bptc.c
u_format_bptc.h
u_format_etc.c
u_format_etc.h
u_format_latc.c
u_format_latc.h
u_format_other.c
u_format_other.h
u_format_pack.py util: Drop unpacking from int signed to unsigned and vice versa. 2020-02-04 19:02:59 +00:00
u_format_parse.py Revert "gallium: Fix big-endian addressing of non-bitmask array formats." 2020-02-11 00:53:04 +00:00
u_format_rgtc.c
u_format_rgtc.h
u_format_s3tc.c
u_format_s3tc.h
u_format_table.py util: Drop unpacking from int signed to unsigned and vice versa. 2020-02-04 19:02:59 +00:00
u_format_tests.c
u_format_tests.h
u_format_yuv.c util/format: Add the P010 format used for 10-bit videos 2020-01-03 16:30:22 +00:00
u_format_yuv.h util/format: Add the P010 format used for 10-bit videos 2020-01-03 16:30:22 +00:00
u_format_zs.c
u_format_zs.h