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)
Four texture-upload unit tests ignored
XCL_ADAPTER, so a run that requested a nonexistent adapter could pass against the default GPU even with strict GPU coverage required. Reuse the existing texture-upload adapter selector and report unavailable adapters through the standard skip mechanism.What is in it
crates/xcl/src/gpu/texture.rs: use the existing selector for four unit-test fixtures and retain CPU-only checks when GPU work is skipped. The diff changes the#[cfg(test)]module only.Tested
XCL_REQUIRE_GPU=mesh. Before the change the strict control passed on the default GPU.cargo test --workspace --no-fail-fast -- --test-threads=4, writable workspace DXIL cache: 1,441 passed, 5 failed, 47 ignored. A fresh clean-main run at8b957bechad the same totals. Four failures were RTX 50 DXIL fuzz seeds (DXIL GPU fuzz tests reproducibly fail with E_OUTOFMEMORY on RTX 5060 #1905); the other was the synthetic-title DRED test. Both logged 26 skip events: 21 no wave64, three unsupported per-lane forms, one unavailable driver-cache option, one unavailable heap-windows feature.Regression run
test-onlyif appropriate.Not tested
AI use