[VK] Fix Vulkan Presentation Semaphores and Query Cache Memory Leak #130

Closed
Shinmegumi wants to merge 0 commits from vk-fixes-elementary into master
Owner

Fixes provided by elementary-particle.

fix-queue-cache-leak-on-missed-sync.patch

Fixed issues:
The queue cache forgot to put the host query into unregister queue if they weren't synced.

This will block all the banks from freeing causing a major leak.

SamplesQueryCounter is not aligned with renderpass begin/end. This creates invalid queries.

Conditional rendering is not turned on/off at the correct location making them invalid.

fix-vulkan-presentation-semaphores.patch

The presentation signal semaphores should be associated with swapchain images since they can be acquired out of order.

Fixes provided by elementary-particle. **fix-queue-cache-leak-on-missed-sync.patch** Fixed issues: The queue cache forgot to put the host query into unregister queue if they weren't synced. This will block all the banks from freeing causing a major leak. SamplesQueryCounter is not aligned with renderpass begin/end. This creates invalid queries. Conditional rendering is not turned on/off at the correct location making them invalid. **fix-vulkan-presentation-semaphores.patch** The presentation signal semaphores should be associated with swapchain images since they can be acquired out of order.
Shinmegumi closed this pull request 2025-07-25 15:36:23 +02:00
godpow referenced this pull request from a commit 2025-10-28 04:51:28 +01:00
Some checks failed
eden-build / windows (msvc) (push) Waiting to run
eden-build / linux (push) Waiting to run
eden-build / android (push) Waiting to run
eden-build / source (push) Successful in 4m8s
eden-license / license-header (pull_request) Failing after 28s
Required
Details

Pull request closed

Sign in to join this conversation.
No description provided.