Mercurial > games > semicongine
diff test1.nim @ 1197:f6a0dc7ad052 compiletime-tests
sync from bedroom to office
author | sam <sam@basx.dev> |
---|---|
date | Fri, 12 Jul 2024 23:06:29 +0700 |
parents | 82feceae80b1 |
children | 96a094cd0c78 |
line wrap: on
line diff
--- a/test1.nim Tue Jul 09 22:53:38 2024 +0700 +++ b/test1.nim Fri Jul 12 23:06:29 2024 +0700 @@ -1,4 +1,5 @@ -import os +import std/os +import std/options import semicongine @@ -133,6 +134,8 @@ ) checkVkResult vkAllocateCommandBuffers(vulkan.device, addr allocInfo, cmdBuffers.ToCPointer) + + # start command buffer block: let @@ -180,12 +183,12 @@ vkCmdSetScissor(cmd, firstScissor = 0, scissorCount = 1, addr(scissor)) # bind pipeline, will be loop - block: - Bind(pipeline1, cmd, currentFrameInFlight = currentFrameInFlight) + # block: + # Bind(pipeline1, cmd, currentFrameInFlight = currentFrameInFlight) # render object, will be loop - block: - Render(cmd, pipeline1, myGlobals, uniforms1, myMesh1, instances1) + # block: + # Render(cmd, pipeline1, myGlobals, uniforms1, myMesh1, instances1) vkCmdEndRenderPass(cmd) checkVkResult cmd.vkEndCommandBuffer()