upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/runtime/test/vk_queue_query_sync_test.cpp
diff options
context:
space:
mode:
authorbobcatchris <83428450+bobcatchris@users.noreply.github.com>2026-11-22 06:32:44 -0600
committerbobcatchris <83428450+bobcatchris@users.noreply.github.com>2026-11-22 06:32:44 -0600
commitc94ca414114f9a8398da81a7ac15e0254479c87a (patch)
tree4c366fe0a045ffd195b85abe24dc32d08fd357b7 /runtime/test/vk_queue_query_sync_test.cpp
parent99f99890c5ebe186ef2f9fe8ff6d675745d9e621 (diff)
dxgi: answer swapchain GetDevice and GetFullscreenDesc
The swapchain kept the factory but discarded the device passed to CreateSwapChainForHwnd, so both IDXGIDeviceSubObject::GetDevice and IDXGISwapChain1::GetFullscreenDesc returned E_NOTIMPL. Hold that device (as native DXGI does), return it through QueryInterface, and describe the windowed swapchain with a zeroed fullscreen description and Windowed = TRUE. The swapchain test now checks both. Verified on Windows 11 with an RX 7900 XTX: dxgi_swapchain passed with and without LEONIDA_VK_VALIDATION=1. No game files. 🤖 Generated with Codebuff Co-Authored-By: Codebuff <noreply@codebuff.com>
Diffstat (limited to 'runtime/test/vk_queue_query_sync_test.cpp')
0 files changed, 0 insertions, 0 deletions