[vk] Introduce Ring Buffers for Uniform Buffer #2698

Merged
MaranBr merged 3 commits from buffercache into master 2025-10-10 19:24:21 +02:00
Owner

Create 3 ring buffers which rotates between buffers each frame to avoid GPU/CPU conflicts
BindMappedUniformBuffer first tries to allocate from the ring buffer and falls back to staging pool only if allocation is too large.
Note to testers:- please test the performance since it is primarily a performance optimization and also look for visual bugs.

Create 3 ring buffers which rotates between buffers each frame to avoid GPU/CPU conflicts BindMappedUniformBuffer first tries to allocate from the ring buffer and falls back to staging pool only if allocation is too large. Note to testers:- please test the performance since it is primarily a performance optimization and also look for visual bugs.
MaranBr force-pushed buffercache from 4f9f90d9b4
Some checks failed
eden-license / license-header (pull_request) Failing after 28s
to 8f11ce89e3
Some checks failed
eden-license / license-header (pull_request) Failing after 29s
2025-10-10 02:09:09 +02:00
Compare
Shinmegumi changed title from WIP: [vk] Introduce Ring Buffers for Uniform Buffer to [vk] Introduce Ring Buffers for Uniform Buffer 2025-10-10 02:22:35 +02:00
MaranBr force-pushed buffercache from 8f11ce89e3
Some checks failed
eden-license / license-header (pull_request) Failing after 29s
to 217e55a479
Some checks failed
eden-license / license-header (pull_request) Failing after 25s
2025-10-10 14:49:49 +02:00
Compare
Fix headers
All checks were successful
eden-license / license-header (pull_request) Successful in 28s
490479a028
MaranBr approved these changes 2025-10-10 17:25:51 +02:00
MaranBr scheduled this pull request to auto merge when all checks succeed 2025-10-10 17:25:59 +02:00
Lizzie approved these changes 2025-10-10 19:24:18 +02:00
MaranBr merged commit 776958c79d into master 2025-10-10 19:24:20 +02:00
MaranBr deleted branch buffercache 2025-10-10 19:24:21 +02:00
Sign in to join this conversation.
No description provided.