@@ -223,7 +223,6 @@ const char *VK_LAYER_GPUAV_DEBUG_PRINT_INSTRUMENTATION_INFO = "gpuav_debug_print
223223const char *VK_LAYER_SYNCVAL_SUBMIT_TIME_VALIDATION = " syncval_submit_time_validation" ;
224224const char *VK_LAYER_SYNCVAL_SHADER_ACCESSES_HEURISTIC = " syncval_shader_accesses_heuristic" ;
225225const char *VK_LAYER_SYNCVAL_MESSAGE_EXTRA_PROPERTIES = " syncval_message_extra_properties" ;
226- const char *VK_LAYER_SYNCVAL_MESSAGE_EXTRA_PROPERTIES_PRETTY_PRINT = " syncval_message_extra_properties_pretty_print" ;
227226
228227// Message Formatting
229228// ---
@@ -632,8 +631,6 @@ static void ValidateLayerSettingsProvided(const VkLayerSettingsCreateInfoEXT *la
632631 required_type = VK_LAYER_SETTING_TYPE_BOOL32_EXT;
633632 } else if (strcmp (VK_LAYER_SYNCVAL_MESSAGE_EXTRA_PROPERTIES, setting.pSettingName ) == 0 ) {
634633 required_type = VK_LAYER_SETTING_TYPE_BOOL32_EXT;
635- } else if (strcmp (VK_LAYER_SYNCVAL_MESSAGE_EXTRA_PROPERTIES_PRETTY_PRINT, setting.pSettingName ) == 0 ) {
636- required_type = VK_LAYER_SETTING_TYPE_BOOL32_EXT;
637634 } else if (strcmp (VK_LAYER_MESSAGE_FORMAT_JSON, setting.pSettingName ) == 0 ) {
638635 required_type = VK_LAYER_SETTING_TYPE_BOOL32_EXT;
639636 } else if (strcmp (VK_LAYER_MESSAGE_FORMAT_DISPLAY_APPLICATION_NAME, setting.pSettingName ) == 0 ) {
@@ -1226,9 +1223,11 @@ void ProcessConfigAndEnvSettings(ConfigAndEnvSettings *settings_data) {
12261223 syncval_settings.message_extra_properties );
12271224 }
12281225
1229- if (vkuHasLayerSetting (layer_setting_set, VK_LAYER_SYNCVAL_MESSAGE_EXTRA_PROPERTIES_PRETTY_PRINT)) {
1230- vkuGetLayerSettingValue (layer_setting_set, VK_LAYER_SYNCVAL_MESSAGE_EXTRA_PROPERTIES_PRETTY_PRINT,
1231- syncval_settings.message_extra_properties_pretty_print );
1226+ const char *REMOVED_VK_LAYER_SYNCVAL_MESSAGE_EXTRA_PROPERTIES_PRETTY_PRINT = " syncval_message_extra_properties_pretty_print" ;
1227+ if (vkuHasLayerSetting (layer_setting_set, REMOVED_VK_LAYER_SYNCVAL_MESSAGE_EXTRA_PROPERTIES_PRETTY_PRINT)) {
1228+ setting_warnings.emplace_back (std::string (REMOVED_VK_LAYER_SYNCVAL_MESSAGE_EXTRA_PROPERTIES_PRETTY_PRINT) +
1229+ " was removed. The main purpose of the extra properties section is to filter syncval error "
1230+ " messages. The priority is to have a fixed and easy-to-parse layout." );
12321231 }
12331232
12341233 const auto *validation_features_ext = vku::FindStructInPNextChain<VkValidationFeaturesEXT>(settings_data->create_info );
0 commit comments