Increment numFlushes near the other stat increments

Might be better for the cache, heh.
This commit is contained in:
Henrik Rydgård committed 2023-01-04 17:10:56 +01:00
1 parent d49b39e422
commit 85e6b4e592
4 files changed
+4 -8

No files matched your search

+1 -2
View File
@@ -562,8 +562,6 @@ void DrawEngineVulkan::DoFlush() {
PROFILE_THIS_SCOPE("Flush");
FrameData &frameData = GetCurFrame();
gpuStats.numFlushes++;
bool tess = gstate_c.submitType == SubmitType::HW_BEZIER || gstate_c.submitType == SubmitType::HW_SPLINE;
bool textureNeedsApply = false;
@@ -981,6 +979,7 @@ void DrawEngineVulkan::DoFlush() {
decOptions_.applySkinInDecode = g_Config.bSoftwareSkinning;
}
gpuStats.numFlushes++;
gpuStats.numDrawCalls += numDrawCalls;
gpuStats.numVertsSubmitted += vertexCountInDrawCalls_;