mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-03-19 16:30:35 +01:00
pvr: fix ds merge logic for blit image to image
Fixes: 407e692c3 ("pvr: fix logic for setting DSMERGE and PICKD")
Signed-off-by: Luigi Santivetti <luigi.santivetti@imgtec.com>
Reviewed-by: Frank Binns <frank.binns@imgtec.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39916>
This commit is contained in:
parent
3df3b97acb
commit
339a838b46
1 changed files with 2 additions and 2 deletions
|
|
@ -790,8 +790,8 @@ void pvr_rogue_CmdCopyImage2(VkCommandBuffer commandBuffer,
|
|||
VK_FROM_HANDLE(pvr_image, src, pCopyImageInfo->srcImage);
|
||||
VK_FROM_HANDLE(pvr_image, dst, pCopyImageInfo->dstImage);
|
||||
|
||||
const bool can_merge_ds = src->vk.format == VK_FORMAT_D24_UNORM_S8_UINT &&
|
||||
dst->vk.format == VK_FORMAT_D24_UNORM_S8_UINT;
|
||||
const bool can_merge_ds = pvr_vk_format_is_combined_ds(src->vk.format) &&
|
||||
pvr_vk_format_is_combined_ds(dst->vk.format);
|
||||
|
||||
PVR_CHECK_COMMAND_BUFFER_BUILDING_STATE(cmd_buffer);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue