MCPcopy Create free account
hub / github.com/LunarG/VulkanTools / FormatNvidia

Function FormatNvidia

vkconfig_core/util.cpp:60–63  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

58}
59
60std::string FormatNvidia(uint32_t driverVersion) {
61 return format("%d.%d.%d.%d", (driverVersion >> 22) & 0x3ff, (driverVersion >> 14) & 0x0ff, (driverVersion >> 6) & 0x0ff,
62 driverVersion & 0x003f);
63}
64
65std::string FormatIntelWindows(uint32_t driverVersion) { return format("%d.%d", (driverVersion >> 14), (driverVersion) & 0x3fff); }
66

Callers 2

GetVersionMethod · 0.85
LogMethod · 0.85

Calls 1

formatFunction · 0.70

Tested by

no test coverage detected