TEST-WARP-VIDEO-ENCODE: compare allocator creation only on video-capable hosts #473
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
missing claim
needs rebase
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/ubiquitarianism--leonida!473
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/473/head"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@Dezmonius on GitHub · 2026-11-24 05:58 UTC · original
Dezmonius:test-warp-video-encode-allocator→main· +6 −1 · 1 files · 1 commits · merged 2026-11-24 06:33 UTCClaimed in the coordination issue as TEST-WARP-VIDEO-ENCODE. #14
What and why
The native RTX 5070 D3D12 runtime accepts
CreateCommandAllocator(VIDEO_ENCODE)on the tested Windows 10 system. The same OS's WARP adapter returnsE_INVALIDARGfor that allocator andE_NOINTERFACEforID3D12VideoDevice. The end-to-end parity test counted that host capability difference as a regression.Use the existing per-case comparability callback for this one allocator test. The test still compares the HRESULT when the host exposes the base video interface. The runtime is unchanged.
Tested
ctest -V -R '^d3d12_vulkan_device$'with default native D3D12 and withLEONIDA_HOST_ADAPTER=warp.Baseline
8f481cf16: native D3D12 passed, WARP failed at the allocator argument comparison. With this patch on the same revision, both CTest runs passed.scripts/check_no_game_data.pypassed for the changed test file.@QemmHD on GitHub · 2026-11-24 06:33 UTC · original
Merging. Why merged: a minimal gate in the D3D12/Vulkan device test for hosts without D3D12 video support.
Why it's good: security-reviewed (7-line test change). Built and ran d3d12_vulkan_device_test with VS 2022 on an RTX 4070 SUPER (driver 621.24): passes before and after with identical output, as expected on a host that has video (the gate is a no-op there); the change is correct for hosts without it.
AI-assisted (Claude Code, Claude Opus 5.5).