Added number of blit calls submitted stat.

This commit is contained in:
Branimir Karadžić
2018-10-09 18:10:54 -07:00
parent 52a5ca839c
commit bafcf613ba
9 changed files with 9 additions and 1 deletions

View File

@@ -4401,6 +4401,7 @@ namespace bgfx { namespace d3d9
perfStats.gpuTimerFreq = result.m_frequency;
perfStats.numDraw = statsKeyType[0];
perfStats.numCompute = statsKeyType[1];
perfStats.numBlit = _render->m_numBlitItems;
perfStats.maxGpuLatency = maxGpuLatency;
bx::memCopy(perfStats.numPrims, statsNumPrimsRendered, sizeof(perfStats.numPrims) );
m_nvapi.getMemoryInfo(perfStats.gpuMemoryUsed, perfStats.gpuMemoryMax);