Mercurial > games > semicongine
diff tests/test_rendering.nim @ 1211:d9799f74f5a7 compiletime-tests
did: cleanup and enable all tests
author | sam <sam@basx.dev> |
---|---|
date | Wed, 17 Jul 2024 00:33:32 +0700 |
parents | 570ac1620fb6 |
children | 518a952eccbf |
line wrap: on
line diff
--- a/tests/test_rendering.nim Wed Jul 17 00:30:49 2024 +0700 +++ b/tests/test_rendering.nim Wed Jul 17 00:33:32 2024 +0700 @@ -315,7 +315,7 @@ DestroyRenderData(renderdata) when isMainModule: - var nFrames = 5000 + var nFrames = 2000 InitVulkan() # test normal @@ -324,14 +324,15 @@ 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) - # test_03_simple_descriptorset(nFrames) + # teste descriptor sets + test_03_simple_descriptorset(nFrames) - # tests + # tests multiple descriptor sets and arrays test_04_multiple_descriptorsets(nFrames) checkVkResult vkDeviceWaitIdle(vulkan.device) @@ -343,7 +344,7 @@ mainRenderpass = CreatePresentationRenderPass(samples = VK_SAMPLE_COUNT_4_BIT) swapchain = InitSwapchain(renderpass = mainRenderpass, samples = VK_SAMPLE_COUNT_4_BIT).get() - # test_01_triangle(99999999) + test_01_triangle(99999999) checkVkResult vkDeviceWaitIdle(vulkan.device) vkDestroyRenderPass(vulkan.device, mainRenderpass, nil)