# HG changeset patch # User sam # Date 1711701544 -25200 # Node ID f28db3c48d0c2221fda34674e3175f3cba512310 # Parent 5838b9ef52db7ada73237c36c282b66f07554360 did: adjust max LOD according to vk best practices output diff -r 5838b9ef52db -r f28db3c48d0c semicongine/vulkan/image.nim --- 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)