diff options
author | Oskar Rundgren <oskar.rundgren@imgtec.com> | 2023-05-03 14:15:53 +0100 |
---|---|---|
committer | Marge Bot <emma+marge@anholt.net> | 2023-05-16 18:09:03 +0000 |
commit | a495cdb09eeefb1e84012c7ee9203f8248162b9e (patch) | |
tree | a28c992cf7f38a9780f9d9f6cd8798ada205d162 | |
parent | b59eb30e8860a8bd40ba8747194ff91e27d1812c (diff) | |
download | mesa-a495cdb09eeefb1e84012c7ee9203f8248162b9e.tar.gz |
pvr: Allow block compressed source blit
Allow blit from block compressed formats to unorm and float formats.
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/22918>
-rw-r--r-- | src/imagination/vulkan/pvr_job_transfer.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/imagination/vulkan/pvr_job_transfer.c b/src/imagination/vulkan/pvr_job_transfer.c index 3b0efb47f0f..49bdd501603 100644 --- a/src/imagination/vulkan/pvr_job_transfer.c +++ b/src/imagination/vulkan/pvr_job_transfer.c @@ -416,7 +416,8 @@ pvr_pbe_src_format_normal(VkFormat src_format, bool is_float = true; if (!vk_format_is_float(src_format) && - !vk_format_is_normalized(src_format)) { + !vk_format_is_normalized(src_format) && + !vk_format_is_block_compressed(src_format)) { return vk_error(NULL, VK_ERROR_FORMAT_NOT_SUPPORTED); } |