Mercurial > games > semicongine
diff tests/test_rendering.nim @ 1208:8cf9a05b03eb compiletime-tests
did: uncomment tests
author | sam <sam@basx.dev> |
---|---|
date | Tue, 16 Jul 2024 15:57:38 +0700 |
parents | f7530247a21f |
children | e177336cac3f |
line wrap: on
line diff
--- a/tests/test_rendering.nim Tue Jul 16 15:56:55 2024 +0700 +++ b/tests/test_rendering.nim Tue Jul 16 15:57:38 2024 +0700 @@ -191,10 +191,10 @@ swapchain = InitSwapchain(renderpass = mainRenderpass).get() # tests a simple triangle with minimalistic shader and vertex format - # test_01_triangle(nFrames) + test_01_triangle(nFrames) # tests instanced triangles and quads, mixing meshes and instances - # test_02_triangle_quad_instanced(nFrames) + test_02_triangle_quad_instanced(nFrames) # tests test_03_global_descriptorset(nFrames) @@ -208,7 +208,7 @@ mainRenderpass = CreatePresentationRenderPass(samples = VK_SAMPLE_COUNT_4_BIT) swapchain = InitSwapchain(renderpass = mainRenderpass, samples = VK_SAMPLE_COUNT_4_BIT).get() - # test_01_triangle(nFrames) + test_01_triangle(99999999) checkVkResult vkDeviceWaitIdle(vulkan.device) vkDestroyRenderPass(vulkan.device, mainRenderpass, nil)