mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-06 11:00:11 +01:00
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>
This commit is contained in:
parent
865bdc3da2
commit
6619802446
1 changed files with 5 additions and 0 deletions
|
|
@ -725,6 +725,11 @@ pvr_get_image_format_properties(struct pvr_physical_device *pdevice,
|
|||
goto err_unsupported_format;
|
||||
}
|
||||
|
||||
if (info->flags & VK_IMAGE_CREATE_MUTABLE_FORMAT_BIT) {
|
||||
result = vk_error(pdevice, VK_ERROR_FORMAT_NOT_SUPPORTED);
|
||||
goto err_unsupported_format;
|
||||
}
|
||||
|
||||
/* If VK_IMAGE_CREATE_EXTENDED_USAGE_BIT is set, the driver can't decide if a
|
||||
* specific format isn't supported based on the usage.
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue