mirror of
https://github.com/ubiquitarianism/leonida.git
synced 2026-11-26 22:45:53 +01:00
[PR #473] [MERGED] TEST-WARP-VIDEO-ENCODE: compare allocator creation only on video-capable hosts #523
Labels
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
starred/leonida#523
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
📋 Pull Request Information
Original PR: https://github.com/ubiquitarianism/leonida/pull/473
Author: @Dezmonius
Created: 11/24/2026
Status: ✅ Merged
Merged: 11/24/2026
Merged by: @QemmHD
Base:
main← Head:test-warp-video-encode-allocator📝 Commits (1)
86ba755test: gate VIDEO_ENCODE allocator parity on host video support📊 Changes
1 file changed (+6 additions, -1 deletions)
View changed files
📝
runtime/test/d3d12_vulkan_device_test.cpp(+6 -1)📄 Description
Claimed in the coordination issue as TEST-WARP-VIDEO-ENCODE. https://github.com/ubiquitarianism/leonida/issues/14#issuecomment-7123435191
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.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.