| 35 | } |
| 36 | |
| 37 | void WarnMissingFormatFeatures2(ProfileLayerSettings *layer_settings, const char *device_name, const std::string &format_name, |
| 38 | const std::string &features, VkFormatFeatureFlags2 profile_features, |
| 39 | VkFormatFeatureFlags2 device_features) { |
| 40 | if (!(layer_settings->log.debug_reports & DEBUG_REPORT_WARNING_BIT)) { |
| 41 | return; |
| 42 | } |
| 43 | |
| 44 | LogMessage(layer_settings, DEBUG_REPORT_WARNING_BIT, |
| 45 | "For %s `%s`,\nthe Profile requires:\n\\t\"%s\"\nbut the Device (%s) %s.\nThe " |
| 46 | "`%s` can't be simulated on this Device.\n", |
| 47 | format_name.c_str(), features.c_str(), GetFormatFeature2String(profile_features).c_str(), device_name, |
| 48 | format_device_support_string(device_features).c_str(), features.c_str()); |
| 49 | } |
| 50 | |
| 51 | |
| 52 |
nothing calls this directly
no test coverage detected