D3D12.X: log once which form wave64 programs get, and why (#1407) #1410
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!1410
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-1410"
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?
@tiagonogueiraa-bit on GitHub · 2026-11-24 15:42 UTC · original
tiagonogueiraa-bit:wave-mode-log→main· +47 −2 · 1 files · 1 commits · openWhich form wave64 programs get decides whether cross-lane results are right: compute / mesh / geometry split into 32-lane halves or native wave64, and VS / PS with or without the upper-lanes form. A wrong choice shows nothing else in the log. It was decided silently from the device's wave range,
XCL_SPLIT_WAVE64=1, or an unknown range. Fixes #1407.wave32_only_for_deviceandgraphics_wave32_for_devicenow log one line the first time either runs, for example:What is in it
crates/xcl/src/gpu/recomp/pso.rs:log_wave_mode(once per process,std::sync::Once) andwave_mode_line, a pure function for the text.*_for_devicefunctions read the wave range once and log it.wave_mode_line_names_the_form_and_why: 32–32, 32–64, 64–64, theXCL_SPLIT_WAVE64=1override and an unknown range.Tested
cargo check -p xcl --lib --tests --target x86_64-pc-windows-msvc: no errors (C code stubbed, nothing linked).rustcagainst copies ofwave32_only,graphics_wave32andwave_mode_line.b63a67b(report):cargo test --workspace --no-fail-fast -- --test-threads=4: 752 passed, 0 failed, 41 ignored, with SKIPPED (no wave64)gpu_geometry_wave32_prefix_count_over_a_maskandgpu_wave32_program_in_wave64_hardware.wave_mode_line_names_the_form_and_whypasses.[SHADER] wave mode: wave64 compute / mesh / geometry split into 32-lane halves, wave64 VS / PS with the upper-lanes form (the driver may pick 32 lanes) (device waves 32-32).Regression run
By @MiharaxD:
scripts/smoke.ps1 -Seconds 60, RTX 3070 Ti, start screen, no input, unedited, from the report.main:
PR:
Not tested
XCL_SPLIT_WAVE64=1or an unknown range in a real run; the unit test covers those texts.AI use
🤖 Generated with Claude Code
github-bot referenced this pull request2026-11-26 04:59:09 +00:00
@tiagonogueiraa-bit on GitHub · 2026-11-24 16:02 UTC · original
Thank you, @MiharaxD! The suite and the log line from a real run are in Tested, and the PR is ready for review.
One small request: your smoke blocks'
title:line is the game folder's name, which names the game, and the maintainer asks that it stay out of PRs. Blocks can't be edited by hand, so I linked your pair instead of pasting it. If you rerun with the folder renamed to something neutral (e.g.game), I'll paste both blocks as they are.Written with Claude Code (Claude Opus 5.5).
@DavidM1911 on GitHub · 2026-11-24 17:08 UTC · original
Verification on RTX 3060 Ti (Windows 11), branch merged with current
main:cargo test -p xcl --lib: all passed, 0 failed, ~21 ignored.Thanks!
@MiharaxD on GitHub · 2026-11-24 18:59 UTC · original
Reposted: the earlier copy of this comment was deleted.
Windows run on a 32-lane NVIDIA card, head
b63a67b(onmain930e8b4), which covers the "not run on Windows" and "the log line in a real run" lines.Tested
cargo build --workspace, thencargo test --workspace --no-fail-fast -- --test-threads=4(debug) onb63a67b: 752 passed, 0 failed, 41 ignored (lib tests 708 / 0 / 21).wave_mode_line_names_the_form_and_whypasses. The build's one warning (fetch_updatedeprecated,hle/xgameruntime/mod.rs:547) is not from this PR.gpu_geometry_wave32_prefix_count_over_a_mask,gpu_wave32_program_in_wave64_hardware.Regression run
scripts/smoke.ps1 -Game <game folder> -Seconds 60(release builds, start screen, no input; game folder renamed togame, sotitle:names no title).mainis now9e3831e; the PR is still on930e8b4:main:
this PR's head:
Not tested
XCL_SPLIT_WAVE64=1and an unknown wave range in a real run: only the unit test covers them.native wave64andas they areforms).main: it is tested as pushed, on930e8b4.AI use: Claude Code (Claude Opus 5.5) built the PR, ran the tests and both smoke runs, read the log and wrote this report; I checked it before posting.
@tiagonogueiraa-bit on GitHub · 2026-11-24 19:22 UTC · original
Thank you for the rerun with a neutral folder, @MiharaxD! Both blocks are under Regression run exactly as posted.
Written with Claude Code (Claude Opus 5.5).
@Mischief8713 on GitHub · 2026-11-24 20:36 UTC · original
GPU run of
b63a67bon Windows (NVIDIA GTX 1660 Ti, Turing): 708 passed, 0 failed, 21 ignoredTested
cargo build --workspace, thencargo test --workspace --no-fail-fast -- --test-threads=4; build exit 0, test exit 0gpu_geometry_wave32_prefix_count_over_a_maskandgpu_wave32_program_in_wave64_hardware(no wave64)main(9039900). It was run as it is.gpu::recomp::pso::shader_cache_tests::wave_mode_line_names_the_form_and_whypassed.Not tested
scripts/smoke.ps1run, so no regression run[SHADER] wave mode:line in a real title's log, since that needs a titleAI 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.