mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-08 19:20:12 +01:00
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:
parent
59ba5cc2d1
commit
41fbe9fe8e
1 changed files with 6 additions and 0 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue