asahi: Don't hardcode is_dmabuf_modifier_supported
authorAlyssa Rosenzweig <alyssa@rosenzweig.io>
Fri, 25 Nov 2022 16:54:50 +0000 (11:54 -0500)
committerMarge Bot <emma+marge@anholt.net>
Fri, 25 Nov 2022 18:56:48 +0000 (18:56 +0000)
commitefa240b74b797652ec00bc8bc0f543a524aff57f
tree59afb83774d1a6fd34caf633e6147ac407c50b23
parenta6079e5aa8dfbe1fa8750feb4931a2ba816fff4d
asahi: Don't hardcode is_dmabuf_modifier_supported

So we can add more modifiers more easily.

Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19999>
src/gallium/drivers/asahi/agx_pipe.c