pvr: treat VK_IMAGE_CREATE_MUTABLE_FORMAT_BIT as not supported
authorFrank Binns <frank.binns@imgtec.com>
Fri, 8 Sep 2023 15:42:53 +0000 (16:42 +0100)
committerMarge Bot <emma+marge@anholt.net>
Fri, 22 Sep 2023 20:47:17 +0000 (20:47 +0000)
commit6619802446549fb03af70e5001e4eb04499b1eb7
tree953c42a30b1d0a251659a95cca0e41daef01425c
parent865bdc3da2bfdf4f4a1f149c80e63c260138c370
pvr: treat VK_IMAGE_CREATE_MUTABLE_FORMAT_BIT as not supported

The required compiler support is missing for mutable format support, so return a
not supported error from vkGetPhysicalDeviceImageFormatProperties2() when the
VK_IMAGE_CREATE_MUTABLE_FORMAT_BIT flag is set in the image format info
structure.

This results in the dEQP-VK.image.mutable.* conformance tests being treated as
Not Supported.

Signed-off-by: Frank Binns <frank.binns@imgtec.com>
Reviewed-by: Karmjit Mahil <Karmjit.Mahil@imgtec.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25241>
src/imagination/vulkan/pvr_formats.c