mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-28 11:49:06 +00:00
Vulkan: Replace explicit command buffer submits with wrapper function
Should we ever introduce anything else that has to be done when a command buffer is executed (e.g. invalidating constants from previous commit), we don't have to update all the callers.
This commit is contained in:
parent
3adeacb78d
commit
6a4eba1153
5 changed files with 11 additions and 25 deletions
|
@ -326,6 +326,7 @@ void Renderer::BeginFrame()
|
|||
// Ensure that the state tracker rebinds everything, and allocates a new set
|
||||
// of descriptors out of the next pool.
|
||||
StateTracker::GetInstance()->InvalidateDescriptorSets();
|
||||
StateTracker::GetInstance()->InvalidateConstants();
|
||||
StateTracker::GetInstance()->SetPendingRebind();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue