Repository navigation
Conversation
Both were untranslated (the isa_coverage census listed them as missing). The counter at M0[15:0] + offset16 grows / shrinks by the wave's active lane count in one atomic, and every active lane gets its old value. Lane 0 of the console wave does the atomic; in the split wave64 form the halves meet first, so the upper half's earlier LDS stores are done, and the upper half reads the lower half's result. GDS=1 is reported as unsupported. The consume delta goes through a lane read: with `0 - n` straight in the groupshared atomic add, NVIDIA's driver 617.42 refuses the pipeline (E_OUTOFMEMORY), although the DXIL is a plain atomicrmw add of sub 0, n. Tests: translation (address, three option sets, GDS rejected) and GPU runs for wave64 (split on 32-lane GPUs) and wave32. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Hardware check of Tested
Regression run PR ( Not tested
AI use
|
|
Independent RDNA2 hardware check — pass Tested clean head
Not tested Full workspace suite, MSVC build, or a retail-title smoke run. All AI use Codex (GPT-6, exact variant unavailable) ran the tests and formatted this report. |
|
Test report for head Setup
Tested: pass on both GPUs, including the native wave64 form you listed as not tested.
Not tested: a title reaching these instructions. Note: these runs check that the translated HLSL matches the test's reference model, in 64-lane and in 32-lane waves. They cannot show that the model matches the hardware (on #925 both had the same mistake, and the test still passed). |
|
Linux / AMD RDNA3 datapoint. Merged state: head Full suite, Not tested: retail titles (none here), Windows, RDNA4. 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 AI use: Hermes agent (local Qwen-class) ran the suite and drafted this; I checked it before posting. |
ds_appendandds_consumewere untranslated (the ISA census,isa_coverage, lists them as missing, and no open PR or issue covers them). Console compute programs use them as a wave-wide counter in LDS, e.g. to compact a list: the counter atM0[15:0] + offset16grows (append) or shrinks (consume) by the number of active lanes in one atomic, and every active lane gets the value from before the change.What is in it
crates/xcl/src/gpu/recomp/emit.rs: lane 0 of the console wave does oneInterlockedAddonxcl_ldswith the wave's EXEC count (nothing for an empty EXEC), and the old value goes to the active lanes through a lane read. In the split wave64 form (32-lane GPUs), the two halves meet before the atomic, so the upper half's earlier LDS stores are done, and the upper half reads the lower half's result (xcl_x_rla_uniform).GDS=1is reported as unsupported, as for the ADDTID forms.0 - n) goes through a lane read. With it straight in the atomic, NVIDIA's driver 617.42 refuses the pipeline (CreateComputePipelineState: E_OUTOFMEMORY), although the DXIL is a plainatomicrmw addofsub 0, n.crates/xcl/src/gpu/recomp/tests.rs: a translation test (offset and M0 address in three option sets, GDS rejected), and GPU tests for wave64 (split on 32-lane GPUs) and wave32: active lanes in both halves, inactive lanes untouched, an empty EXEC changes nothing, a full wave's count.Tested
stable-x86_64-pc-windows-msvc, debug, DXC 1.9.2602.17 (Windows SDK 10.0.26100.0)cargo build --workspace && cargo test --workspace --no-fail-fast -- --test-threads=4: 718 passed, 0 failed, 41 ignoredgpu_geometry_wave32_prefix_count_over_a_mask,gpu_wave32_program_in_wave64_hardware; noXCL_SAMPLE_*variables were set, so the game-data tests ran nothingcargo test -p xcl --lib ds_append_consume: 3 passedRegression run
main:This PR:
The PR's run came second and found the shader / pipeline caches the first one filled: its higher frame count is that, not this change.
Not tested
ds_append/ds_consumeAI use
🤖 Generated with Claude Code