[vk] Unify RAII in Vulkan #2679

Merged
MaranBr merged 2 commits from Ribbit/ribbitvulkanadditions:raiichanges into master 2025-10-08 04:01:25 +02:00
Contributor

This PR consolidates Vulkan RAII on video_core/vulkan_common/vulkan_wrapper.h’s vk::Handle and remove the unused duplicate src/video_core/vulkan_common/vulkan_raii.h, reducing confusion and maintenance. Swapchain now uses RAII‑managed per‑image semaphores and clears them in Destroy(), providing correct present synchronization and automatic cleanup. Expected result: simpler lifetimes, fewer leak risks, and more stable presentation with negligible overhead.

This PR consolidates Vulkan RAII on video_core/vulkan_common/vulkan_wrapper.h’s vk::Handle and remove the unused duplicate src/video_core/vulkan_common/vulkan_raii.h, reducing confusion and maintenance. Swapchain now uses RAII‑managed per‑image semaphores and clears them in Destroy(), providing correct present synchronization and automatic cleanup. Expected result: simpler lifetimes, fewer leak risks, and more stable presentation with negligible overhead.
Ribbit added 1 commit 2025-10-06 02:35:06 +02:00
[vk] Unify RAII in Vulkan
Some checks failed
eden-license / license-header (pull_request) Failing after 22s
4916d70d7b
Ribbit added 1 commit 2025-10-06 05:07:32 +02:00
[vk] Descriptor pools: per-set free + RAII release; add ResourcePool::Drain
Some checks failed
eden-license / license-header (pull_request) Failing after 23s
8200e397ef
Ribbit force-pushed raiichanges from 8200e397ef to a0380aa756 2025-10-06 05:07:55 +02:00 Compare
Ribbit added 4 commits 2025-10-06 05:23:33 +02:00
[vk] Unify RAII in Vulkan
Some checks failed
eden-license / license-header (pull_request) Failing after 22s
4916d70d7b
[vk] Descriptor pools: per-set free + RAII release; add ResourcePool::Drain
Some checks failed
eden-license / license-header (pull_request) Failing after 23s
8200e397ef
This reverts commit 8200e397ef.
Merge branch 'raiichanges' of https://git.eden-emu.dev/Ribbit/ribbitvulkanadditions into raiichanges
Some checks failed
eden-license / license-header (pull_request) Failing after 23s
52cbf4507b
Ribbit force-pushed raiichanges from 52cbf4507b to 2700929161 2025-10-06 05:30:09 +02:00 Compare
Author
Contributor

Back to the workshop this PR goes.

Back to the workshop this PR goes.
Ribbit force-pushed raiichanges from 2700929161 to c404d3e0bd 2025-10-07 02:44:18 +02:00 Compare
MaranBr changed title from WIP: [vk] Unify RAII in Vulkan to [vk] Unify RAII in Vulkan 2025-10-07 02:45:33 +02:00
requested reviews from Maufeat, crueter, MrPurple666, MaranBr, Lizzie, CamilleLaVey 2025-10-07 02:45:33 +02:00
CamilleLaVey approved these changes 2025-10-07 15:40:57 +02:00
Dismissed
MaranBr approved these changes 2025-10-07 16:13:53 +02:00
Dismissed
Author
Contributor

I'm going to do a sanity check since I butchered this PR with accidental commits. Once confirmed okay I'll adjust the headers.

I'm going to do a sanity check since I butchered this PR with accidental commits. Once confirmed okay I'll adjust the headers.
Ribbit force-pushed raiichanges from c404d3e0bd to c316ebbc80 2025-10-08 03:49:48 +02:00 Compare
Ribbit dismissed CamilleLaVey's review 2025-10-08 03:49:49 +02:00
Reason:

New commits pushed, approval review dismissed automatically according to repository settings

Ribbit dismissed MaranBr's review 2025-10-08 03:49:49 +02:00
Reason:

New commits pushed, approval review dismissed automatically according to repository settings

CamilleLaVey approved these changes 2025-10-08 03:51:25 +02:00
MaranBr scheduled this pull request to auto merge when all checks succeed 2025-10-08 04:01:12 +02:00
MaranBr approved these changes 2025-10-08 04:01:22 +02:00
MaranBr merged commit db65f10768 into master 2025-10-08 04:01:25 +02:00
MaranBr referenced this pull request from a commit 2025-10-08 04:01:26 +02:00
Sign in to join this conversation.
No description provided.