agx: Legalize image LODs to be 16-bit
authorAlyssa Rosenzweig <alyssa@rosenzweig.io>
Thu, 25 May 2023 19:01:22 +0000 (15:01 -0400)
committerMarge Bot <emma+marge@anholt.net>
Thu, 20 Jul 2023 15:33:28 +0000 (15:33 +0000)
commitc6e33249801fcf3e88ab2d645df0b628df4cc712
tree535977ce533dc7ba87dda69f395fa3b3f4d0b693
parentdfea028aa27bdd6b5576c632c3c1ff0eec69ef7b
agx: Legalize image LODs to be 16-bit

Required by the hardware. Do it in NIR so we can optimize the conversion.

Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24258>
src/asahi/compiler/agx_nir_lower_texture.c