Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Vulkan: Optimizations for Mali with EFB2RAM on #8379
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 can improve the framerate by up to 30% in some cases.
I also noticed that the Adreno drivers place a coherent+cached heap before the coherent-only heap in the vulkan.gpuinfo.org reports, which the refactoring will handle. I've also set the "slow-cached-memory" bug for Adreno, if anyone has any high-end Adreno devices it'd be interesting to see if it makes any impact there as well.