Add a new stat, so we can see per game if the optimization has an effect

This commit is contained in:
Henrik Rydgård committed 2023-10-03 11:01:37 +02:00
1 parent 1c49d5718c
commit e63bb0459c
6 files changed
+8 -1

No files matched your search

+1
View File
@@ -475,6 +475,7 @@ void DrawEngineGLES::DoFlush() {
bail:
gpuStats.numFlushes++;
gpuStats.numDrawCalls += numDrawInds_;
gpuStats.numVertexDecodes += numDrawVerts_;
gpuStats.numVertsSubmitted += vertexCountInDrawCalls_;
// TODO: When the next flush has the same vertex format, we can continue with the same offset in the vertex buffer,