Shaders: test first-active-lane isolation in wave32 #852
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!852
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-852"
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?
@thatirishguyyy on GitHub · 2026-11-24 06:48 UTC · original
thatirishguyyy:test/wave32-first-active-lane→main· +87 −0 · 1 files · 1 commits · openWhat is in it
v_readfirstlanewith different EXEC masks and lane values in the two halves of one hardware wave.Tested
32.0.32029.2010), Ryzen 7 7800X3D, Rust1.100.0, release build atc8b26b4onbeaa245.cargo test --workspace --release --locked --offline -- --test-threads=4— 716 passed, 0 failed, 41 ignored. Both graphics draws exercised both halves, and no GPU tests reported a skip.5/64instead of37/64for the upper half and failed as expected.Not tested
AI use
@milas6669 on GitHub · 2026-11-24 07:02 UTC · original
Test report on
c8b26b4(PR head; its base ismainbeaa245, which is stillmain; no merge conflict).Tested
x86_64-pc-windows-msvc, debugcargo test --workspace --no-fail-fast -- --test-threads=4; the same command onmainbeaa245(this PR's base): 713 passed, 0 failed, 41 ignoredplaced_title_textures_share_vram_and_preserve_pixels(thecubemap extra_pages must be reused at same vaassert),transitions_apply_when_their_list_is_submittedandd32s8_targets_take_their_own_size_of_video_memory(bothPoisonErrorafter the first panic). They are the flaky tests of #718 / #447 and fail onmainin some of my runs (on this exact main run they passed), so they are not from this PR.gpu_pixel_wave32_first_lane_uses_its_own_half,gpu_vertex_wave32_first_lane_uses_its_own_halfandgraphics_wave32_first_lane_uses_its_own_half: all three are counted as passed, but the first two printSKIPPED ... no wave64here, so on this GPU they ran no check; only the third didgpu_geometry_wave32_prefix_count_over_a_mask,gpu_wave32_program_in_wave64_hardwareNot tested
scripts/smoke.ps1(test-only diff)AI use
@SlopTart on GitHub · 2026-11-24 08:09 UTC · original
Linux / AMD RDNA3 datapoint.
Merged state: head
c8b26b4onto main1ec4c98, clean merge.Full suite,
cargo test --workspace --release --no-fail-fast --target x86_64-pc-windows-gnu -- --test-threads=4: 711 passed, 7 failed, 41 ignored. Failures = the known Wine-lane set from my #42 rows - zero flakes in this lane. wave32 first-active-lane isolation tests green (711 passed, zero flakes in this lane).Not tested: retail titles (none here), Windows, RDNA4.
Counts only, no game data.
Machine: RX 7900 XT (RADV NAVI31), Mesa 26.2.5, kernel 7.2 (Arch), Proton Experimental (wine-11.0), patched vkd3d-proton v3.1, Rust cross
x86_64-pc-windows-gnu,XCL_NETWORK=0, release profile,--test-threads=4. My Linux rows: #42 / #718.AI use: Hermes agent (local Qwen-class) ran the suite and drafted this; I checked it before posting.
@iggyvilla on GitHub · 2026-11-24 13:04 UTC · original
Test report for
c8b26b4aac2c8f61d62eda067cb6a1b818aeeacf(current head of #852, base1ec4c98; onlycrates/xcl/src/gpu/recomp/tests.rschanges; not merged withmain) on an AMD RDNA2 card. The commands were run, and the output captured, by an agent (omp, DeepSeek V4.1 Flash); the text below was checked against the PR head's source and written by Claude Code (Claude Sonnet 5.5).Tested
cargo test -p xcl --lib --release -- wave32_first_lane: 3 passed, 0 failed, but two of them skipped themselves:cargo test -p xcl --lib --release -- gpu_wave32_program_in_wave64_hardware: 1 passed, 0 failed (695 filtered out, 0.40 s), not skipped.What this shows
[WaveSize(64)]and checks all 64 lanes, passes:V_READFIRSTLANE_B32returns 10 for lanes in the first half and 37 for the second. This is the PR's first execution on native wave64 hardware.tests.rs:4237,runner::skip_test) fired. A skip is not coverage: the vertex/pixel half of this PR is unverified on this card. The probable reason is that the emitted VS/PS carry no[WaveSize]and this driver ran them as 32-lane waves (every pixel reported half 0), but the test cannot tell that apart from a 64-lane wave whose upper half was never active.graphics_wave32_first_lane_uses_its_own_halfonly checks the generated HLSL text, so it passes without touching the GPU.Not tested
[WaveSize(64)]for graphics); no fullcargo test --workspace. Test-only diff, so no smoke pair is needed.main. The raw output was not kept as a file; the blocks above are the agent's capture.AI use
Claude Code, Claude Sonnet 5.5: checked the report against the PR head's
tests.rsand wrote this text; it ran nothing. The build and test runs were done by omp with DeepSeek V4.1 Flash, which changed no code.@JJAutoCompare on GitHub · 2026-11-25 04:54 UTC · original
Tested
Clean detached PR head
c8b26b4aac2c8f61d62eda067cb6a1b818aeeacf. STOR-WINLAB, Windows 11 Enterprise Evaluation 25H2 x64 (26200.9974), Ryzen 7 3800X, Intel Arc A770 driver 32.0.101.9175, Rust/Cargo 1.100.0 x86_64-pc-windows-msvc, DXC/DXIL 1.9.2609.5, unoptimized test profile.Both GPU fixtures skipped on Arc A770 with
no wave64before shader compilation or draw. Zero graphics assertions executed. Libtest counted 2 passed, 0 failed, 0 ignored, with 2 explicit skips within that passing count.cargo test --locked -p xcl --lib --no-runexited 0 outside the mutex. WithXCL_ADAPTER=A770, these prebuilt commands ran insideInvoke-ArcTest.ps1 -Test. Both children and wrapper exited 0, and each filter excluded 695 tests.The fixtures require one hardware wave64 to exercise two guest wave32 halves. Arc reached the adapter capability check and returned before the isolation readback.
Not tested
Pixel or vertex lane isolation on Arc, shader-stage wave width, the compute or HLSL-text fixtures, the workspace suite, and retail smoke.
AI use
T3 Code / Codex (
gpt-6.2-sol) ran the checked-in fixtures and prepared this report.@DavidM1911 on GitHub · 2026-11-25 10:15 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!
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.