mirror of
https://github.com/Takiiiiiiii/strato.git
synced 2025-07-17 08:46:39 +00:00
Disable unnecessary Khronos Validation Layer logs
The Khronos Validation Layer can often generate warning/error logs due to our intentional breakage from Vulkan specification, these can occur several times a frame resulting in the logs being spammed and making it difficult to extract useful information out of logs. The scope of these logs has now been reduced with more general filtering and the introduction of specialized filtering to handle complex cases such as BCn hacks with `libadrenotools` on Adreno devices.
This commit is contained in:
@ -210,6 +210,8 @@ namespace skyline::gpu {
|
||||
Logger::Info("Applied BCeNabler patch");
|
||||
else
|
||||
throw exception("Failed to apply BCeNabler patch!");
|
||||
|
||||
hasPatchedBcn = true;
|
||||
} else if (type == ADRENOTOOLS_BCN_BLOB) {
|
||||
Logger::Info("BCeNabler skipped, blob BCN support is present");
|
||||
}
|
||||
|
@ -40,6 +40,8 @@ namespace skyline::gpu {
|
||||
bool supportsSubgroupVote{}; //!< If subgroup votes are supported in shaders with SPV_KHR_subgroup_vote
|
||||
u32 subgroupSize{}; //!< Size of a subgroup on the host GPU
|
||||
|
||||
bool hasPatchedBcn{}; //!< If the device has been patched to support BCN and may not report texture support correctly
|
||||
|
||||
/**
|
||||
* @brief Manages a list of any vendor/device-specific errata in the host GPU
|
||||
*/
|
||||
|
Reference in New Issue
Block a user