# HG changeset patch # User sam # Date 1721151212 -25200 # Node ID d9799f74f5a7b986eb536fcf84a9d97ab17bff8f # Parent 570ac1620fb6ffb68bd2f422f0f739b23870d6c1 did: cleanup and enable all tests diff -r 570ac1620fb6 -r d9799f74f5a7 tests/test_rendering Binary file tests/test_rendering has changed diff -r 570ac1620fb6 -r d9799f74f5a7 tests/test_rendering.nim --- 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)