Mercurial > games > semicongine
diff tests/test_vulkan_wrapper.nim @ 629:b965f22fc9c3
fix: API change
author | Sam <sam@basx.dev> |
---|---|
date | Mon, 01 May 2023 01:16:13 +0700 |
parents | 64eb53f81cf6 |
children | de9dff24c422 |
line wrap: on
line diff
--- a/tests/test_vulkan_wrapper.nim Mon May 01 01:15:39 2023 +0700 +++ b/tests/test_vulkan_wrapper.nim Mon May 01 01:16:13 2023 +0700 @@ -111,8 +111,8 @@ # INIT RENDERER: const vertexInput = @[ - attr[Vec3f]("position", memoryLocation=VRAM), - attr[Vec3f]("color", memoryLocation=RAM), + attr[Vec3f]("position", memoryPerformanceHint=PreferFastRead), + attr[Vec3f]("color", memoryPerformanceHint=PreferFastWrite), attr[Vec3f]("translate", perInstance=true) ] vertexOutput = @[attr[Vec3f]("outcolor")]