Skip to content

Commit

Permalink
Merge pull request #7523 from stenzek/vulkan-draw-calls
Browse files Browse the repository at this point in the history
Vulkan: Add missing increment of draw call count
  • Loading branch information
delroth committed Oct 28, 2018
2 parents 756a2fe + 7c4607a commit 4886285
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Source/Core/VideoBackends/Vulkan/VertexManager.cpp
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -178,6 +178,7 @@ void VertexManager::vFlush()
// Execute the draw // Execute the draw
vkCmdDrawIndexed(g_command_buffer_mgr->GetCurrentCommandBuffer(), index_count, 1, vkCmdDrawIndexed(g_command_buffer_mgr->GetCurrentCommandBuffer(), index_count, 1,
m_current_draw_base_index, m_current_draw_base_vertex, 0); m_current_draw_base_index, m_current_draw_base_vertex, 0);
INCSTAT(stats.thisFrame.numDrawCalls);
} }


StateTracker::GetInstance()->OnDraw(); StateTracker::GetInstance()->OnDraw();
Expand Down

0 comments on commit 4886285

Please sign in to comment.