MCPcopy Create free account
hub / github.com/KhronosGroup/Vulkan-Profiles / WarnMissingFormatFeatures2

Function WarnMissingFormatFeatures2

layer/profiles_settings.cpp:37–49  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

35}
36
37void 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

Callers

nothing calls this directly

Calls 2

LogMessageFunction · 0.85

Tested by

no test coverage detected