Tests: cover XG copy argument forms across pitched subresources #2483
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!2483
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-2483"
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?
@anes66 on GitHub · 2026-11-25 20:01 UTC · original
anes66:test/pr1435-current-main-manual→main· +170 −3 · 1 files · 2 commits · draftStacked on #1435; only the top commit,
767f439, belongs to this PR. The dependency keeps its original author.The existing ABI regression covers a single RGBA8 surface. These two CPU tests extend it to pitched mip levels, array slices, separate depth/stencil planes, BC1/BC3 blocks and 3D textures. They also cover a source whose address space is reserved but not committed, and stale upper stack-slot bits around the added 32-bit argument.
What is in it
crates/xcl/src/hle/xg.rs, tests only: 10 descriptors and 512 copy calls through the six- and seven-argument vtable forms. Expected bytes are placed per element; reads use that reference rather than the preceding copy's output. Whole-buffer comparisons check row/slice padding, other subresources and trailing sentinels too.PAGE_NOACCESSsource without reading it, three added-argument values, three stale upper halves, and unused trailing-slot values in the older form.Tested
14c8a2d:cargo test --locked -p xcl --lib hle::xg::tests -j2 -- --nocapture --test-threads=1: 4 passed, 0 failed, 0 ignored, 0 skipped.8b4d42c): the same command: 6 passed, 0 failed, 0 ignored, 0 skipped.maine0d93c8(this branch,767f439): the same command: 6 passed, 0 failed, 0 ignored, 0 skipped.main2898511+ #1435, headaec6fa1) also pass in release: 6 passed, 0 failed, 0 ignored, 0 skipped; 512 copy calls.Not tested
Merge prerequisites
@DavidM1911 on GitHub · 2026-11-25 20:34 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!
@SlopTart on GitHub · 2026-11-25 20:52 UTC · original
gpu_suite (cold cache): 164 passed / 3 failed, no crashes. The three are the known baseline on this lane (seed-1003 fuzz, mad/mac contraction, promoted-UAV-clear driver gap, PR #2490); none caused by this PR.Targeted run of the three new copy tests (
copy_argument_forms_keep_reserved_sources_and_stack_dword_boundaries,copy_argument_forms_preserve_pitched_mips_planes_arrays_and_volumes,subresource_copies_take_both_argument_forms): 3 passed.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.