Mercurial > games > semicongine
comparison tests/test_vulkan_wrapper.nim @ 384:eaf084ba80e5
fix: cleanup when multiple textures use same vulkan image
author | Sam <sam@basx.dev> |
---|---|
date | Sun, 03 Dec 2023 00:05:38 +0700 |
parents | fa38cd28f041 |
children | 91e018270832 |
comparison
equal
deleted
inserted
replaced
383:8e926856a9ce | 384:eaf084ba80e5 |
---|---|
23 ]), sampler: sampler)]) | 23 ]), sampler: sampler)]) |
24 }.toTable | 24 }.toTable |
25 ) | 25 ) |
26 Mat2Type = MaterialType( | 26 Mat2Type = MaterialType( |
27 name: "single texture material 2", | 27 name: "single texture material 2", |
28 meshAttributes: { | 28 vertexAttributes: { |
29 "position": Vec3F32, | 29 "position": Vec3F32, |
30 "uv": Vec2F32, | 30 "uv": Vec2F32, |
31 }.toTable, | 31 }.toTable, |
32 attributes: {"baseTexture": TextureType}.toTable | 32 attributes: {"baseTexture": TextureType}.toTable |
33 ) | 33 ) |