mirror of
https://github.com/Takiiiiiiii/strato.git
synced 2025-07-17 08:46:39 +00:00
Print GPU Quirks At Startup
It is essential to know what quirks a certain GPU may have to debug an issue, these are now printed at startup into the log alongside all other GPU information. A new `QuirkManager::Summary` function was implemented to provide this functionality.
This commit is contained in:
@ -30,4 +30,8 @@ namespace skyline {
|
||||
|
||||
supportsLogicOp = features2.features.logicOp;
|
||||
}
|
||||
|
||||
std::string QuirkManager::Summary() {
|
||||
return fmt::format("\n* Supports Last Provoking Vertex: {}\n* Supports Logical Operations: {}", supportsLastProvokingVertex, supportsLogicOp);
|
||||
}
|
||||
}
|
||||
|
@ -18,5 +18,10 @@ namespace skyline {
|
||||
QuirkManager() = default;
|
||||
|
||||
QuirkManager(vk::PhysicalDeviceProperties properties, vk::PhysicalDeviceFeatures2 features, const std::vector<vk::ExtensionProperties>& extensions);
|
||||
|
||||
/**
|
||||
* @return A summary of all the GPU quirks as a human-readable string
|
||||
*/
|
||||
std::string Summary();
|
||||
};
|
||||
}
|
||||
|
Reference in New Issue
Block a user