mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 22:29:39 -06:00
Vulkan: Allow re-use of uniform buffers when doing per-stage uploads
This is safe now because we invalidate the pointers after submitting a command buffer.
This commit is contained in:
@ -174,6 +174,11 @@ private:
|
||||
|
||||
bool UpdatePipeline();
|
||||
bool UpdateDescriptorSet();
|
||||
|
||||
// Allocates storage in the uniform buffer of the specified size. If this storage cannot be
|
||||
// allocated immediately, the current command buffer will be submitted and all stage's
|
||||
// constants will be re-uploaded. false will be returned in this case, otherwise true.
|
||||
bool ReserveConstantStorage();
|
||||
void UploadAllConstants();
|
||||
|
||||
// Which bindings/state has to be updated before the next draw.
|
||||
|
Reference in New Issue
Block a user