mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-02-20 19:54:19 +01:00
[dxvk] Add memory budget to memory stats
This commit is contained in:
parent
513312885e
commit
0c49e30882
@ -1665,6 +1665,7 @@ namespace dxvk {
|
||||
result.memoryUsed += type.stats.memoryUsed;
|
||||
}
|
||||
|
||||
result.memoryBudget = m_memHeaps[heap].memoryBudget;
|
||||
return result;
|
||||
}
|
||||
|
||||
|
@ -36,6 +36,7 @@ namespace dxvk {
|
||||
struct DxvkMemoryStats {
|
||||
VkDeviceSize memoryAllocated = 0;
|
||||
VkDeviceSize memoryUsed = 0;
|
||||
VkDeviceSize memoryBudget = 0;
|
||||
};
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user