dzn: Fix dynamic rendering clear load op for non-multiview

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20919>
This commit is contained in:
Jesse Natalie
2023-01-25 08:48:18 -08:00
committed by Marge Bot
parent e88070b1da
commit 789acc2ffb
+1 -1
View File
@@ -4534,7 +4534,7 @@ dzn_CmdBeginRendering(VkCommandBuffer commandBuffer,
dzn_cmd_buffer_clear_attachment(cmdbuf, iview, att->imageLayout,
&att->clearValue,
VK_IMAGE_ASPECT_COLOR_BIT, 0,
VK_REMAINING_ARRAY_LAYERS, 1,
pRenderingInfo->layerCount, 1,
&cmdbuf->state.render.area);
}
}