Repository navigation
Tests: honor the selected adapter in the indirect argument test - #2318
jeroenhaentjens wants to merge 1 commit into
Conversation
The ExecuteIndirect regression used D3D12CreateDevice(None), ignoring XCL_ADAPTER and the Agility device path before compiling a cs_6_6 shader. On this hybrid laptop the isolated main test failed PSO creation with 0x80070057 even with XCL_ADAPTER=nvidia. Select the requested adapter through the existing helpers, create its device through Agility, and report missing DXC or SM 6.6 as explicit skips. The Quadro RTX 3000 now executes all 40 existing cases successfully. The shader, barriers, expected counts and assertions are unchanged. Assisted-by: Codex (exact model identifier unavailable)
|
The failing PR description job reports only the two missing retail smoke blocks. It classifies For head AI use: Codex checked the failure log and wrote this status request; the exact model identifier is unavailable. |
|
AMD run (listed as untested) on a desktop with two GPUs from different vendors, which shows the selection itself: with this PR the test follows Head
So on this machine Not tested: WARP, a missing-DXC host, a hybrid laptop. |
|
Independent WARP and Radeon check on clean Tested
Not tested Missing DXC, the parent, a retail title and the full workspace suite. AI use OpenAI Codex (GPT-6.2 Sol) ran the checks and wrote this report. |
|
Independent hybrid-laptop RDNA2 check of exact PR head Environment: Windows 11 build 26200; Ryzen 9 5980HX; discrete AMD Radeon RX 6800M driver
Limits: Focused test only. I did not run the full workspace suite, retail-title smoke, or an exact parent comparison on this head. This verifies adapter selection and the fixture on this RDNA2 laptop; it does not establish runtime synchronization or performance. AI use: OpenAI Codex (GPT-6; exact variant unavailable in this session) ran the native Windows test, checked the log and clean exact head, and drafted this report. No game data was used. |
|
Tested on \8898cd360ce80f90c983c5922d3c170db816905d\ (\8898cd3, clean PR head):
|
The ExecuteIndirect regression from #1791 used
D3D12CreateDevice(None), ignoringXCL_ADAPTERand Agility before compiling acs_6_6shader. On this hybrid laptop, the isolated test onmain06c9f55failed pipeline creation with0x80070057even withXCL_ADAPTER=nvidia. With this change it selects the Quadro RTX 3000 and passes all 40 existing cases.What is in it
bind.rs, existing#[cfg(test)]test only: use the adapter selector and Agility device creation, check DXC/SM 6.6 availability, emit explicit skip reasons, and log the selected adapter. Shader, barriers, expected counts and assertions stay unchanged.test-onlylabel is needed because the test lives in a runtime file. The separate helper proposed in D3D12.X: dispatches of more than 65 535 groups in X are folded into Y #1428 is not required by this change.Tested
XCL_SAMPLE_*,XCL_DIRECT_DXIL,XCL_HEAP_WINDOWSunset.cargo build --workspace --locked: passed.XCL_ADAPTER=nvidia,cargo test --workspace --locked --no-fail-fast -- --test-threads=4: 1265 passed, 0 failed, 46 ignored, exit 0. 28 explicit SKIPPED records: 21 no native wave64, 3 unsupported f16 forms, 2 missing debug layer, 1 unavailable cache control, 1 disabled heap-window path. Skip records are separate from harness totals.06c9f550 passed, 1 failed at pipeline creation; patched NVIDIA 1 passed, 0 failed, all 40 cases executed. WithXCL_ADAPTER=intel: 1 reported pass, 1 explicit skip (no SM 6.6). With a nonexistent adapter name: 1 reported pass, 1 explicit skip (no match), without silently using another GPU.8898cd3.Not tested
AI use