Mercurial > games > semicongine
changeset 168:061054515d28
fix: API change
author | Sam <sam@basx.dev> |
---|---|
date | Mon, 01 May 2023 01:16:13 +0700 |
parents | 4d4f7a2eb6ca |
children | 2a0c81fa541d |
files | tests/test_vulkan_wrapper.nim |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
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")]