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>
This commit is contained in:
committed by
Marge Bot
parent
b59eb30e88
commit
a495cdb09e
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user