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

@@ -7423,6 +7423,7 @@ BX_TRACE("%d, %d, %d, %s", _array, _srgb, _mipAutogen, getName(_format) );
perfStats.gpuTimerFreq = 1000000000;
perfStats.numDraw = statsKeyType[0];
perfStats.numCompute = statsKeyType[1];
perfStats.numBlit = _render->m_numBlitItems;
perfStats.maxGpuLatency = maxGpuLatency;
bx::memCopy(perfStats.numPrims, statsNumPrimsRendered, sizeof(perfStats.numPrims) );
perfStats.gpuMemoryMax = -INT64_MAX;