We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 33c6149 commit bebee50Copy full SHA for bebee50
src/app.cpp
@@ -244,6 +244,9 @@ void App::render(vk::CommandBuffer const command_buffer) {
244
command_buffer.endRendering();
245
246
m_imgui->end_frame();
247
+ // we don't want to clear the image again, instead load it intact after the
248
+ // previous pass.
249
+ color_attachment.setLoadOp(vk::AttachmentLoadOp::eLoad);
250
rendering_info.setColorAttachments(color_attachment)
251
.setPDepthAttachment(nullptr);
252
command_buffer.beginRendering(rendering_info);
0 commit comments