asahi: handle images in is_format_supported
authorKarol Herbst <git@karolherbst.de>
Fri, 1 Sep 2023 09:57:02 +0000 (11:57 +0200)
committerMarge Bot <emma+marge@anholt.net>
Tue, 5 Sep 2023 18:50:33 +0000 (18:50 +0000)
commit7fd3e532792741293ea41959be9cc7922c078dde
tree88275eac21de57170dba374a588ef7c3351d77a0
parent3bc09aaf1ab142292ba7fe669dec1443e55f4e41
asahi: handle images in is_format_supported

Some frontends differentiate between textures and images more explicitly
than st/mesa. So we might end up with PIPE_BIND_SHADER_IMAGE but not
PIPE_BIND_SAMPLER_VIEW in is_format_supported.

Signed-off-by: Karol Herbst <git@karolherbst.de>
Reviewed-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25052>
src/gallium/drivers/asahi/agx_pipe.c