Vulkan-Loader
Vulkan-Loader copied to clipboard
Fix `VK_INSTANCE_LAYERS` interaction with `vk_loader_settings.json`
Describe the bug
Here is a case we encountered with @artem-lunarg: When running a Vulkan application and enabling(trying) the validation layer with VK_INSTANCE_LAYERS and a vk_loader_settings.json that only include the drivers section (generated by Vulkan Configurator), the validation layer is not enabled.
VK_INSTANCE_LAYERS should be ignored only is the layers section is written to vk_loader_settings.json
Environment (please complete the following information):
- OS: Reproduced on Windows
- Bitdepth: 64-bit
- October 2025 SDK
- Enabled layers: Validation layer