mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 20:28:56 +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
|
@ -76,6 +76,9 @@ public:
|
|||
// now be in a different pool for the new command buffer.
|
||||
void InvalidateDescriptorSets();
|
||||
|
||||
// Same with the uniforms, as the current storage will belong to the previous command buffer.
|
||||
void InvalidateConstants();
|
||||
|
||||
// Set dirty flags on everything to force re-bind at next draw time.
|
||||
void SetPendingRebind();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue