Commit 97f39b3c by Jamie Madill Committed by Commit Bot

Vulkan: Add missing command queue reset to flush.

This was causing a heavy performance regression in the Vulkan perf test. Local testing shows it recovers most of the performance gap with this fix. Bug: angleproject:2264 Bug: chromium:799372 Change-Id: Ia2bbf526b305e1b2e901d904574dbe5618e6e5ef Reviewed-on: https://chromium-review.googlesource.com/852365Reviewed-by: 's avatarFrank Henigman <fjhenigman@chromium.org> Commit-Queue: Jamie Madill <jmadill@chromium.org>
parent 4a66ef3d
...@@ -934,6 +934,7 @@ vk::Error RendererVk::flushCommandGraph(const gl::Context *context, vk::CommandB ...@@ -934,6 +934,7 @@ vk::Error RendererVk::flushCommandGraph(const gl::Context *context, vk::CommandB
} }
ANGLE_TRY(commandBatch->end()); ANGLE_TRY(commandBatch->end());
resetCommandGraph();
return vk::NoError(); return vk::NoError();
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment