unsigned queue_mask)
{
if (radv_image_is_tc_compat_htile(image))
- return !in_render_loop;
+ return layout != VK_IMAGE_LAYOUT_GENERAL;
return radv_image_has_htile(image) &&
(layout == VK_IMAGE_LAYOUT_DEPTH_STENCIL_ATTACHMENT_OPTIMAL ||
unsigned queue_mask)
{
if (radv_image_is_tc_compat_htile(image))
- return !in_render_loop;
+ return layout != VK_IMAGE_LAYOUT_GENERAL;
return radv_image_has_htile(image) &&
(layout == VK_IMAGE_LAYOUT_DEPTH_STENCIL_ATTACHMENT_OPTIMAL ||
!radv_support_storage_dcc(device->physical_device))
return false;
- return radv_image_has_dcc(image) &&!in_render_loop;
+ return radv_image_has_dcc(image) && layout != VK_IMAGE_LAYOUT_GENERAL;
}