mesa/st: Test round-tripping of all compressed formats.
authorEric Anholt <eric@anholt.net>
Fri, 6 Sep 2019 20:33:56 +0000 (13:33 -0700)
committerEric Anholt <eric@anholt.net>
Thu, 7 Nov 2019 19:43:41 +0000 (19:43 +0000)
commit6b1c250245e4e29ea42e853ee094a8d6e9d1b665
tree7cb479b7a1bc042df2e60b228d46d258e23f2df7
parent80a8021d6ce02be599b3befd2dae6506a91f174a
mesa/st: Test round-tripping of all compressed formats.

We checked round-tripping of formats without fallbacks, but weren't
setting the compression support flags in the mock context and thus
needed to skip testing those.  Just set all the flags and assert that
no fallbacks are triggered, so we get full test coverage.

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/mesa/state_tracker/tests/st_format.c