u_format: Sanity check the BE channels for all bitmask formats.
authorEric Anholt <eric@anholt.net>
Tue, 27 Apr 2021 22:17:39 +0000 (15:17 -0700)
committerMarge Bot <eric+marge@anholt.net>
Thu, 3 Jun 2021 00:12:39 +0000 (00:12 +0000)
commit36569b9f8cbcaea1dbfeed7a7f0c6d4b33dd99a6
tree8260965156b46b7096ff2df772c59d65d6470484
parent9d77cecf88b0816c234dd97a630429242c868db1
u_format: Sanity check the BE channels for all bitmask formats.

Just check against the CSV (which has its codegen now tested with
u_format_test in CI) for now, so we know that our computed channels are
correct.

Acked-by: Adam Jackson <ajax@redhat.com>
Acked-by: Ilia Mirkin <imirkin@alum.mit.edu>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10505>
src/util/format/u_format_parse.py