Tests: assert the stale promoted-UAV-clear refusal on Windows only (vkd3d accepts it under Wine) #2480
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/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?
Imported from ivall/xcl. Originally posted by SlopTart on 2026-11-25T20:11:33Z.
Follow-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.
Imported from ivall/xcl. Originally posted by frenziedcoder on 2026-11-25T20:14:42Z.
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.
Imported from ivall/xcl. Originally posted by SlopTart on 2026-11-25T20:52:31Z.
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.Imported from ivall/xcl. Originally posted by DavidM1911 on 2026-11-25T20:53:05Z.
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!
Imported from ivall/xcl. Originally posted by luckyteagirl on 2026-11-25T21:37:39Z.
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
Imported from ivall/xcl. Originally posted by github-actions[bot] on 2026-11-30T08:40:19Z.
Nothing has happened on this PR for 3 days, so it is marked
staleand will be closed in 4 days. A push or a comment takes the mark off: rebase it ontomainif it conflicts, and say in one line what it still fixes. If it only waits for a maintainer, a comment saying so is enough.Imported from ivall/xcl. Originally posted by Foniass on 2026-12-01T08:11:04Z.
Triage (#1607) – head
c54d98eOn main, the stale-clear-value refusal in device_x.rs tests (
Some(&old_cv)) is still asserted on every platform. This PR guards it withunder_wine()and keeps the check that the promoted clear value is accepted on both. That is the pattern main already uses for the depth-buffer UAV state (1aca319f). No other open PR makes this change.Recommendation: keep open.
Separately, the description says a local Qwen-class model wrote and ran this PR, and CONTRIBUTING.md does not accept PRs written with Qwen-class models; that is for the maintainer to decide.
AI review: Claude Code (Claude Opus 5.5), diffs read only, not built or run; not checked by a human.
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.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.