Mercurial > games > semicongine
changeset 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 | e3ef8ebdda46 |
files | semicongine/engine.nim semicongine/vulkan/image.nim |
diffstat | 2 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/semicongine/engine.nim Fri Mar 29 15:39:04 2024 +0700 +++ b/semicongine/engine.nim Fri Mar 29 15:44:17 2024 +0700 @@ -89,7 +89,7 @@ instanceExtensions.add "VK_EXT_debug_utils" layers.add "VK_LAYER_KHRONOS_validation" # putEnv("VK_LAYER_ENABLES", "VK_VALIDATION_FEATURE_ENABLE_BEST_PRACTICES_EXT") - putEnv("VK_LAYER_ENABLES", "VALIDATION_CHECK_ENABLE_VENDOR_SPECIFIC_ALL,VK_VALIDATION_FEATURE_ENABLE_BEST_PRACTICES_EXT,VK_VALIDATION_FEATURE_ENABLE_SYNCHRONIZATION_VALIDATION_EXTVK_VALIDATION_FEATURE_ENABLE_GPU_ASSISTED_EXT") + putEnv("VK_LAYER_ENABLES", "VALIDATION_CHECK_ENABLE_VENDOR_SPECIFIC_AMD,VALIDATION_CHECK_ENABLE_VENDOR_SPECIFIC_NVIDIA,VK_VALIDATION_FEATURE_ENABLE_SYNCHRONIZATION_VALIDATION_EXTVK_VALIDATION_FEATURE_ENABLE_GPU_ASSISTED_EXT,VK_VALIDATION_FEATURE_ENABLE_SYNCHRONIZATION_VALIDATION_EXT") if defined(linux) and DEBUG: layers.add "VK_LAYER_MESA_overlay"
--- 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)