mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-26 19:58:36 +01:00
Debug visualization for the Vulkan memory allocator. Shows some interesting behaviour.
This commit is contained in:
1 parent
2ae2dd7d40
commit
c60c8ed68a
18 files changed
+168
-15
No files matched your search
@@ -845,7 +845,7 @@ bool TextureCacheVulkan::GetCurrentTextureDebug(GPUDebugBuffer &buffer, int leve
|
||||
|
||||
void TextureCacheVulkan::GetStats(char *ptr, size_t size) {
|
||||
snprintf(ptr, size, "Alloc: %d slabs\nSlab min/max: %d/%d\nAlloc usage: %d%%",
|
||||
allocator_->GetBlockCount(), allocator_->GetMinSlabSize(), allocator_->GetMaxSlabSize(), allocator_->ComputeUsagePercent());
|
||||
allocator_->GetSlabCount(), allocator_->GetMinSlabSize(), allocator_->GetMaxSlabSize(), allocator_->ComputeUsagePercent());
|
||||
}
|
||||
|
||||
std::vector<std::string> TextureCacheVulkan::DebugGetSamplerIDs() const {
|
||||
|
||||
Reference in new issue
Block a user