diff semicongine/vulkan/image.nim @ 940:459066429a72

fix: last commit was actually only relevant for ARM, also adjust validation outputs
author sam <sam@basx.dev>
date Fri, 29 Mar 2024 15:44:17 +0700
parents f28db3c48d0c
children 925197a1ec95
line wrap: on
line diff
--- a/semicongine/vulkan/image.nim	Fri Mar 29 15:39:04 2024 +0700
+++ b/semicongine/vulkan/image.nim	Fri Mar 29 15:44:17 2024 +0700
@@ -225,7 +225,7 @@
     mipmapMode: VK_SAMPLER_MIPMAP_MODE_LINEAR,
     mipLodBias: 0,
     minLod: 0,
-    maxLod: VK_LOD_CLAMP_NONE,
+    maxLod: 0,
   )
   result.device = device
   checkVkResult device.vk.vkCreateSampler(addr samplerInfo, nil, addr result.vk)