asahi: Support more renderable formats
authorAlyssa Rosenzweig <alyssa@rosenzweig.io>
Sun, 12 Mar 2023 00:47:27 +0000 (19:47 -0500)
committerMarge Bot <emma+marge@anholt.net>
Fri, 7 Apr 2023 03:23:03 +0000 (03:23 +0000)
commit75b858e904aff123ae256311a578a41301d37808
treebfd94c2005fe3f87019fb2b111023ff79c195bb8
parentfc22380c328a1d68838677ea93fc3073c710fc26
asahi: Support more renderable formats

Fixes KHR-GLES3.copy_tex_image_conversions.forbidden.*

Arguably working around a mesa/st issue but more format support is good for
compatibility and performance anyway.

Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Reviewed-by: Janne Grunau <j@jannau.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22353>
src/asahi/lib/agx_formats.c
src/asahi/lib/agx_nir_format_helpers.h