Mercurial > games > semicongine
diff test1.nim @ 1196:82feceae80b1 compiletime-tests
sync from bedroom to office
author | sam <sam@basx.dev> |
---|---|
date | Tue, 09 Jul 2024 22:53:38 +0700 |
parents | 5aa1184fa5eb |
children | f6a0dc7ad052 |
line wrap: on
line diff
--- a/test1.nim Mon Jul 08 23:47:33 2024 +0700 +++ b/test1.nim Tue Jul 09 22:53:38 2024 +0700 @@ -75,6 +75,9 @@ ) let renderpass = CreatePresentationRenderPass() +var swapchainResult = InitSwapchain(renderpass) +assert swapchainResult.isSome() +var swapchain = swapchainResult.get() # shaders var pipeline1 = CreatePipeline[ShaderA](renderPass = renderpass) @@ -107,6 +110,10 @@ InitDescriptorSet(renderdata, pipeline1.GetLayoutFor(MaterialSet), uniforms1) + + + + # command buffer var commandBufferPool: VkCommandPool