panfrost: Write translate_index_size better
authorAlyssa Rosenzweig <alyssa@collabora.com>
Thu, 20 May 2021 20:43:51 +0000 (16:43 -0400)
committerMarge Bot <eric+marge@anholt.net>
Tue, 1 Jun 2021 19:10:28 +0000 (19:10 +0000)
commit8b305ce32a083fb9489fe9ae0a721380e6e891a7
treed3e512ccef13afce0408cd06c8558c683b0d0000
parent8f13eb812db9bc8c871392119eab5908924f9f11
panfrost: Write translate_index_size better

Encodings line up with Gallium except for uint32.

Signed-off-by: Alyssa Rosenzweig <alyssa@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11074>
src/gallium/drivers/panfrost/pan_context.c