mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 12:19:12 +00:00
Vulkan: Fix case where uniforms could be overwritten
If a draw caused a command buffer submission, the current uniform storage should not be used for the new command buffer.
This commit is contained in:
parent
4c11735bd5
commit
3adeacb78d
3 changed files with 19 additions and 13 deletions
|
@ -200,6 +200,7 @@ void ExecuteCurrentCommandsAndRestoreState(bool execute_off_thread, bool wait_fo
|
|||
StateTracker::GetInstance()->EndRenderPass();
|
||||
g_command_buffer_mgr->ExecuteCommandBuffer(execute_off_thread, wait_for_completion);
|
||||
StateTracker::GetInstance()->InvalidateDescriptorSets();
|
||||
StateTracker::GetInstance()->InvalidateConstants();
|
||||
StateTracker::GetInstance()->SetPendingRebind();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue