Permalink
Browse files

Merge pull request #7523 from stenzek/vulkan-draw-calls

Vulkan: Add missing increment of draw call count
  • Loading branch information...
delroth committed Oct 28, 2018
2 parents 756a2fe + 7c4607a commit 48862850ca1deb5a5053b0931f7eeaf14b46e2bc
Showing with 1 addition and 0 deletions.
  1. +1 −0 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();

0 comments on commit 4886285

Please sign in to comment.