Repository navigation
Tests: honor the selected adapter for texture uploads - #2879
andrewDoing wants to merge 1 commit into
Conversation
|
Linux (Wine) dual-lane run at head Rig (Ryzen 9 9900X / RX 7900 XT / wine-11.0 Proton): 605/3 = baseline two ( Boxb (i5-10600K / GTX 1070 550.163.01 / wine-10.0 + vkd3d-proton, xvfb): 605/3, exactly today's baseline three. One note: the old boxb texture-upload red from our #2771 row ( Suite: AI use: Hermes agent (local Qwen-class) ran the tests and drafted this; I checked it before posting. |
xcl-dev#2872 re-pinned, probe past xcl-dev#2879)
Import public XCL PR xcl-dev#2879, by @andrewDoing. Source: xcl-dev#2879 Original head: 63197e3 GPL-2.0-only; original attribution retained. Imported for authorized synthetic test validation; not yet independently tested. Assisted-by: ChatGPT (GPT-6.2)
63197e3 to
f9c18a3
Compare
|
The adapter fix is rebased to The entire diff is in |
f9c18a3 to
8153112
Compare
|
No open or merged PR changes the device() helper of the gpu/texture.rs tests. #537 (tests/texture_states.rs), #2337 and #3016 apply the same XCL_ADAPTER selection to other test files. AI review: Claude Code (Claude Opus 5.5), diffs read only, not built or run; not checked by a human. |
Three texture-upload tests on current main opened the system-default D3D12 adapter even when
XCL_ADAPTERrequested another device. They now honor the selector and use the standard GPU skip policy when the requested device is unavailable.What is in it
crates/xcl/src/gpu/texture.rs: select and name the requested adapter in the shared test fixture. Keep the system default forautoand the existing D3D feature level for uploads. The diff is entirely inside#[cfg(test)].81bfbf0d. Main removed an older upload-buffer fixture, so the updated diff covers the three remaining callers.Tested
81531120, ran the three affected tests serially in fresh harness processes withXCL_ADAPTER=5070,warp, andauto: 3 passed and 0 skipped in each. The output identified the RTX 5070 or WARP.autoselected the RTX 5070.XCL_REQUIRE_GPU=meshthe same three tests failed as intended instead of selecting the default GPU.81531120,cargo build --workspace --locked --offlinepassed. The successful rerun ofcargo test --workspace --locked --offline --no-fail-fast -- --test-threads=4reported 2,736 passes, 0 failures, 49 ignored, and 28 explicit GPU skips (22 wave64, three per-lane forms, two heap-window probes, and one driver-cache option). An initial run lacked the synthetic-title build outputs. The first run with those outputs built hit one library-harness access violation, which did not recur on the same head.26) but the shared device had reached28. Seven follow-on failures were poisoned-lock errors. The fix for that assertion is now on main and in this PR's base. Previous CI run · Merged #3278 · Current CI runRegression run
test-onlylabel requires maintainer review. No retail smoke was run on this revision.Not tested
AI use