Mercurial > games > semicongine
diff tests/test_vulkan_wrapper.nim @ 138:62bc83b8a8c7
fix: mixing memory location types is not working
author | Sam <sam@basx.dev> |
---|---|
date | Sat, 22 Apr 2023 16:48:07 +0700 |
parents | 250e1dcbfec9 |
children | 253dd797e719 |
line wrap: on
line diff
--- a/tests/test_vulkan_wrapper.nim Fri Apr 21 00:29:09 2023 +0700 +++ b/tests/test_vulkan_wrapper.nim Sat Apr 22 16:48:07 2023 +0700 @@ -112,7 +112,7 @@ const vertexInput = @[ attr[Vec3f]("position", memoryLocation=VRAM), - attr[Vec3f]("color", memoryLocation=VRAM), + attr[Vec3f]("color", memoryLocation=RAM), attr[Vec3f]("translate", perInstance=true) ] vertexOutput = @[attr[Vec3f]("outcolor")]