Tests: assert the stale promoted-UAV-clear refusal on Windows only (vkd3d accepts it under Wine) #2490
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
goal:world-load
good first issue
help wanted
invalid
keep-open
off-goal
question
stale
test-only
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/xcl-dev--xcl!2490
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-2490"
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?
@SlopTart on GitHub · 2026-11-25 20:11 UTC · original
SlopTart:fix-uav-clear-wine-gate→main· +7 −1 · 1 files · 1 commits · openFollow-up to my report here: since
7fa87890merged,gpu_promoted_uav_clear_values_pass_create_committed_resourceis red on the Wine/vkd3d lane (deterministic 3/3 solo). The reject half of the test encodes Microsoft's runtime validation; vkd3d-proton 3.1 does not check the stale original-format clear value and creates the resource, so the assert fires where the driver simply behaves differently.This gates that one assert with
under_wine(), mirroring the same pattern this week's #2466 used for the depth-buffer state refusal. The promoted-value half (new_cv.Format, the acceptingCreateCommittedResource) still runs on both lanes, and no production code is touched.On this rig (Linux, RADV, RX 7900 XT, wine-11.0 / Proton, vkd3d-proton 3.1 with the XCL patch):
gpu_promoted_uav_clear_values_pass_create_committed_resourcefailed 3/3;gpu_suite160 passed / 4 failedgpu_suite161 passed / 3 failed, the three remaining are the known baseline (seed-1003 fuzz, mad/mac contraction) plus the depth-buffer one that #2466 fixesAI use: Hermes agent (local Qwen-class) wrote and ran everything in this PR; I checked the diff and the test results before opening it.
@frenziedcoder on GitHub · 2026-11-25 20:14 UTC · original
Windows + NVIDIA check of
c54d98e:gpu_promoted_uav_clear_values_pass_create_committed_resourcepasses with the Windows-only refusal assert active, so the gate keeps that half running where Microsoft's runtime validates it.under_wine()is false), rustc 1.100.0 MSVC, debug.cargo test -p xcl --lib -- gpu_promoted_uav_clear_values_pass_create_committed_resource --test-threads=1on the exact head: 1 passed, 0 failed. On this hostCreateCommittedResourcerefuses the stale original-format clear value, and accepts the promoted one.#[cfg(test)], so no smoke runs.AI use: Claude Code (Claude Opus 5.5) ran the test on my machine and wrote this report.
@SlopTart on GitHub · 2026-11-25 20:52 UTC · original
Thanks, that is exactly the half this PR could not self-verify. Both lanes now covered:
c54d98e2): the test goes from failing 3/3 to passing; fullgpu_suite drops from 4 failures to the known 3, nothing else moves.under_wine()false) and passes, so the validation stays enforced where Microsoft's runtime does it.@DavidM1911 on GitHub · 2026-11-25 20:53 UTC · original
Verification on RTX 3060 Ti (Windows 11), branch merged with current
main:cargo test -p xcl --lib: all passed, 0 failed, ~26 ignored. (Intermittent single-test flake / 0xc0000005 abort under parallel scheduling — tracked in #1978; clean on single-threaded rerun.)Thanks!
@luckyteagirl on GitHub · 2026-11-25 21:37 UTC · original
Independent RX 6800M Windows check of exact PR head
c54d98e2ad3c7c1efb4336e50ab11ac396e38414in a clean detached worktree.Tested
30.0.13002.13003; Windows 11 Home build26200; Ryzen 9 5980HX; Rust1.99.0(stable-x86_64-pc-windows-msvc). Selected withXCL_ADAPTER=6800M.cargo test --locked -j 2 -p xcl --lib -- gpu_promoted_uav_clear_values_pass_create_committed_resource --test-threads=1 --show-output: 1 passed, 0 failed, 0 ignored (1,309 filtered out). NoSKIPPEDoutput. The focused run completed under the 1 GiB free-commit / 512 MiB free-physical memory guard; the guard did not trigger.Not tested
AI use
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.