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

Function format_device_support_string

layer/profiles_util.cpp:92–95  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

90}
91
92std::string format_device_support_string(VkFormatFeatureFlags format_features) {
93 if (format_features == 0) return std::string("does not support it");
94 return ::format("only supports:\n\t\" % s\"", GetFormatFeatureString(format_features).c_str());
95}
96
97std::string format_device_support_string(VkFormatFeatureFlags2 format_features) {
98 if (format_features == 0) return std::string("does not support it");

Callers 2

Calls 1

formatFunction · 0.70

Tested by

no test coverage detected