Mercurial > games > semicongine
changeset 629:b965f22fc9c3
fix: API change
| author | Sam <sam@basx.dev> |
|---|---|
| date | Mon, 01 May 2023 01:16:13 +0700 |
| parents | c2f04f016104 |
| children | a68941309f22 |
| 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")]
