diff tests/test_vulkan_wrapper.nim @ 334:2533f524bdb6

fix: remaining tests and an issue with updating uniforms
author Sam <sam@basx.dev>
date Mon, 04 Sep 2023 00:48:00 +0700
parents 05fb85ba97dd
children b83b3a1ccb05
line wrap: on
line diff
--- a/tests/test_vulkan_wrapper.nim	Mon Sep 04 00:31:17 2023 +0700
+++ b/tests/test_vulkan_wrapper.nim	Mon Sep 04 00:48:00 2023 +0700
@@ -169,7 +169,7 @@
       ],
       outputs=[attr[Vec4f]("color")],
       samplers=[
-        attr[Sampler2DType]("my_little_texture")
+        attr[Texture]("my_little_texture")
       ],
       vertexCode="""gl_Position = vec4(position, 1.0) * transform; outcolor = color;""",
       fragmentCode="color = texture(my_little_texture, outcolor.xy) * 0.5 + outcolor * 0.5;",