tests: read the gfx1013 wave index in the wave64 readfirstlane fixture #3922
No reviewers
Labels
No labels
accessibility
awaiting author
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
priority: P0
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/R0Y00--Xbox2Windows!3922
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-3920"
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?
@timbot103 on GitHub · 2026-12-03 10:34 UTC · original
timbot103:shader/native-wave64-empty-readfirstlane→main· +25 −14 · 3 files · 1 commits · merged 2026-12-03 11:12 UTCRefs #3226. Fixture regression from #3798.
Change
Use the gfx1013
TG_SIZE[11:6]wave index in the source-built empty-EXEC fixture. The old extraction returned zero for both virtual waves, skipping the writes in the 128-thread case. Ond2e6a4ed, both RTX 5080 and app-local WARP retained0x69696969at word 264, where the model expected0x00004005. The 64-thread case passed on both adapters.Register the same guarded readback for WARP. The 128-thread request without the packed state still refuses with
multi-wave64 exchange requires converged group control flow. The negative readback control still distinguishes the upper half's lane 32 value.Verification
Windows 11 26200.9974, NVIDIA GeForce RTX 5080 driver 32.0.16.2140 (621.40), Microsoft Basic Render Driver with app-local WARP 1.0.22.0.20261027.1, DXC 1.9.2602.17 (21d28f727). The native replay does not enable the D3D12 debug layer.
After configuring
devandreleasewith the project Python environment and placing app-local WARP beside each build's executables:🤖 Generated with Claude Code
@R0Y00 on GitHub · 2026-12-03 11:12 UTC · original · approved these changes
Reviewed
ad446f24. The fixture now shifts TG_SIZE by six and masks the six-bit wave index, while the group wave count still comes from the low six bits. With MSVC Debug and SDK DXC on Windows 11 build 26300, the offline compiler/refusal controls passed. RTX 4060 Laptop driver 32.0.16.1656 matched all 2,064 words in both the 64-thread and 128-thread runs, and both lane-32 negative expectations differed. Reverting only the shift reproduced the old 128-thread mismatch at word 264 (0x69696969 vs 0x00004005) while 64 threads still passed. Inbox WARP returned capability skip 77. The replay fixture does not enable the D3D12 debug layer.@JohnConnorNPC on GitHub · 2026-12-03 11:27 UTC · original
Follow-up notes on
ad446f24d5f7(merged while this review was running). The fixture fix itself checks out. No MUST or SHOULD, three NITs.--direct-warpnothing prints it (report_adapteris only called in the non-WARP branch oftests/native_store_replay.cpp).docs/experiments/native-wave64-readfirstlane-empty.md): no passing result is recorded for the corrected fixture.Outside this change, read but not run:
tests/native_wave_request_check.pystill extracts the wave index withs_bfe_u32 s13, s8, 0x50014(bit 20), sonative_wave_request_hardwareprobably fails on main since #3798.AI-assisted review.