# HG changeset patch # User sam # Date 1711701544 -25200 # Node ID 2a836a58d2313df662f6b03087a05bc9bb50cf5c # Parent 7524deee1e8cf2e649459142a7f1f2b7a24ff89e did: adjust max LOD according to vk best practices output diff -r 7524deee1e8c -r 2a836a58d231 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)