From 7c4607a05a3642154acc418a49a002ae67b2c95f Mon Sep 17 00:00:00 2001 From: Stenzek Date: Sun, 28 Oct 2018 11:32:26 +1000 Subject: [PATCH] Vulkan: Add missing increment of draw call count --- Source/Core/VideoBackends/Vulkan/VertexManager.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Source/Core/VideoBackends/Vulkan/VertexManager.cpp b/Source/Core/VideoBackends/Vulkan/VertexManager.cpp index ea9b27351b..d6059a0062 100644 --- a/Source/Core/VideoBackends/Vulkan/VertexManager.cpp +++ b/Source/Core/VideoBackends/Vulkan/VertexManager.cpp @@ -178,6 +178,7 @@ void VertexManager::vFlush() // Execute the draw vkCmdDrawIndexed(g_command_buffer_mgr->GetCurrentCommandBuffer(), index_count, 1, m_current_draw_base_index, m_current_draw_base_vertex, 0); + INCSTAT(stats.thisFrame.numDrawCalls); } StateTracker::GetInstance()->OnDraw();