D3D11: Added GPU memory stats.

This commit is contained in:
Branimir Karadžić
2017-09-26 18:09:15 -07:00
parent fe00409e13
commit aa567d3d72
9 changed files with 182 additions and 20 deletions

View File

@@ -7631,6 +7631,8 @@ namespace bgfx { namespace gl
perfStats.numDraw = statsKeyType[0];
perfStats.numCompute = statsKeyType[1];
perfStats.maxGpuLatency = maxGpuLatency;
perfStats.gpuMemoryMax = -INT64_MAX;
perfStats.gpuMemoryUsed = -INT64_MAX;
if (_render->m_debug & (BGFX_DEBUG_IFH|BGFX_DEBUG_STATS) )
{