diff --git a/src/dxvk/dxvk_memory.cpp b/src/dxvk/dxvk_memory.cpp index e6733bb00..5fee82953 100644 --- a/src/dxvk/dxvk_memory.cpp +++ b/src/dxvk/dxvk_memory.cpp @@ -1603,6 +1603,7 @@ namespace dxvk { chunkStats.pageMaskOffset = stats.pageMasks.size(); chunkStats.pageCount = pool.pageAllocator.pageCount(i); chunkStats.mapped = &pool == &type.mappedPool; + chunkStats.active = pool.pageAllocator.chunkIsAvailable(i); size_t maskCount = (chunkStats.pageCount + 31u) / 32u; stats.pageMasks.resize(chunkStats.pageMaskOffset + maskCount); diff --git a/src/dxvk/dxvk_memory.h b/src/dxvk/dxvk_memory.h index 9e7c9dfe9..157528de0 100644 --- a/src/dxvk/dxvk_memory.h +++ b/src/dxvk/dxvk_memory.h @@ -196,6 +196,8 @@ namespace dxvk { uint16_t pageCount = 0u; /// Whether this chunk is mapped bool mapped = false; + /// Whether this chunk is active + bool active = false; };