diff --git a/vkconfig_core/configuration.cpp b/vkconfig_core/configuration.cpp index 83804f2876..fd085aff39 100644 --- a/vkconfig_core/configuration.cpp +++ b/vkconfig_core/configuration.cpp @@ -41,7 +41,7 @@ #include #include -static void AddApplicationEnabledParameters(std::vector& parameters) { +static void AddApplicationEnabledParameters(std::vector& parameters, LayerControl default_control) { bool found_applications_api = false; for (auto paramater : parameters) { if (paramater.builtin != LAYER_BUILTIN_API) { @@ -495,7 +495,7 @@ void Configuration::GatherParameters(const LayerManager& layers) { gathered_parameters.push_back(parameter); } - ::AddApplicationEnabledParameters(gathered_parameters); + ::AddApplicationEnabledParameters(gathered_parameters, this->default_control); ::OrderParameter(gathered_parameters, layers); diff --git a/vkconfig_core/configurations/3.0.0/Disable All Vulkan Layers.json b/vkconfig_core/configurations/3.0.0/Disable All Vulkan Layers.json index 125e75fce5..9b8b37a058 100644 --- a/vkconfig_core/configurations/3.0.0/Disable All Vulkan Layers.json +++ b/vkconfig_core/configurations/3.0.0/Disable All Vulkan Layers.json @@ -20,32 +20,6 @@ "perf", "layer", "driver" - ], - "layers": [ - { - "builtin": "unordered_layer_location", - "platforms": [ - "WINDOWS", - "LINUX", - "MACOS" - ], - "rank": -1, - "settings": [ - ], - "version": "latest" - }, - { - "builtin": "application_enabled_layers", - "platforms": [ - "WINDOWS", - "LINUX", - "MACOS" - ], - "rank": -1, - "settings": [ - ], - "version": "latest" - } ] } }