lsfg-vk/lsfg-vk-common
Anonymous 980fa68bec
feat(frame-pacing): integrate Generator into virtual swapchain
Integrate frame generation into the virtual swapchain's presentation thread.
The thread now copies virtual images to backend sources, schedules frame
generation, and presents generated frames before the original frame.

Key changes:
- Add Generator to MyVkSwapchain for frame generation
- Implement frame generation loop in thread_main()
- Add virtual_PresentGenerated() helper for generated frame presentation
- Add VK_KHR_swapchain to required device extensions

Bug fixes:
- Fix backend GPU selection on multi-GPU systems by passing the layer's
  active GPU name to the backend device picker. This ensures DMA-BUF
  memory sharing works correctly between layer and backend.
- Fix crash in CommandBuffer::submit() when waitSemaphores is empty by
  adding empty vector check before accessing .back()
- Add VK_KHR_present_wait2 compatibility shims for older Vulkan SDKs
2026-01-10 12:02:54 -08:00
..
include/lsfg-vk-common feat(frame-pacing): integrate Generator into virtual swapchain 2026-01-10 12:02:54 -08:00
src feat(frame-pacing): integrate Generator into virtual swapchain 2026-01-10 12:02:54 -08:00
thirdparty/include refactor(cleanup): make configuration a common objet 2025-12-25 04:32:22 +01:00
.clang-tidy chore: update clang-tidy warnings 2025-12-31 10:57:26 +01:00
CMakeLists.txt refactor(cleanup): custom cli (including benchmark) & fixup 2025-12-25 04:32:22 +01:00