pvr: Transfer block compressed with 3d twiddled layout

Block compressed formats with 3d twiddled memory layout not supported.

Signed-off-by: Oskar Rundgren <oskar.rundgren@imgtec.com>
Reviewed-by: Frank Binns <frank.binns@imgtec.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22958>
This commit is contained in:
Oskar Rundgren 2023-05-07 19:02:54 +01:00 committed by Marge Bot
parent 59ba5cc2d1
commit 41fbe9fe8e

View file

@ -730,6 +730,12 @@ pvr_get_image_format_properties(struct pvr_physical_device *pdevice,
result = vk_error(pdevice, VK_ERROR_FORMAT_NOT_SUPPORTED);
goto err_unsupported_format;
}
/* Block compressed with 3D layout not supported */
if (vk_format_is_block_compressed(info->format)) {
result = vk_error(pdevice, VK_ERROR_FORMAT_NOT_SUPPORTED);
goto err_unsupported_format;
}
}
if (info->usage & render_usage) {