diff --git a/src/amd/vulkan/radv_cmd_buffer.c b/src/amd/vulkan/radv_cmd_buffer.c index 06718f95cc8..d5a86fee919 100644 --- a/src/amd/vulkan/radv_cmd_buffer.c +++ b/src/amd/vulkan/radv_cmd_buffer.c @@ -10414,9 +10414,9 @@ radv_CmdBeginRendering(VkCommandBuffer commandBuffer, const VkRenderingInfo *pRe /* Copy the VRS rates to the HTILE buffer. */ radv_copy_vrs_htile(cmd_buffer, vrs_att.iview, &render_area, ds_image, htile_va, true); - } else { - /* When a subpass uses a VRS attachment without binding a depth/stencil attachment, or when - * HTILE isn't enabled, we use a fallback that copies the VRS rates to our internal HTILE buffer. + } else if (!ds_att.iview) { + /* When a subpass uses a VRS attachment without binding a depth/stencil attachment, we + * use a fallback that copies the VRS rates to our internal HTILE buffer. */ struct radv_image *ds_image = radv_cmd_buffer_get_vrs_image(cmd_buffer);