After a recent update validation layers started complaining about
incompatible render passes because subpass dependencies did not match.
RenderPass render_pass;
render_pass.framebuffer = &self;
+ render_pass.to_present = is_presentable();
render_pass.update(device);
VkFramebufferCreateInfo framebuffer_info = { };
const FrameFormat &format = self.framebuffer->get_format();
RenderPass render_pass;
render_pass.framebuffer = self.framebuffer;
+ render_pass.to_present = self.framebuffer->is_presentable();
render_pass.update(device);
unsigned n_color_attachments = 0;