mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-28 23:38:49 +00:00
Vulkan: Simplify perf queries using vkGetQueryPoolResults
This commit is contained in:
parent
6d40ea8553
commit
604ab67c7f
3 changed files with 73 additions and 230 deletions
|
@ -304,7 +304,6 @@ void Renderer::PresentBackbuffer()
|
|||
{
|
||||
// End drawing to backbuffer
|
||||
StateTracker::GetInstance()->EndRenderPass();
|
||||
PerfQuery::GetInstance()->FlushQueries();
|
||||
|
||||
// Transition the backbuffer to PRESENT_SRC to ensure all commands drawing
|
||||
// to it have finished before present.
|
||||
|
@ -325,7 +324,6 @@ void Renderer::PresentBackbuffer()
|
|||
void Renderer::ExecuteCommandBuffer(bool submit_off_thread, bool wait_for_completion)
|
||||
{
|
||||
StateTracker::GetInstance()->EndRenderPass();
|
||||
PerfQuery::GetInstance()->FlushQueries();
|
||||
|
||||
g_command_buffer_mgr->SubmitCommandBuffer(submit_off_thread, wait_for_completion);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue