comparison tests/test_vulkan_wrapper.nim @ 845:19b5051d6eb7

fix: cleanup when multiple textures use same vulkan image
author Sam <sam@basx.dev>
date Sun, 03 Dec 2023 00:05:38 +0700
parents 0d46e6638bd6
children 91e018270832
comparison
equal deleted inserted replaced
844:094342d38c69 845:19b5051d6eb7
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 )