forked from Dynamitos/Seele
adding basic tone mapping
This commit is contained in:
1 parent
6f0e2fe7e7
commit
a957b05615
20 files changed
+314
-37
No files matched your search
@@ -172,7 +172,7 @@ RenderPass::RenderPass(PGraphics graphics, Gfx::RenderTargetLayout _layout, Arra
|
||||
.colorAttachmentCount = (uint32)colorRefs.size(),
|
||||
.pColorAttachments = colorRefs.data(),
|
||||
.pResolveAttachments = resolveRefs.size() > 0 ? resolveRefs.data() : nullptr,
|
||||
.pDepthStencilAttachment = &depthRef,
|
||||
.pDepthStencilAttachment = layout.depthAttachment.getTexture() != nullptr ? &depthRef : nullptr,
|
||||
};
|
||||
Array<VkSubpassDependency2> dep;
|
||||
for (const auto& d : dependencies) {
|
||||
|
||||
Reference in new issue
Block a user