unsigned queue_mask)
{
if (radv_image_is_tc_compat_htile(image))
- return layout != VK_IMAGE_LAYOUT_GENERAL;
+ return !in_render_loop;
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 layout != VK_IMAGE_LAYOUT_GENERAL;
+ return !in_render_loop;
return radv_image_has_htile(image) &&
(layout == VK_IMAGE_LAYOUT_DEPTH_STENCIL_ATTACHMENT_OPTIMAL ||
(queue_mask & (1u << RADV_QUEUE_COMPUTE)))
return false;
- return radv_image_has_dcc(image) && layout != VK_IMAGE_LAYOUT_GENERAL;
+ return radv_image_has_dcc(image) &&!in_render_loop;
}