upleb.uk

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

summaryrefslogtreecommitdiff
path: root/runtime/src/pe_loader.cpp
diff options
context:
space:
mode:
authorhaayden <58538499+haayden@users.noreply.github.com>2026-11-23 15:47:27 -0600
committerhaayden <58538499+haayden@users.noreply.github.com>2026-11-23 15:47:27 -0600
commitdbadb08b1509f47fd89b6f56628210d9693547a1 (patch)
treecdfd5b016c4b7e002e7083deebc6bcbc375bc5c0 /runtime/src/pe_loader.cpp
parent5d74c272363f2703265d44e6aaab1a1df8ddfaf3 (diff)
dxgi: the adapter answers IDXGIAdapter4; GetRestrictToOutput, ResizeBuffers flags and null out-pointers answer as the host does
Measured against the host runtime's DXGI on an RTX 5070 Ti and on WARP (Windows 11), both agreeing: - The adapter answers IDXGIAdapter4. GetDesc3 gives what GetDesc1 gives, plus the preemption granularities; a null description is E_INVALIDARG. - GetRestrictToOutput on a swap chain created without an output is S_OK with a null output, not DXGI_ERROR_NOT_FOUND. - ResizeBuffers refuses NONPREROTATED, FULLSCREEN_VIDEO and every bit from 0x4000 up with DXGI_ERROR_INVALID_CALL, and FOREGROUND_LAYER, YUV_VIDEO and 0x2000 on a chain created without them with E_INVALIDARG (a sweep of all 32 bits on the host). - A null out-pointer on GetBuffer, GetHwnd, GetLastPresentCount and GetRestrictToOutput is DXGI_ERROR_INVALID_CALL, not E_POINTER or E_INVALIDARG. dxgi_host_parity_test compares the layer with the host for each of these (PROBE_WARP=1 for WARP): 18 of 26 rows differ before, 0 after, on both. dxgi_device_test and dxgi_swapchain_test now expect the host's answers. AI-assisted: yes
Diffstat (limited to 'runtime/src/pe_loader.cpp')
0 files changed, 0 insertions, 0 deletions