Clear before drawing is no longer needed

This commit is contained in:
Patrick Nicolas
2024-06-14 20:38:47 +02:00
parent 1152803902
commit a7e8b281d3
+1 -1
View File
@@ -213,7 +213,7 @@ stream_reprojection::stream_reprojection(
vk::AttachmentDescription attachment{ vk::AttachmentDescription attachment{
.format = format, .format = format,
.samples = vk::SampleCountFlagBits::e1, .samples = vk::SampleCountFlagBits::e1,
.loadOp = vk::AttachmentLoadOp::eClear, .loadOp = vk::AttachmentLoadOp::eDontCare,
.storeOp = vk::AttachmentStoreOp::eStore, .storeOp = vk::AttachmentStoreOp::eStore,
.initialLayout = vk::ImageLayout::eColorAttachmentOptimal, .initialLayout = vk::ImageLayout::eColorAttachmentOptimal,
.finalLayout = vk::ImageLayout::eColorAttachmentOptimal, .finalLayout = vk::ImageLayout::eColorAttachmentOptimal,