Mercurial > games > semicongine
diff tests/test_vulkan_wrapper.nim @ 188:de9dff24c422
add: image/texture creation, refactoring of some unclean parts
author | Sam <sam@basx.dev> |
---|---|
date | Thu, 04 May 2023 23:44:15 +0700 |
parents | 061054515d28 |
children | df92519d4d68 |
line wrap: on
line diff
--- a/tests/test_vulkan_wrapper.nim Wed May 03 23:57:25 2023 +0700 +++ b/tests/test_vulkan_wrapper.nim Thu May 04 23:44:15 2023 +0700 @@ -20,9 +20,9 @@ for extension in device.getExtensions(): echo " " & $extension echo " Properties" - echo " " & $device.getProperties() + echo " " & $device.properties echo " Features" - echo " " & $device.getFeatures() + echo " " & $device.features echo " Queue families" for queueFamily in device.getQueueFamilies(): echo " " & $queueFamily @@ -130,7 +130,7 @@ inputs=vertexOutput, uniforms=uniforms, outputs=fragOutput, - main="color = vec4(outcolor, 1);" + main="color = vec4(outcolor, 0.8);" ) var renderPass = engine.gpuDevice.simpleForwardRenderPass(vertexCode, fragmentCode) engine.setRenderer(renderPass)