Provisional multithreading framework

This commit is contained in:
Dynamitos committed 2021-03-31 12:18:16 +02:00
1 parent fb3c66cc4c
commit 28f0f88c03
37 files changed
+788 -186

No files matched your search

@@ -91,10 +91,10 @@ RenderPass::RenderPass(PGraphics graphics, Gfx::PRenderTargetLayout layout)
VkSubpassDescription subPassDesc =
init::SubpassDescription(
VK_PIPELINE_BIND_POINT_GRAPHICS,
colorRefs.size(),
(uint32)colorRefs.size(),
colorRefs.data(),
&depthRef,
inputRefs.size(),
(uint32)inputRefs.size(),
inputRefs.data());
VkSubpassDependency dependency = {};
dependency.srcSubpass = VK_SUBPASS_EXTERNAL;
@@ -108,7 +108,7 @@ RenderPass::RenderPass(PGraphics graphics, Gfx::PRenderTargetLayout layout)
VkRenderPassCreateInfo info =
init::RenderPassCreateInfo(
attachments.size(),
(uint32)attachments.size(),
attachments.data(),
1,
&subPassDesc,