Implement KRRenderGraph::getFinalRenderPass()

This commit is contained in:
2025-04-08 23:45:12 -07:00
parent 3928e247eb
commit 51d6038187
5 changed files with 18 additions and 1 deletions

View File

@@ -298,7 +298,7 @@ KrResult KRSurface::createSwapChain()
return res;
}
m_swapChain->create(*device, m_surface, m_surfaceFormat, depthImageFormat, swapExtent, imageCount, *m_renderGraph->getRenderPass(RenderPassType::RENDER_PASS_FORWARD_OPAQUE));
m_swapChain->create(*device, m_surface, m_surfaceFormat, depthImageFormat, swapExtent, imageCount, *m_renderGraph->getFinalRenderPass());
return KR_SUCCESS;
}