[PR #473] [MERGED] TEST-WARP-VIDEO-ENCODE: compare allocator creation only on video-capable hosts #523

Closed
opened 2026-11-26 20:18:10 +01:00 by 4ld0 · 0 comments
Owner

📋 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)

  • 86ba755 test: 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 returns E_INVALIDARG for that allocator and E_NOINTERFACE for ID3D12VideoDevice. 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

  • Native Windows 10 22H2, RTX 5070 / NVIDIA 610.88, MSVC 19.51.36256, Ninja Release.
  • ctest -V -R '^d3d12_vulkan_device$' with default native D3D12 and with LEONIDA_HOST_ADAPTER=warp.
  • Synthetic tests only. AI-assisted.

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.py passed for the changed test file.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/ubiquitarianism/leonida/pull/473 **Author:** [@Dezmonius](https://github.com/Dezmonius) **Created:** 11/24/2026 **Status:** ✅ Merged **Merged:** 11/24/2026 **Merged by:** [@QemmHD](https://github.com/QemmHD) **Base:** `main` ← **Head:** `test-warp-video-encode-allocator` --- ### 📝 Commits (1) - [`86ba755`](https://github.com/ubiquitarianism/leonida/commit/86ba7556ba0c3e686fbca752ff55efdae95d5cab) test: gate VIDEO_ENCODE allocator parity on host video support ### 📊 Changes **1 file changed** (+6 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `runtime/test/d3d12_vulkan_device_test.cpp` (+6 -1) </details> ### 📄 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 returns `E_INVALIDARG` for that allocator and `E_NOINTERFACE` for `ID3D12VideoDevice`. 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 - Native Windows 10 22H2, RTX 5070 / NVIDIA 610.88, MSVC 19.51.36256, Ninja Release. - `ctest -V -R '^d3d12_vulkan_device$'` with default native D3D12 and with `LEONIDA_HOST_ADAPTER=warp`. - Synthetic tests only. AI-assisted. 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.py` passed for the changed test file. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
4ld0 2026-11-26 20:18:10 +01:00
Sign in to join this conversation.
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
starred/leonida#523
No description provided.