changeset 939:f28db3c48d0c

did: adjust max LOD according to vk best practices output
author sam <sam@basx.dev>
date Fri, 29 Mar 2024 15:39:04 +0700
parents 5838b9ef52db
children 459066429a72
files semicongine/vulkan/image.nim
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/semicongine/vulkan/image.nim	Fri Mar 29 15:10:23 2024 +0700
+++ b/semicongine/vulkan/image.nim	Fri Mar 29 15:39:04 2024 +0700
@@ -225,7 +225,7 @@
     mipmapMode: VK_SAMPLER_MIPMAP_MODE_LINEAR,
     mipLodBias: 0,
     minLod: 0,
-    maxLod: 0,
+    maxLod: VK_LOD_CLAMP_NONE,
   )
   result.device = device
   checkVkResult device.vk.vkCreateSampler(addr samplerInfo, nil, addr result.vk)