Vulkan: Add a DriverDetails bug for "slow cached readback memory"

Using the cached memory type appears to be slower on Mali drivers, with
~10-15% CPU spent in the __pi___inval_cache_range kernel function.
This commit is contained in:
Stenzek
2019-10-02 21:32:44 +10:00
parent c557aa4a15
commit 328d89db70
3 changed files with 20 additions and 1 deletions

View File

@ -281,6 +281,11 @@ enum Bug
// The Vulkan spec allows the minDepth/maxDepth fields in the viewport to be reversed,
// however the implementation is broken on some drivers.
BUG_BROKEN_REVERSED_DEPTH_RANGE,
// BUG: Cached memory is significantly slower for readbacks than coherent memory in the
// Mali Vulkan driver, causing high CPU usage in the __pi___inval_cache_range kernel
// function. This flag causes readback buffers to select the coherent type.
BUG_SLOW_CACHED_READBACK_MEMORY,
};
// Initializes our internal vendor, device family, and driver version