asahi: Fix ASTC enums
authorAlyssa Rosenzweig <alyssa@rosenzweig.io>
Sat, 20 Aug 2022 16:26:58 +0000 (12:26 -0400)
committerMarge Bot <emma+marge@anholt.net>
Thu, 1 Sep 2022 22:30:48 +0000 (22:30 +0000)
commit5057d6787a194798fb1fa35e247a30fd2f6fa60a
tree2fd8daca99a2ac885ec8c2e5cd576a72529dc596
parent01323ba4706177c4dd33914eb1947e7757962662
asahi: Fix ASTC enums

The ASTC enum only encodes the block width/height. By contrast the
LDR/HDR/sRGB distinction is encoded as UNORM/Float and via the sRGB bit.

Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18167>
src/asahi/lib/cmdbuf.xml