lsfg-vk/lsfg-vk-layer
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
..
src feat(frame-pacing): integrate Generator into virtual swapchain 2026-01-10 12:02:54 -08:00
.clang-tidy feat(frame-pacing): implement basic virtual swapchain 2026-01-09 15:58:54 +01:00
CMakeLists.txt feat(frame-pacing): separate instance & swapchain into several objects 2026-01-09 15:58:54 +01:00
VkLayer_LSFGVK_frame_generation.json.in refactor(cleanup): add installation logic to buildscript 2025-12-25 04:32:22 +01:00