compute: lower group-shared LDS and s_barrier on gfx1013 #1559

Merged
archielcqp-a11y merged 4 commits from upstream-pr/1566 into main 2026-11-26 04:33:02 +00:00
archielcqp-a11y commented 2026-11-24 14:14:11 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by archielcqp-a11y on 2026-11-24T14:14:11Z.


Refs #1541

Summary

compute_store_aot had only the gfx1030 private-LDS profile, so every gfx1013 DS instruction and s_barrier was refused. With --cpu gfx1013 --lds-bytes N, LDS is now groupshared uint lds[N / 4], shared by the whole group. N must be a multiple of 4 and at most 32 KiB.

Accepted:

  • ds_write_b32/ds_read_b32, _b64 and _b128;
  • ds_write2/ds_read2 and their st64 forms, at b32 and b64;
  • the non-returning ds_add_u32, ds_sub_u32, ds_and_b32, ds_or_b32, ds_xor_b32, ds_min_u32 and ds_max_u32, as Interlocked* operations;
  • s_barrier.

An address comes from v_lshlrev_b32 on a local-ID VGPR (local << k) and the existing integer ALU subset.

One guest wave per group:

  • A group of at most 32 threads is one wave at either guest width and needs no statement.
  • A group of 33 to 64 threads needs --wave-size 64, the caller's statement that the program runs as wave64. That value is accepted only together with a gfx1013 shared LDS allocation; elsewhere it is still refused.
  • Larger groups, and groups of more than 32 threads under --wave-size 32, are several guest waves and are refused.

Ordering: every DS instruction is followed by GroupMemoryBarrierWithGroupSync(). Within the one guest wave, DS operations therefore take effect in program order: a read sees all earlier writes, and a later write cannot overtake an earlier read. This holds even when the desktop runs the group as several host waves. With several guest waves, the same barriers would also order DS operations between waves before s_barrier, which the guest program does not guarantee. That case is left for a later change with its own native comparison. s_barrier lowers to the same barrier. Barriers need uniform control flow, so DS after a lane guard is refused.

Input contract: the caller guarantees it, and it is not checked:

  • every access is in bounds and aligned: b32 to 4 bytes, wider forms to their size;
  • every word that a read or an atomic touches was written earlier in the group;
  • no two lanes of one non-atomic write store to the same word.

Outside the contract, each access is still guarded by index < N / 4: a word past the allocation reads as zero and is not written, and the low two address bits are dropped. That rule keeps an access from reaching other words; it has not been compared with hardware.

Not in this PR:

  • the _rtn forms, whose results depend on the order in which lanes update one word;
  • b96;
  • byte, short and d16 accesses;
  • signed min/max and float atomics;
  • ds_permute/ds_bpermute on gfx1013;
  • groups of several guest waves.

Without --lds-bytes, gfx1013 behaviour is unchanged.

Fixture

compute_store_aot_lds_shared_{warp,hardware} runs eight 64-thread wave64 programs with a 1024-byte allocation, on one and two groups (one group for the four-word programs). Every UAV word is compared with a CPU reference:

Program Forms Reads back
shared_exchange ds_write_b32, ds_read_b32, s_barrier next lane, mirrored lane
shared_pair_b32 / shared_pair_st64_b32 write2/read2, write2st64/read2st64 (b32) the mirrored lane's pair, 64 words apart
shared_b64 ds_write_b64, ds_read_b64 the mirrored lane's qword
shared_pair_b64 / shared_pair_st64_b64 write2_b64 then read2st64_b64, and the reverse the mirrored lane's qword pair
shared_b128 ds_write_b128, ds_read_b128 the next lane's 16-byte record
shared_atomics add, sub, and, or, xor, min_u32, max_u32 seven counters per group

With two groups, each group's counters cover only its own threads, so each group has its own LDS.

Negative controls: three assembly mutations must mismatch at the first word they change:

  • the next-but-one lane, at word 0;
  • an st64 read spelled as a plain read2, at word 1;
  • ds_min_u32 in place of ds_max_u32, at word 11.

Translation controls:

  • one barrier per DS instruction, the Interlocked* methods, and the < N / 4u guard on every LDS access;
  • one-wave profile: a 32-thread group without a statement is accepted. These are refused:
    • 64 threads without a statement;
    • 64 threads, and a 32 x 2 group, under wave32;
    • 128 threads under wave64;
    • wave64 without a shared allocation, and wave64 on gfx1030.
  • rejections: _rtn, b96, b8, signed min, offsets above 65535, equal pair offsets, local-ID data, register-range mismatches, DS after a lane guard, a missing s_waitcnt, invalid allocations;
  • gfx1013 without an allocation still refuses DS and s_barrier.

Binary mode: the programs are assembled and disassembled with LLVM 15 for gfx1013, and the CLI, given the same options including --wave-size 64, must emit the same HLSL.

Results

Run on b96960b (main) plus this branch at d28d85e, Windows 10 build 19045, debug layer enabled.

Command WARP 1.0.22 (app-local) NVIDIA GeForce RTX 3080, driver 32.0.15.9174
tests/compute_store_check.py draw-lds-shared pass, all 3 mutations caught pass, all 3 mutations caught
every other compute_store_check.py draw mode pass pass

Other checks:

  • tests/compute_store_check.py binary with LLVM 15: pass.
  • form_coverage_check, docs_links_check, bidi_controls_check and shader_census_check: pass.

No capability skips.

Coverage: of the gfx1013 forms, the test adds only s_barrier, because the gfx1030 private-LDS fixtures already record the DS mnemonics.

cmake --build --preset dev --target offscreen_check
ctest --preset dev --no-tests=error -R '^compute_store_aot_lds_shared_(warp|hardware)$' -V

🤖 Generated with Claude Code

<!-- greyfinch-sync:R0Y00/Xbox2Windows:issue:6583762944 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/1566). Originally posted by [archielcqp-a11y](https://github.com/archielcqp-a11y) on 2026-11-24T14:14:11Z. --- Refs #1541 ## Summary `compute_store_aot` had only the gfx1030 private-LDS profile, so every gfx1013 DS instruction and `s_barrier` was refused. With `--cpu gfx1013 --lds-bytes N`, LDS is now `groupshared uint lds[N / 4]`, shared by the whole group. N must be a multiple of 4 and at most 32 KiB. **Accepted:** - `ds_write_b32`/`ds_read_b32`, `_b64` and `_b128`; - `ds_write2`/`ds_read2` and their `st64` forms, at b32 and b64; - the non-returning `ds_add_u32`, `ds_sub_u32`, `ds_and_b32`, `ds_or_b32`, `ds_xor_b32`, `ds_min_u32` and `ds_max_u32`, as `Interlocked*` operations; - `s_barrier`. An address comes from `v_lshlrev_b32` on a local-ID VGPR (`local << k`) and the existing integer ALU subset. **One guest wave per group:** - A group of at most 32 threads is one wave at either guest width and needs no statement. - A group of 33 to 64 threads needs `--wave-size 64`, the caller's statement that the program runs as wave64. That value is accepted only together with a gfx1013 shared LDS allocation; elsewhere it is still refused. - Larger groups, and groups of more than 32 threads under `--wave-size 32`, are several guest waves and are refused. **Ordering:** every DS instruction is followed by `GroupMemoryBarrierWithGroupSync()`. Within the one guest wave, DS operations therefore take effect in program order: a read sees all earlier writes, and a later write cannot overtake an earlier read. This holds even when the desktop runs the group as several host waves. With several guest waves, the same barriers would also order DS operations between waves before `s_barrier`, which the guest program does not guarantee. That case is left for a later change with its own native comparison. `s_barrier` lowers to the same barrier. Barriers need uniform control flow, so DS after a lane guard is refused. **Input contract:** the caller guarantees it, and it is not checked: - every access is in bounds and aligned: b32 to 4 bytes, wider forms to their size; - every word that a read or an atomic touches was written earlier in the group; - no two lanes of one non-atomic write store to the same word. Outside the contract, each access is still guarded by `index < N / 4`: a word past the allocation reads as zero and is not written, and the low two address bits are dropped. That rule keeps an access from reaching other words; it has not been compared with hardware. **Not in this PR:** - the `_rtn` forms, whose results depend on the order in which lanes update one word; - b96; - byte, short and d16 accesses; - signed min/max and float atomics; - `ds_permute`/`ds_bpermute` on gfx1013; - groups of several guest waves. Without `--lds-bytes`, gfx1013 behaviour is unchanged. ## Fixture `compute_store_aot_lds_shared_{warp,hardware}` runs eight 64-thread wave64 programs with a 1024-byte allocation, on one and two groups (one group for the four-word programs). Every UAV word is compared with a CPU reference: | Program | Forms | Reads back | |---|---|---| | `shared_exchange` | `ds_write_b32`, `ds_read_b32`, `s_barrier` | next lane, mirrored lane | | `shared_pair_b32` / `shared_pair_st64_b32` | `write2`/`read2`, `write2st64`/`read2st64` (b32) | the mirrored lane's pair, 64 words apart | | `shared_b64` | `ds_write_b64`, `ds_read_b64` | the mirrored lane's qword | | `shared_pair_b64` / `shared_pair_st64_b64` | `write2_b64` then `read2st64_b64`, and the reverse | the mirrored lane's qword pair | | `shared_b128` | `ds_write_b128`, `ds_read_b128` | the next lane's 16-byte record | | `shared_atomics` | add, sub, and, or, xor, min_u32, max_u32 | seven counters per group | With two groups, each group's counters cover only its own threads, so each group has its own LDS. **Negative controls:** three assembly mutations must mismatch at the first word they change: - the next-but-one lane, at word 0; - an `st64` read spelled as a plain `read2`, at word 1; - `ds_min_u32` in place of `ds_max_u32`, at word 11. **Translation controls:** - one barrier per DS instruction, the `Interlocked*` methods, and the `< N / 4u` guard on every LDS access; - one-wave profile: a 32-thread group without a statement is accepted. These are refused: - 64 threads without a statement; - 64 threads, and a 32 x 2 group, under wave32; - 128 threads under wave64; - wave64 without a shared allocation, and wave64 on gfx1030. - rejections: `_rtn`, b96, b8, signed min, offsets above 65535, equal pair offsets, local-ID data, register-range mismatches, DS after a lane guard, a missing `s_waitcnt`, invalid allocations; - gfx1013 without an allocation still refuses DS and `s_barrier`. **Binary mode:** the programs are assembled and disassembled with LLVM 15 for gfx1013, and the CLI, given the same options including `--wave-size 64`, must emit the same HLSL. ## Results Run on `b96960b` (main) plus this branch at `d28d85e`, Windows 10 build 19045, debug layer enabled. | Command | WARP 1.0.22 (app-local) | NVIDIA GeForce RTX 3080, driver 32.0.15.9174 | |---|---|---| | `tests/compute_store_check.py draw-lds-shared` | pass, all 3 mutations caught | pass, all 3 mutations caught | | every other `compute_store_check.py` draw mode | pass | pass | Other checks: - `tests/compute_store_check.py binary` with LLVM 15: pass. - `form_coverage_check`, `docs_links_check`, `bidi_controls_check` and `shader_census_check`: pass. No capability skips. **Coverage:** of the gfx1013 forms, the test adds only `s_barrier`, because the gfx1030 private-LDS fixtures already record the DS mnemonics. ```powershell cmake --build --preset dev --target offscreen_check ctest --preset dev --no-tests=error -R '^compute_store_aot_lds_shared_(warp|hardware)$' -V ``` 🤖 Generated with [Claude Code](https://claude.com/claude-code)
R0Y00 commented 2026-11-24 15:02:02 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-11-24T14:23:30Z.

Review: CHANGES_REQUESTED


The new branch accepts any valid group dimensions. A barrier after every DS instruction converts wave-local ordering into group-wide ordering, so a shader with multiple guest waves and a cross-wave atomic before s_barrier can observe an outcome the original scheduling did not guarantee. Scope this first slice to one guest wave with an explicit wave-width contract, or establish the multi-wave contract with an independent native comparison. Please also state the LDS input contract: in-bounds aligned accesses, each read and atomic word initialized, and no overlapping non-atomic writes within one instruction. Add a rejected multi-wave case for the narrow profile and retain the current two-workgroup isolation control. The HLSL barrier waits for the whole group: https://learn.microsoft.com/en-us/windows/win32/direct3dhlsl/groupmemorybarrierwithgroupsync

<!-- greyfinch-sync:R0Y00/Xbox2Windows:review:6040952923 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/1566#pullrequestreview-6040952923). Originally posted by [R0Y00](https://github.com/R0Y00) on 2026-11-24T14:23:30Z. **Review:** CHANGES_REQUESTED --- The new branch accepts any valid group dimensions. A barrier after every DS instruction converts wave-local ordering into group-wide ordering, so a shader with multiple guest waves and a cross-wave atomic before s_barrier can observe an outcome the original scheduling did not guarantee. Scope this first slice to one guest wave with an explicit wave-width contract, or establish the multi-wave contract with an independent native comparison. Please also state the LDS input contract: in-bounds aligned accesses, each read and atomic word initialized, and no overlapping non-atomic writes within one instruction. Add a rejected multi-wave case for the narrow profile and retain the current two-workgroup isolation control. The HLSL barrier waits for the whole group: https://learn.microsoft.com/en-us/windows/win32/direct3dhlsl/groupmemorybarrierwithgroupsync
tedin7 commented 2026-11-24 15:02:02 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by tedin7 on 2026-11-24T14:28:45Z.

Review: COMMENTED


Dual-platform peer review of PR #1566 (f0c0a611f494098d2d69404027462e1e172b65f5).

Code & Hygiene Audit

  • Scope & Clean-room: Title-neutral, focused on --cpu gfx1013 --lds-bytes N group-shared LDS lowering (groupshared uint lds[N / 4]) and s_barrier in tools/compute_store_aot.py. Merges cleanly against origin/main.
  • Correctness & Edge Cases:
    • Validates 4 <= lds_bytes <= 32768 and lds_bytes % 4 == 0; without --lds-bytes, gfx1013 continues to refuse DS instructions and s_barrier.
    • Every ds_* access is bounds-checked (index < words) and followed by GroupMemoryBarrierWithGroupSync(), with s_barrier deduplicated when immediately preceded by a DS barrier.
    • ds_* and s_barrier are rejected under active lane guards (guard_span is not None or guard is not None), and ds_sub_u32 lowers to InterlockedAdd(lds[...], (0u - value)).
    • ds_read2/ds_write2 and st64 forms scale offsets by count and count * 64 words respectively, and reject out-of-range (> 255) or equal offsets (offset0 == offset1).
  • Negative controls & coverage: shared_controls() and shared_draw() verify barrier counts, Interlocked* methods, 3 assembly mutations (first mismatched word), and 14 rejection cases.

Verification

  • Linux checks:
    • git diff --check origin/main..HEAD: passed
    • python3 tests/docs_links_check.py: passed (16 Markdown files, 344 links)
    • python3 tests/bidi_controls_check.py: passed (1247 tracked files)
    • python3 -B tests/compute_store_check.py binary llvm-mc-19 llvm-objcopy-19 /usr/lib/llvm-19/lib/libLLVM-19.so: passed
    • python3 -B tests/shader_census_check.py: passed (7 tests)
  • Windows Server 2025 (Build 26100, MSVC 14.44.35207 + D3D12 WARP) at f0c0a611f494098d2d69404027462e1e172b65f5:
    • Windows Python checks: tests/form_coverage_check.py passed (43.13s)
    • Debug (--preset dev): cmake --build --preset dev --target offscreen_check -- -j 6 succeeded; ctest --preset dev -R '^compute_store_aot_lds_shared_' --parallel 4 --no-tests=error --output-on-failure — 2/2 passed (compute_store_aot_lds_shared_warp, compute_store_aot_lds_shared_hardware; note: this VM only has WARP)
    • Release /O2 (--preset release): cmake --build --preset release --target offscreen_check -- -j 6 succeeded; ctest --preset release -R '^compute_store_aot_lds_shared_' --parallel 4 --no-tests=error --output-on-failure — 2/2 passed (same 2 tests)
<!-- greyfinch-sync:R0Y00/Xbox2Windows:review:6041056520 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/1566#pullrequestreview-6041056520). Originally posted by [tedin7](https://github.com/tedin7) on 2026-11-24T14:28:45Z. **Review:** COMMENTED --- Dual-platform peer review of PR #1566 (`f0c0a611f494098d2d69404027462e1e172b65f5`). ### Code & Hygiene Audit - **Scope & Clean-room**: Title-neutral, focused on `--cpu gfx1013 --lds-bytes N` group-shared LDS lowering (`groupshared uint lds[N / 4]`) and `s_barrier` in `tools/compute_store_aot.py`. Merges cleanly against `origin/main`. - **Correctness & Edge Cases**: - Validates `4 <= lds_bytes <= 32768` and `lds_bytes % 4 == 0`; without `--lds-bytes`, `gfx1013` continues to refuse DS instructions and `s_barrier`. - Every `ds_*` access is bounds-checked (`index < words`) and followed by `GroupMemoryBarrierWithGroupSync()`, with `s_barrier` deduplicated when immediately preceded by a DS barrier. - `ds_*` and `s_barrier` are rejected under active lane guards (`guard_span is not None or guard is not None`), and `ds_sub_u32` lowers to `InterlockedAdd(lds[...], (0u - value))`. - `ds_read2`/`ds_write2` and `st64` forms scale offsets by `count` and `count * 64` words respectively, and reject out-of-range (`> 255`) or equal offsets (`offset0 == offset1`). - **Negative controls & coverage**: `shared_controls()` and `shared_draw()` verify barrier counts, `Interlocked*` methods, 3 assembly mutations (first mismatched word), and 14 rejection cases. ### Verification - **Linux checks**: - `git diff --check origin/main..HEAD`: passed - `python3 tests/docs_links_check.py`: passed (16 Markdown files, 344 links) - `python3 tests/bidi_controls_check.py`: passed (1247 tracked files) - `python3 -B tests/compute_store_check.py binary llvm-mc-19 llvm-objcopy-19 /usr/lib/llvm-19/lib/libLLVM-19.so`: passed - `python3 -B tests/shader_census_check.py`: passed (7 tests) - **Windows Server 2025 (Build 26100, MSVC 14.44.35207 + D3D12 WARP)** at `f0c0a611f494098d2d69404027462e1e172b65f5`: - **Windows Python checks**: `tests/form_coverage_check.py` passed (`43.13s`) - **Debug (`--preset dev`)**: `cmake --build --preset dev --target offscreen_check -- -j 6` succeeded; `ctest --preset dev -R '^compute_store_aot_lds_shared_' --parallel 4 --no-tests=error --output-on-failure` — **2/2 passed** (`compute_store_aot_lds_shared_warp`, `compute_store_aot_lds_shared_hardware`; note: this VM only has WARP) - **Release `/O2` (`--preset release`)**: `cmake --build --preset release --target offscreen_check -- -j 6` succeeded; `ctest --preset release -R '^compute_store_aot_lds_shared_' --parallel 4 --no-tests=error --output-on-failure` — **2/2 passed** (same 2 tests)
thepatrickworld commented 2026-11-24 17:02:07 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by thepatrickworld on 2026-11-24T16:15:45Z.


Independent GPU validation

Measured f0c0a611 merged onto main (my merge f368f9e8, tree 33257a6b, working tree clean). Nothing below is a code change.

Environment

  • Windows 11 25H2, build 26200.9974
  • DXC 1.9.2602.17 (10.0.26100.0 user-mode)
  • hardware: AMD Radeon RX 9070 XT vendor=1002 device=7550, driver 32.0.32029.2010
  • warp: Microsoft Basic Render Driver vendor=1414 device=008c, driver 10.0.26100.9818
  • preset dev (Debug), debug_layer=unavailable

Commands

ctest --preset dev --no-tests=error -R "^compute_store_aot_lds_shared_(hardware|warp)$" -V
ctest --preset dev --no-tests=error -R "^compute_store_aot_lds" -V

Observed

Two entries, three runs each: 6 passed, 0 failed, 0 skipped.

compute_store_aot_lds_shared_hardware   Passed  5.16 / 4.76 / 4.69 s
compute_store_aot_lds_shared_warp       Passed  3.52 / 3.47 / 3.48 s

On the physical adapter the eight programs give 13 runs: five programs run at both group counts and three at the single-group count only, so eight runs report groups=1 and five report groups=2. Each reports:

adapter=AMD Radeon RX 9070 XT vendor=1002 device=7550
driver=32.0.32029.2010
groups=1 compared_words=320 mismatches=0

WARP reports the same 13 runs with mismatches=0. So the cross-lane exchange, the write2/read2 pairs in both the raw and st64 forms, the qword and 128-bit programs and the atomic program all reproduce the CPU reference on this adapter, with no divergence between the two backends tested.

Regression

^compute_store_aot_lds: 18 passed, 0 failed, 0 skipped.

Limits

  • One physical adapter, one driver. The debug layer is not installed here (0x887a002d, SDK component missing), so the run says nothing about D3D12 API validation — only that the readbacks match.
  • The adapter is gfx1201 (RDNA 4), not the gfx1013 target. This run covers the translated HLSL executing on a different ISA from the one the source assembly belongs to; it says nothing about gfx1013 hardware itself.
  • The out-of-range behaviour your description flags as unverified is not exercised by these eight programs: every address stays inside the 1024-byte allocation (the highest is the 128-bit program's last lane at byte 1008), and the offset:65536 form only appears as a lowering rejection. So it remains unmeasured against hardware after this run as well.

AI-assisted; runs executed locally on the adapter above.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:comment:7137376561 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/1566#issuecomment-7137376561). Originally posted by [thepatrickworld](https://github.com/thepatrickworld) on 2026-11-24T16:15:45Z. --- ### Independent GPU validation Measured `f0c0a611` merged onto main (my merge `f368f9e8`, tree `33257a6b`, working tree clean). Nothing below is a code change. **Environment** - Windows 11 25H2, build 26200.9974 - DXC 1.9.2602.17 (`10.0.26100.0` user-mode) - hardware: `AMD Radeon RX 9070 XT vendor=1002 device=7550`, driver `32.0.32029.2010` - warp: `Microsoft Basic Render Driver vendor=1414 device=008c`, driver `10.0.26100.9818` - preset `dev` (Debug), `debug_layer=unavailable` **Commands** ```powershell ctest --preset dev --no-tests=error -R "^compute_store_aot_lds_shared_(hardware|warp)$" -V ctest --preset dev --no-tests=error -R "^compute_store_aot_lds" -V ``` **Observed** Two entries, three runs each: 6 passed, 0 failed, 0 skipped. ``` compute_store_aot_lds_shared_hardware Passed 5.16 / 4.76 / 4.69 s compute_store_aot_lds_shared_warp Passed 3.52 / 3.47 / 3.48 s ``` On the physical adapter the eight programs give 13 runs: five programs run at both group counts and three at the single-group count only, so eight runs report `groups=1` and five report `groups=2`. Each reports: ``` adapter=AMD Radeon RX 9070 XT vendor=1002 device=7550 driver=32.0.32029.2010 groups=1 compared_words=320 mismatches=0 ``` WARP reports the same 13 runs with `mismatches=0`. So the cross-lane exchange, the `write2`/`read2` pairs in both the raw and `st64` forms, the qword and 128-bit programs and the atomic program all reproduce the CPU reference on this adapter, with no divergence between the two backends tested. **Regression** `^compute_store_aot_lds`: **18 passed, 0 failed, 0 skipped**. **Limits** - One physical adapter, one driver. The debug layer is not installed here (`0x887a002d`, SDK component missing), so the run says nothing about D3D12 API validation — only that the readbacks match. - The adapter is `gfx1201` (RDNA 4), not the `gfx1013` target. This run covers the translated HLSL executing on a different ISA from the one the source assembly belongs to; it says nothing about gfx1013 hardware itself. - The out-of-range behaviour your description flags as unverified is **not** exercised by these eight programs: every address stays inside the 1024-byte allocation (the highest is the 128-bit program's last lane at byte 1008), and the `offset:65536` form only appears as a lowering rejection. So it remains unmeasured against hardware after this run as well. _AI-assisted; runs executed locally on the adapter above._
thepatrickworld commented 2026-11-24 17:02:07 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by thepatrickworld on 2026-11-24T16:22:26Z.


Correction to my run above, after reading the review of 14:23: it does not establish the multi-wave contract, and should not be read as doing so.

  • The two-group runs are two separate workgroups — the isolation control the review asks to retain — not several waves inside one group.
  • This adapter is wave64, so a 64-thread group is a single wave here, while WARP runs the same fixture as two 32-wide waves. Both pass, and that still does not prove the ordering the review asks for: a shape that happens not to diverge is not evidence of ordering.

So the vertical slice the review describes is untouched by my measurement. When the narrow profile rejects the multi-wave case, the single-wave configuration is the native one on this adapter and I will re-run it there.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:comment:7137561612 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/1566#issuecomment-7137561612). Originally posted by [thepatrickworld](https://github.com/thepatrickworld) on 2026-11-24T16:22:26Z. --- Correction to my run above, after reading the review of 14:23: it does **not** establish the multi-wave contract, and should not be read as doing so. - The two-group runs are two separate workgroups — the isolation control the review asks to retain — not several waves inside one group. - This adapter is wave64, so a 64-thread group is a single wave here, while WARP runs the same fixture as two 32-wide waves. Both pass, and that still does not prove the ordering the review asks for: a shape that happens not to diverge is not evidence of ordering. So the vertical slice the review describes is untouched by my measurement. When the narrow profile rejects the multi-wave case, the single-wave configuration is the native one on this adapter and I will re-run it there.
tedin7 commented 2026-11-24 18:02:13 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by tedin7 on 2026-11-24T17:35:05Z.

Review: COMMENTED


Audit at head_sha: f0c0a611f494098d2d69404027462e1e172b65f5 (this follows my earlier comment on the same head and adds the semantic audit and the mutation results it lacked).

Verdict: 0 P1, 0 P2. One nit (P3).

Scope

  • Files: CMakeLists.txt (one add_test, test only), docs/experiments.md, tests/compute_store_check.py, tools/compute_store_aot.py. No src/, no gfx2hlsl, no .github/. git merge-tree against current main (68969ed8): no conflicts.
  • Regression surface: the new path is taken only when cpu == "gfx1013" and lds_bytes != 0. The existing private-LDS path needs ds_group = cpu == "gfx1030" and dims == (32, 1, 1), so no existing gfx1030 program changes, and lds_bytes == 0 is untouched. The allocation must be a multiple of 4 between 4 and 32768 bytes.

RDNA 2 semantics

  • Word addressing: word = (address + offset) >> 2. Single forms use offset: in bytes (up to 65535); read2/write2 use offset0/offset1 in elements of the access size (so words offset * count), st64 times 64; equal offsets and offsets above 255 are refused. I checked the element scaling against llvm-mc-19 -mcpu=gfx1013: ds_write2_b32 ... offset0:1 offset1:3, ds_read2st64_b64 ... offset0:1 offset1:2, ds_write_b128 ... offset:16 and the others all assemble to the encodings the lowering assumes.
  • Atomics: non-returning add/sub/and/or/xor/min/max_u32 become Interlocked* on lds[] (sub as add of 0u - value); each is order-independent within one instruction, so lane order does not matter. Returning forms (_rtn) are not matched and stay refused.
  • Ordering: every DS step is followed by GroupMemoryBarrierWithGroupSync(), which is stronger than the one-wave program order the guest relies on, and s_barrier becomes the same barrier (merged when a DS barrier is already last). A lane guard before a DS instruction or s_barrier is refused, because the barrier needs uniform control flow.
  • Out of range: a word at or beyond the allocation reads as zero and is not written.

Findings

  • nit (P3): no fixture exercises that out-of-range rule. All fixture addresses stay below 1024 bytes (the allocation). I changed the read bound index < words to index <= words: the Linux controls still pass, and the Windows fixtures cannot reach that word. The docs state the rule, so it would be good to have one fixture or control that reads and writes just past the end.

Verified

Limits: Linux x86-64 only. No Windows/D3D12/DXC: compute_store_aot_lds_shared_* (draw, WARP and hardware) was not run for this head.

  • PYTHONPATH=tests:tools python3 -B -c "import compute_store_check as c; c.controls(); c.shared_controls()" -> OK. python3 -B tests/docs_links_check.py -> 16 files, 344 links OK. git diff --check HEAD^ HEAD clean.
  • Mutations detected by the Linux controls (3): ds_sub_u32 without the negation (AssertionError); the barrier dropped after a DS step (AssertionError: shared_exchange); xor_b32 mapped to Or (AssertionError: Xor). Also detected: the lane-guard refusal removed (Expected rejection: Shared LDS access under a lane guard).
  • Mutations not detected by the Linux controls (2): st64 scale 64 -> 32 (guarded by the Windows fixtures shared_pair_st64_b32/_b64, which use offset1:1, but not run here), and the out-of-range read bound above (not guarded anywhere).
  • All mutations reverted with git checkout -- .; git status --short clean.

AI-assisted; commands listed were executed locally.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:review:6044282715 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/1566#pullrequestreview-6044282715). Originally posted by [tedin7](https://github.com/tedin7) on 2026-11-24T17:35:05Z. **Review:** COMMENTED --- Audit at `head_sha`: `f0c0a611f494098d2d69404027462e1e172b65f5` (this follows my earlier comment on the same head and adds the semantic audit and the mutation results it lacked). **Verdict: 0 P1, 0 P2.** One nit (P3). ### Scope - Files: `CMakeLists.txt` (one `add_test`, test only), `docs/experiments.md`, `tests/compute_store_check.py`, `tools/compute_store_aot.py`. No `src/`, no `gfx2hlsl`, no `.github/`. `git merge-tree` against current `main` (`68969ed8`): no conflicts. - Regression surface: the new path is taken only when `cpu == "gfx1013" and lds_bytes != 0`. The existing private-LDS path needs `ds_group = cpu == "gfx1030" and dims == (32, 1, 1)`, so no existing gfx1030 program changes, and `lds_bytes == 0` is untouched. The allocation must be a multiple of 4 between 4 and 32768 bytes. ### RDNA 2 semantics - Word addressing: `word = (address + offset) >> 2`. Single forms use `offset:` in bytes (up to 65535); `read2/write2` use `offset0/offset1` in elements of the access size (so words `offset * count`), `st64` times 64; equal offsets and offsets above 255 are refused. I checked the element scaling against `llvm-mc-19 -mcpu=gfx1013`: `ds_write2_b32 ... offset0:1 offset1:3`, `ds_read2st64_b64 ... offset0:1 offset1:2`, `ds_write_b128 ... offset:16` and the others all assemble to the encodings the lowering assumes. - Atomics: non-returning `add/sub/and/or/xor/min/max_u32` become `Interlocked*` on `lds[]` (`sub` as add of `0u - value`); each is order-independent within one instruction, so lane order does not matter. Returning forms (`_rtn`) are not matched and stay refused. - Ordering: every DS step is followed by `GroupMemoryBarrierWithGroupSync()`, which is stronger than the one-wave program order the guest relies on, and `s_barrier` becomes the same barrier (merged when a DS barrier is already last). A lane guard before a DS instruction or `s_barrier` is refused, because the barrier needs uniform control flow. - Out of range: a word at or beyond the allocation reads as zero and is not written. ### Findings - **nit (P3):** no fixture exercises that out-of-range rule. All fixture addresses stay below 1024 bytes (the allocation). I changed the read bound `index < words` to `index <= words`: the Linux controls still pass, and the Windows fixtures cannot reach that word. The docs state the rule, so it would be good to have one fixture or control that reads and writes just past the end. ### Verified Limits: Linux x86-64 only. No Windows/D3D12/DXC: `compute_store_aot_lds_shared_*` (draw, WARP and hardware) was not run for this head. - `PYTHONPATH=tests:tools python3 -B -c "import compute_store_check as c; c.controls(); c.shared_controls()"` -> OK. `python3 -B tests/docs_links_check.py` -> 16 files, 344 links OK. `git diff --check HEAD^ HEAD` clean. - **Mutations detected by the Linux controls (3):** `ds_sub_u32` without the negation (`AssertionError`); the barrier dropped after a DS step (`AssertionError: shared_exchange`); `xor_b32` mapped to `Or` (`AssertionError: Xor`). Also detected: the lane-guard refusal removed (`Expected rejection: Shared LDS access under a lane guard`). - **Mutations not detected by the Linux controls (2):** `st64` scale 64 -> 32 (guarded by the Windows fixtures `shared_pair_st64_b32`/`_b64`, which use `offset1:1`, but not run here), and the out-of-range read bound above (not guarded anywhere). - All mutations reverted with `git checkout -- .`; `git status --short` clean. AI-assisted; commands listed were executed locally.
archielcqp-a11y commented 2026-11-25 01:01:54 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by archielcqp-a11y on 2026-11-24T23:27:33Z.


@R0Y00 thanks. Addressed in d28d85ea. I took the first option: this slice is now one guest wave per group, with an explicit wave width.

One-wave profile:

  • A group of at most 32 threads is one wave at either guest width and needs no statement.
  • A group of 33 to 64 threads needs --wave-size 64. That value is new, and it is accepted only together with a gfx1013 shared LDS allocation. Everywhere else it is still refused as "Unsupported wave size statement", so the existing readlane and mbcnt controls are unchanged.
  • Larger groups, and groups of more than 32 threads under --wave-size 32, are several guest waves. They are refused with "Shared LDS requires a group of one guest wave".

Within one guest wave, the per-instruction GroupMemoryBarrierWithGroupSync() reproduces the guest's DS program order, even when the desktop runs the group as several host waves (WARP runs the fixture as two 32-wide waves). The multi-wave contract is left for a later change with its own native comparison.

Input contract: now in the shared_lds_step docstring and in docs/experiments.md. It is the caller's guarantee and is not checked:

  • every access is in bounds and aligned: b32 to 4 bytes, wider forms to their size;
  • every word a read or atomic touches was written earlier in the group;
  • no two lanes of one non-atomic write store to the same word.

Outside the contract, the index < N / 4 guard still keeps an access from reaching other words. The docs no longer present that rule as defined behaviour.

Controls:

  • New rejected multi-wave cases:
    • 64 threads without a statement;
    • 64 threads, and a 32 x 2 group, under wave32;
    • 128 threads under wave64;
    • wave64 without a shared allocation, and wave64 on gfx1030.
  • A 32-thread group without a statement is accepted.
  • The eight fixtures now state wave64. The two-workgroup isolation run is unchanged.

@tedin7, on the out-of-range nit: in-bounds accesses are now part of the contract, so I didn't add a fixture past the end. A new control requires the < N / 4u guard on every LDS access in every program. It catches <= in both the read and the write guard.

Mutation check of the new controls:

Mutation Result
no group-size check caught
an unstated 64-thread group accepted caught
read guard <= caught
write guard <= caught

Results: run on b96960b (main) plus this branch, Windows 10 build 19045, debug layer enabled.

Command WARP 1.0.22 (app-local) NVIDIA GeForce RTX 3080, driver 32.0.15.9174
tests/compute_store_check.py draw-lds-shared pass, all 3 mutations caught pass, all 3 mutations caught
every other compute_store_check.py draw mode pass pass

Other checks:

  • compute_store_check.py binary with LLVM 15, which passes --wave-size 64 through the CLI: pass.
  • form_coverage_check, docs_links_check, bidi_controls_check and shader_census_check: pass.

No capability skips.

@thepatrickworld, on wave64 hardware the 64-thread fixture is now the stated single-wave configuration, if you want to re-run it.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:comment:7147423200 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/1566#issuecomment-7147423200). Originally posted by [archielcqp-a11y](https://github.com/archielcqp-a11y) on 2026-11-24T23:27:33Z. --- @R0Y00 thanks. Addressed in d28d85ea. I took the first option: this slice is now one guest wave per group, with an explicit wave width. **One-wave profile:** - A group of at most 32 threads is one wave at either guest width and needs no statement. - A group of 33 to 64 threads needs `--wave-size 64`. That value is new, and it is accepted only together with a gfx1013 shared LDS allocation. Everywhere else it is still refused as "Unsupported wave size statement", so the existing readlane and mbcnt controls are unchanged. - Larger groups, and groups of more than 32 threads under `--wave-size 32`, are several guest waves. They are refused with "Shared LDS requires a group of one guest wave". Within one guest wave, the per-instruction `GroupMemoryBarrierWithGroupSync()` reproduces the guest's DS program order, even when the desktop runs the group as several host waves (WARP runs the fixture as two 32-wide waves). The multi-wave contract is left for a later change with its own native comparison. **Input contract:** now in the `shared_lds_step` docstring and in `docs/experiments.md`. It is the caller's guarantee and is not checked: - every access is in bounds and aligned: b32 to 4 bytes, wider forms to their size; - every word a read or atomic touches was written earlier in the group; - no two lanes of one non-atomic write store to the same word. Outside the contract, the `index < N / 4` guard still keeps an access from reaching other words. The docs no longer present that rule as defined behaviour. **Controls:** - New rejected multi-wave cases: - 64 threads without a statement; - 64 threads, and a 32 x 2 group, under wave32; - 128 threads under wave64; - wave64 without a shared allocation, and wave64 on gfx1030. - A 32-thread group without a statement is accepted. - The eight fixtures now state wave64. The two-workgroup isolation run is unchanged. @tedin7, on the out-of-range nit: in-bounds accesses are now part of the contract, so I didn't add a fixture past the end. A new control requires the `< N / 4u` guard on every LDS access in every program. It catches `<=` in both the read and the write guard. **Mutation check of the new controls:** | Mutation | Result | |---|---| | no group-size check | caught | | an unstated 64-thread group accepted | caught | | read guard `<=` | caught | | write guard `<=` | caught | **Results:** run on `b96960b` (main) plus this branch, Windows 10 build 19045, debug layer enabled. | Command | WARP 1.0.22 (app-local) | NVIDIA GeForce RTX 3080, driver 32.0.15.9174 | |---|---|---| | `tests/compute_store_check.py draw-lds-shared` | pass, all 3 mutations caught | pass, all 3 mutations caught | | every other `compute_store_check.py` draw mode | pass | pass | Other checks: - `compute_store_check.py binary` with LLVM 15, which passes `--wave-size 64` through the CLI: pass. - `form_coverage_check`, `docs_links_check`, `bidi_controls_check` and `shader_census_check`: pass. No capability skips. @thepatrickworld, on wave64 hardware the 64-thread fixture is now the stated single-wave configuration, if you want to re-run it.
thepatrickworld commented 2026-11-25 01:02:08 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by thepatrickworld on 2026-11-25T00:51:51Z.


Independent measurement on AMD

Measured d28d85ea merged onto main (5a0b0aad), merge acfdba45. Nothing below is a code change; the tree carries only the four files of this branch.

Environment

  • Windows 11 25H2, build 26200.9974
  • DXC 1.9.2602.17 (10.0.26100.0 user-mode)
  • hardware: AMD Radeon RX 9070 XT, 1002:7550, driver 32.0.32029.2010
  • WARP 10.0.26100.9818; the debug layer is unavailable in this session, so the runs are without it

Results

test hardware WARP
compute_store_aot_lds_shared_* pass, 5.71 s pass, 3.85 s

Two consecutive runs, same outcome. Across the run the fixture prints 26 comparison lines and every one is mismatches=0; none reports otherwise. That includes the two-workgroup isolation case, which prints groups=2 compared_words=320 mismatches=0, and the single-group case at the same word count.

The whole ^compute_store_aot_lds_ family is 18/18 green here, so the private, packed, arithmetic, replacement and strided slices are unaffected on this adapter by the new profile.

What this covers, and what it does not. It is the AMD half of the new one-wave profile: the 32-thread group without a statement, the 33-to-64 groups under --wave-size 64, and the refusal cases the fixtures exercise. It says nothing about Maxwell, Turing or the RTX 3080 run in the description, since no NVIDIA adapter is available on this machine, and WARP is the reference this comparison is made against rather than an independent implementation of the guest ordering. The multi-wave contract stays untested by choice, as stated above.

AI-assisted; runs executed on the machine above.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:comment:7148967627 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/1566#issuecomment-7148967627). Originally posted by [thepatrickworld](https://github.com/thepatrickworld) on 2026-11-25T00:51:51Z. --- ### Independent measurement on AMD Measured `d28d85ea` merged onto `main` (`5a0b0aad`), merge `acfdba45`. Nothing below is a code change; the tree carries only the four files of this branch. **Environment** - Windows 11 25H2, build 26200.9974 - DXC 1.9.2602.17 (`10.0.26100.0` user-mode) - hardware: AMD Radeon RX 9070 XT, `1002:7550`, driver `32.0.32029.2010` - WARP `10.0.26100.9818`; the debug layer is unavailable in this session, so the runs are without it **Results** | test | hardware | WARP | |---|---|---| | `compute_store_aot_lds_shared_*` | pass, 5.71 s | pass, 3.85 s | Two consecutive runs, same outcome. Across the run the fixture prints 26 comparison lines and every one is `mismatches=0`; none reports otherwise. That includes the two-workgroup isolation case, which prints `groups=2 compared_words=320 mismatches=0`, and the single-group case at the same word count. The whole `^compute_store_aot_lds_` family is 18/18 green here, so the private, packed, arithmetic, replacement and strided slices are unaffected on this adapter by the new profile. **What this covers, and what it does not.** It is the AMD half of the new one-wave profile: the 32-thread group without a statement, the 33-to-64 groups under `--wave-size 64`, and the refusal cases the fixtures exercise. It says nothing about Maxwell, Turing or the RTX 3080 run in the description, since no NVIDIA adapter is available on this machine, and WARP is the reference this comparison is made against rather than an independent implementation of the guest ordering. The multi-wave contract stays untested by choice, as stated above. _AI-assisted; runs executed on the machine above._
tedin7 commented 2026-11-25 13:00:59 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by tedin7 on 2026-11-25T12:44:07Z.


@archielcqp-a11y could you rebase this branch onto current main and force-push?

GitHub reports head d28d85ea as conflicting with main, so it cannot be merged as is.

Files that conflict with current main (b1a644ae):

  • tools/compute_store_aot.py

Commands run locally:

git fetch origin main pull/1566/head
git merge-tree --write-tree --name-only origin/main FETCH_HEAD
gh pr view 1566 --json mergeable   # CONFLICTING

Once it is rebased and CI is green it will be re-checked right away.

AI-assisted; commands listed were executed locally.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:comment:7162781989 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/1566#issuecomment-7162781989). Originally posted by [tedin7](https://github.com/tedin7) on 2026-11-25T12:44:07Z. --- @archielcqp-a11y could you rebase this branch onto current `main` and force-push? GitHub reports head `d28d85ea` as conflicting with `main`, so it cannot be merged as is. Files that conflict with current `main` (`b1a644ae`): - `tools/compute_store_aot.py` Commands run locally: ``` git fetch origin main pull/1566/head git merge-tree --write-tree --name-only origin/main FETCH_HEAD gh pr view 1566 --json mergeable # CONFLICTING ``` Once it is rebased and CI is green it will be re-checked right away. AI-assisted; commands listed were executed locally.
tedin7 commented 2026-11-26 04:04:00 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by tedin7 on 2026-11-26T04:01:08Z.

Review: COMMENTED


@R0Y00's requested change (one guest wave plus an explicit wave-width contract, rejected multi-wave case, retained two-workgroup isolation control) was already implemented by the author in d28d85ea. The PR was only blocked by a merge conflict with main, so I merged origin/main into the branch (plain merge, no rebase, no force) as bb96c631.

What changed in the merge:

  • One conflict in tools/compute_store_aot.py (argparse block near line 3439). Kept both sides: main's --buffer-float-domain and --gather-mips, and this PR's --wave-size with choices (32, 64).
  • No other file needed a manual edit.

Commands executed locally:

  • git merge origin/main (one conflict, resolved as above); python3 -m py_compile tools/compute_store_aot.py; git diff --check origin/main..HEAD: clean
  • Win2025 dev: x2w_pipe.py win2025 1566 --patch <merge diff> --regex 'compute_store_aot.*_warp': 87/87 passed, including compute_store_aot_lds_shared_warp
  • Win2025 release, same command: 87/87 passed
  • A broader run with --regex compute_store_aot also showed compute_store_aot_mac_f32_hardware failing on the VM ("fused mad() instead of unfused multiply+add escaped detection"). That is a hardware-backend test of an unrelated fixture that this merge does not touch; the _warp suites are green.

@R0Y00 could you re-review? @archielcqp-a11y thanks, feel free to adjust.

AI-assisted; commands listed were executed locally.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:review:6068373633 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/1566#pullrequestreview-6068373633). Originally posted by [tedin7](https://github.com/tedin7) on 2026-11-26T04:01:08Z. **Review:** COMMENTED --- @R0Y00's requested change (one guest wave plus an explicit wave-width contract, rejected multi-wave case, retained two-workgroup isolation control) was already implemented by the author in `d28d85ea`. The PR was only blocked by a merge conflict with `main`, so I merged `origin/main` into the branch (plain merge, no rebase, no force) as `bb96c631`. What changed in the merge: - One conflict in `tools/compute_store_aot.py` (argparse block near line 3439). Kept both sides: main's `--buffer-float-domain` and `--gather-mips`, and this PR's `--wave-size` with choices `(32, 64)`. - No other file needed a manual edit. Commands executed locally: - `git merge origin/main` (one conflict, resolved as above); `python3 -m py_compile tools/compute_store_aot.py`; `git diff --check origin/main..HEAD`: clean - Win2025 dev: `x2w_pipe.py win2025 1566 --patch <merge diff> --regex 'compute_store_aot.*_warp'`: 87/87 passed, including `compute_store_aot_lds_shared_warp` - Win2025 release, same command: 87/87 passed - A broader run with `--regex compute_store_aot` also showed `compute_store_aot_mac_f32_hardware` failing on the VM ("fused mad() instead of unfused multiply+add escaped detection"). That is a hardware-backend test of an unrelated fixture that this merge does not touch; the `_warp` suites are green. @R0Y00 could you re-review? @archielcqp-a11y thanks, feel free to adjust. AI-assisted; commands listed were executed locally.
upstream-sync closed this pull request 2026-11-26 05:02:05 +00:00
R0Y00 commented 2026-11-26 05:02:05 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-11-26T04:32:52Z.

Review: APPROVED


The current head retains the one-guest-wave contract and explicit width, refuses multi-wave groups, and keeps the two-workgroup isolation comparison. I ran compute_store_check.py controls plus shared_controls and draw-lds-shared on WARP and RTX 4060 Laptop with the Release offscreen harness. All reference outputs matched, and all three negative mutations produced their expected first mismatch on each backend. The merge tree preserves both CLI option groups. This resolves my prior wave-size review.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:review:6068584157 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/1566#pullrequestreview-6068584157). Originally posted by [R0Y00](https://github.com/R0Y00) on 2026-11-26T04:32:52Z. **Review:** APPROVED --- The current head retains the one-guest-wave contract and explicit width, refuses multi-wave groups, and keeps the two-workgroup isolation comparison. I ran compute_store_check.py controls plus shared_controls and draw-lds-shared on WARP and RTX 4060 Laptop with the Release offscreen harness. All reference outputs matched, and all three negative mutations produced their expected first mismatch on each backend. The merge tree preserves both CLI option groups. This resolves my prior wave-size review.
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
R0Y00/Xbox2Windows!1559
No description provided.