Skip to content

Commit

Permalink
settings: Make warnings on by default
Browse files Browse the repository at this point in the history
  • Loading branch information
spencer-lunarg committed Feb 21, 2025
1 parent e3f493c commit deecd41
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion layers/VkLayer_khronos_validation.json.in
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@
{ "key": "printf_enable", "value": false },
{ "key": "gpuav_enable", "value": false },
{ "key": "validate_best_practices", "value": false },
{ "key": "report_flags", "value": [ "error" ] },
{ "key": "report_flags", "value": [ "error", "warn" ] },
{ "key": "debug_action", "value": [ "VK_DBG_LAYER_ACTION_LOG_MSG" ] },
{ "key": "enable_message_limit", "value": true }
]
Expand Down
2 changes: 1 addition & 1 deletion layers/layer_options.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -818,7 +818,7 @@ static void ProcessDebugReportSettings(ConfigAndEnvSettings *settings_data, VkuL
}
}

std::vector<std::string> report_flags_list = {"error"}; // Default
std::vector<std::string> report_flags_list = {"error", "warn"}; // Default
if (vkuHasLayerSetting(layer_setting_set, VK_LAYER_REPORT_FLAGS)) {
vkuGetLayerSettingValues(layer_setting_set, VK_LAYER_REPORT_FLAGS, report_flags_list);
}
Expand Down

0 comments on commit deecd41

Please sign in to comment.