[D3D12] mb_used -> used_mb in the profiler
This commit is contained in:
parent
d0c8725270
commit
6db0ad663b
|
@ -155,7 +155,7 @@ void SharedMemory::Shutdown() {
|
|||
ui::d3d12::util::ReleaseAndNull(heaps_[i]);
|
||||
}
|
||||
heap_count_ = 0;
|
||||
COUNT_profile_set("gpu/shared_memory/mb_used", 0);
|
||||
COUNT_profile_set("gpu/shared_memory/used_mb", 0);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -310,7 +310,7 @@ bool SharedMemory::MakeTilesResident(uint32_t start, uint32_t length) {
|
|||
return false;
|
||||
}
|
||||
++heap_count_;
|
||||
COUNT_profile_set("gpu/shared_memory/mb_used",
|
||||
COUNT_profile_set("gpu/shared_memory/used_mb",
|
||||
heap_count_ << kHeapSizeLog2 >> 20);
|
||||
D3D12_TILED_RESOURCE_COORDINATE region_start_coordinates;
|
||||
region_start_coordinates.X =
|
||||
|
|
|
@ -685,7 +685,7 @@ void TextureCache::Shutdown() {
|
|||
ui::d3d12::util::ReleaseAndNull(scaled_resolve_heaps_[i]);
|
||||
}
|
||||
scaled_resolve_heap_count_ = 0;
|
||||
COUNT_profile_set("gpu/texture_cache/scaled_resolve_buffer_mb_used", 0);
|
||||
COUNT_profile_set("gpu/texture_cache/scaled_resolve_buffer_used_mb", 0);
|
||||
}
|
||||
|
||||
void TextureCache::ClearCache() {
|
||||
|
@ -1455,7 +1455,7 @@ bool TextureCache::EnsureScaledResolveBufferResident(uint32_t start_unscaled,
|
|||
}
|
||||
++scaled_resolve_heap_count_;
|
||||
COUNT_profile_set(
|
||||
"gpu/texture_cache/scaled_resolve_buffer_mb_used",
|
||||
"gpu/texture_cache/scaled_resolve_buffer_used_mb",
|
||||
scaled_resolve_heap_count_ << (kScaledResolveHeapSizeLog2 - 20));
|
||||
D3D12_TILED_RESOURCE_COORDINATE region_start_coordinates;
|
||||
region_start_coordinates.X = (i << kScaledResolveHeapSizeLog2) /
|
||||
|
|
Loading…
Reference in New Issue