gfx2hlsl: lower the compute buffer store off form when its data is proven wave-uniform #2643

Merged
NiiRoZz merged 4 commits from upstream-pr/2651 into main 2026-11-26 00:40:27 +00:00
NiiRoZz commented 2026-11-26 00:28:23 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by NiiRoZz on 2026-11-26T00:28:23Z.


Refs #1723. Part of #2274. Based on main; no dependency on another open pull request.

What changed

tools/startup/gfx2hlsl.py, compute stage only:

  • A buffer_store_dword{,x2,x3,x4} with neither offen nor idxen (disassembled as off) gives every lane the
    same byte address: soffset (SGPR or inline constant) plus the 12-bit immediate. The active lanes therefore race
    on one location. When every data VGPR holds one proven value in all enabled lanes, the race order does not
    matter. The store then lowers like the accepted offen form without the VGPR term
    (a = (s20 + 8) & 0xfffffffcu; u0.Store(a, v5);). The descriptor, alignment and raw-conversion checks are
    shared with offen through raw_table_uav_store, unchanged.
  • The uniformity proof is the one v_readfirstlane_b32 already uses: in the entry block with a known EXEC, or past
    it with a recomputable expression (no join, EXEC write or overwrite since the definition). It is now shared as
    Stage.proven_uniform_v, and op_v_readfirstlane_b32 calls it; that function's behavior does not change.
  • v_lshrrev_b64, v_lshlrev_b64 and v_ashrrev_i64 with only scalar or literal sources now mark both
    destination halves uniform. They use the same conditions Stage.one applies to the 32-bit UNIFORM_VALU forms
    and record a recomputable expression for each half.
  • Any other off store is still refused, now with its own reason: buffer store off with data not proven wave-uniform. The buffer atomic off form is unchanged.

The address of the off form follows the precedent already in the translator: the vertex-stage off store
(op_buffer_store_vs) and the glc buffer_atomic_add off path both form the address the same way, as soffset
plus the immediate with no VGPR. With offen = idxen = 0 the MUBUF address has no per-lane term. The descriptor
stride is cleared or proven zero by store_descriptor, so a TID-add index contributes nothing either.

Tests

On the branch commit, Windows, out/pe-env Python:

python -B tests/startup_gfx2hlsl_compute_check.py              -> exit 0 ("... offen store forms and the store, descriptor, execz and sample refusals pass")
python -B tests/startup_translator_check.py                    -> exit 0 ("startup translator checks: 0 failed")
python -B tests/startup_gfx2hlsl_readfirstlane_uniform_check.py -> exit 0 (0 failed)
python -B tests/startup_gfx2hlsl_readfirstlane_recompute_check.py -> exit 0 (0 failed)
python -B tests/startup_gfx2hlsl_shift64_check.py              -> exit 0
python -B tests/startup_gfx2hlsl_b64_shift_check.py            -> exit 0 (PASS)
python -B tests/startup_gfx2hlsl_buffer_store_check.py         -> exit 0
python -B tests/startup_compute_buffer_atomics_check.py        -> exit 0
python -B tests/startup_compute_store_format_xyzw_check.py     -> exit 0
python -B tests/startup_gfx2hlsl_refusals_check.py             -> exit 0
python -B tests/startup_gfx2hlsl_op_refusals_check.py          -> exit 0
git diff --check                                               -> clean

New cases in check_off_stores() in tests/startup_gfx2hlsl_compute_check.py. Each one replaces the store of
synthetic case A:

  • v_mov_b32 v5, s20 + buffer_store_dword v5, off, s[16:19], 0 -> a = (0) & 0xfffffffcu; u0.Store(a, v5);
  • the same data with s20 offset:8 -> a = (s20 + 8) & 0xfffffffcu;
  • v_lshrrev_b64 v[5:6], 4, s[20:21] + buffer_store_dwordx2 v[5:6], off, ... -> u0.Store2(a, uint2(v5, v6));
  • past the entry block, inside a v_cmp + s_and_saveexec_b32 + s_cbranch_execz guard: the v_mov_b32 store
    and the 64-bit-shift dwordx2 store are both accepted as if (exec & 1) u0.Store.... This exercises the
    recomputable-expression branch of the proof.

Two dispatched cases were added to CASES. In both, every lane of a group writes the same address, and the
expected output words are computed in the check from the instruction semantics, not from the translator:

  • O-dword: 4 groups of 8 lanes. buffer_store_dword v5, off, s[16:19], s20 offset:8 with v5 = key ^ gid.x
    and s20 = 4 * gid.x. Expected: word 2 + g = key ^ g, and every other word keeps the sentinel.
  • O-shift: 4 groups of 32 lanes, the large group's shape.
    buffer_store_dwordx4 v[4:7], off, s[16:19], s22 stores (gid.x, v_lshrrev_b64 4 of the (key, stride) pair, 0)
    with s22 = 16 * gid.x. Expected: words 4g..4g+3 = (g, low and high words of (stride:key) >> 4, 0).

Built offscreen_check in this worktree with the commands below. The run used the tree of a84b269e, with the
test edits uncommitted at run time but identical to the committed content.

.\tools\dev.ps1; cmake --preset dev -DINTAKE_PYTHON=<repo>/out/pe-env/Scripts/python.exe
cmake --build out/build/dev --target offscreen_check
ctest --test-dir out/build/dev --no-tests=error -R '^startup_gfx2hlsl_compute_(warp|hardware|controls)$' -V
-> 100% tests passed, 0 tests failed out of 3
Test Adapter Result
startup_gfx2hlsl_compute_controls none (pure Python) Passed
startup_gfx2hlsl_compute_warp WARP (Microsoft Basic Render Driver 1414:008c, driver 10.0.26100.10068) Passed: every case, including "case O-dword: all 320 words match" and "case O-shift: all 320 words match"
startup_gfx2hlsl_compute_hardware NVIDIA GeForce RTX 5090 (10de:2b85), driver 32.0.16.2135 (NVIDIA 621.35) Passed: the same lines for O-dword and O-shift

Both runs were on Windows build 10.0.26300.10075 with the debug layer reporting debug_errors=0 debug_warnings=0.
There were no capability skips (77).

Hand-assembled words: six new SPLICE entries and the 8 instructions of the O cases that were not already
recorded. They are assembled from the RDNA 2 SOP1, SOP2, SOPP, VOP1, VOP3 and MUBUF field layouts.
check_hand_words() decodes each with the repository disassembler (tools/disasm_rdna2.py through
gfx2hlsl.D) and asserts that the mnemonic and operands equal the intended source line. The branch is checked by
its decoded target. CI's binary mode also reassembles every CASES source and SPLICE line with llvm-mc 15.
I did not run that locally because no llvm-mc is installed here.

Negative control

  • Each of the following is refused with buffer store off with data not proven wave-uniform:
    • per-lane data from a 64-bit shift of a thread-index VGPR pair (v_lshrrev_b64 v[5:6], 4, v[3:4]);
    • per-lane data from the buffer load in case A (the existing off control row; only its expected reason text
      changed);
    • uniform data written before an EXEC change (v_cmp_gt_u32 + s_mov_b32 exec_lo, vcc_lo);
    • uniform data defined before a saveexec guard and stored inside it. This refusal is conservative: those lanes
      are a subset of the defining lanes, but the proof does not track that.
  • The new test file run against the unchanged translator (the PR base, 8ecaa8ec) fails on its first new assertion.
    That run reports buffer store without the offen address form where the new reason is expected.
  • The dispatched cases O-dword and O-shift are both refused there with the old reason
    buffer store without the offen address form, checked once by translating each case against the base
    translator.

Local observation (counts only)

From one local run's census: 54 compute keys reported ... without the offen address form. Every one is an off
store, except one that is a non-glc buffer atomic off.

Groups (translator tree of that run, data proof evaluated at the refusing store):

Group Keys Dispatches
dwordx4, SGPR soffset, data = SGPR + 64-bit shift of a literal + 0, inside a thread-0 v_cmpx guard 17 2,135,534
dword..x4, soffset 0 or SGPR, all data proven by the existing 32-bit proof 25 116,584
data not provable (loads or per-lane values; one key with a uniform VGPR but no recomputable expression) 11 52,737
non-glc atomic off (out of scope) 1 4,141

After the change:

  • On this PR's base (origin/main), 12 keys translate (53,871 dispatches) and 7 keep the new named refusal
    (52,785). Of these 7, one key accepts an earlier off store and is refused at a later one. 2 keys accept their
    off store and then stop at v_readfirstlane_b32. 33 keys never reach the store, because they stop at earlier
    refusals that this PR does not touch and that other local branches fix: resource-heap s_load 14,
    v_readfirstlane_b32 13, other 6.
  • With all local translator fixes applied:
    • 26 keys translate (107,648 dispatches).
    • 8 keep the named refusal (52,707).
    • 1 atomic key is unchanged (4,141).
    • 19 keys accept every off store they reach (checked per key by hooking the store handler) and then stop at a
      different refusal, so they are not counted as a success:
      • s_cbranch_execz skip-per-lane definitions: 12 keys, 2,036,962 dispatches. This includes the 17-key group's
        largest members.
      • resource-heap record offset: 2 keys, 85,163.
      • descriptor used for a load and a store: 4 keys, 17,900.
      • v_readfirstlane_b32: 1 key, 4,475.

Measured versus hypothesis

  • Measured:
    • the translator output text for the synthetic cases above;
    • the D3D12 readback of the translated O cases on WARP and on an RTX 5090: all 320 words match the
      independently computed words, with 8 and 32 lanes per group writing the same address;
    • the refusal and acceptance counts on local requests.
  • Hypothesis, not measured: that the source gfx1013 program stores the same words on its own hardware. The readback
    shows only that the translated HLSL matches the expected semantics on desktop GPUs. The & 0xfffffffcu rounding
    of a register soffset is the existing offen assumption (#2059). The view range for out-of-range stores is also
    the existing offen assumption.

Not verified

  • llvm-mc reassembly of the hand-assembled words, both the SPLICE entries and the O case sources. This is left
    to CI's binary mode; locally the words are checked only against the repository disassembler.
  • The dispatch binds the runner's root SRV, root UAV and constants, not the manifest's table and descriptor fetch.
    This is the same limit every case in this check has.
  • A GPU result for per-lane data in the off form. That form is refused at translation, so the race with
    differing values is never dispatched.
  • AMD hardware: the hardware run was on NVIDIA.
  • Whether the translated keys run correctly at run time: no title executable was started.

🤖 Generated with Claude Code

<!-- greyfinch-sync:R0Y00/Xbox2Windows:issue:6616672639 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/2651). Originally posted by [NiiRoZz](https://github.com/NiiRoZz) on 2026-11-26T00:28:23Z. --- Refs #1723. Part of #2274. Based on `main`; no dependency on another open pull request. ## What changed `tools/startup/gfx2hlsl.py`, compute stage only: - A `buffer_store_dword{,x2,x3,x4}` with neither `offen` nor `idxen` (disassembled as `off`) gives every lane the same byte address: soffset (SGPR or inline constant) plus the 12-bit immediate. The active lanes therefore race on one location. When every data VGPR holds one proven value in all enabled lanes, the race order does not matter. The store then lowers like the accepted `offen` form without the VGPR term (`a = (s20 + 8) & 0xfffffffcu; u0.Store(a, v5);`). The descriptor, alignment and raw-conversion checks are shared with `offen` through `raw_table_uav_store`, unchanged. - The uniformity proof is the one `v_readfirstlane_b32` already uses: in the entry block with a known EXEC, or past it with a recomputable expression (no join, EXEC write or overwrite since the definition). It is now shared as `Stage.proven_uniform_v`, and `op_v_readfirstlane_b32` calls it; that function's behavior does not change. - `v_lshrrev_b64`, `v_lshlrev_b64` and `v_ashrrev_i64` with only scalar or literal sources now mark both destination halves uniform. They use the same conditions `Stage.one` applies to the 32-bit `UNIFORM_VALU` forms and record a recomputable expression for each half. - Any other `off` store is still refused, now with its own reason: `buffer store off with data not proven wave-uniform`. The `buffer atomic` `off` form is unchanged. The address of the `off` form follows the precedent already in the translator: the vertex-stage `off` store (`op_buffer_store_vs`) and the glc `buffer_atomic_add` `off` path both form the address the same way, as soffset plus the immediate with no VGPR. With `offen = idxen = 0` the MUBUF address has no per-lane term. The descriptor stride is cleared or proven zero by `store_descriptor`, so a TID-add index contributes nothing either. ## Tests On the branch commit, Windows, `out/pe-env` Python: ``` python -B tests/startup_gfx2hlsl_compute_check.py -> exit 0 ("... offen store forms and the store, descriptor, execz and sample refusals pass") python -B tests/startup_translator_check.py -> exit 0 ("startup translator checks: 0 failed") python -B tests/startup_gfx2hlsl_readfirstlane_uniform_check.py -> exit 0 (0 failed) python -B tests/startup_gfx2hlsl_readfirstlane_recompute_check.py -> exit 0 (0 failed) python -B tests/startup_gfx2hlsl_shift64_check.py -> exit 0 python -B tests/startup_gfx2hlsl_b64_shift_check.py -> exit 0 (PASS) python -B tests/startup_gfx2hlsl_buffer_store_check.py -> exit 0 python -B tests/startup_compute_buffer_atomics_check.py -> exit 0 python -B tests/startup_compute_store_format_xyzw_check.py -> exit 0 python -B tests/startup_gfx2hlsl_refusals_check.py -> exit 0 python -B tests/startup_gfx2hlsl_op_refusals_check.py -> exit 0 git diff --check -> clean ``` New cases in `check_off_stores()` in `tests/startup_gfx2hlsl_compute_check.py`. Each one replaces the store of synthetic case A: - `v_mov_b32 v5, s20` + `buffer_store_dword v5, off, s[16:19], 0` -> `a = (0) & 0xfffffffcu; u0.Store(a, v5);` - the same data with `s20 offset:8` -> `a = (s20 + 8) & 0xfffffffcu;` - `v_lshrrev_b64 v[5:6], 4, s[20:21]` + `buffer_store_dwordx2 v[5:6], off, ...` -> `u0.Store2(a, uint2(v5, v6));` - past the entry block, inside a `v_cmp` + `s_and_saveexec_b32` + `s_cbranch_execz` guard: the `v_mov_b32` store and the 64-bit-shift `dwordx2` store are both accepted as `if (exec & 1) u0.Store...`. This exercises the recomputable-expression branch of the proof. Two dispatched cases were added to `CASES`. In both, every lane of a group writes the same address, and the expected output words are computed in the check from the instruction semantics, not from the translator: - `O-dword`: 4 groups of 8 lanes. `buffer_store_dword v5, off, s[16:19], s20 offset:8` with `v5 = key ^ gid.x` and `s20 = 4 * gid.x`. Expected: word `2 + g` = `key ^ g`, and every other word keeps the sentinel. - `O-shift`: 4 groups of 32 lanes, the large group's shape. `buffer_store_dwordx4 v[4:7], off, s[16:19], s22` stores `(gid.x, v_lshrrev_b64 4 of the (key, stride) pair, 0)` with `s22 = 16 * gid.x`. Expected: words `4g..4g+3` = `(g, low and high words of (stride:key) >> 4, 0)`. Built `offscreen_check` in this worktree with the commands below. The run used the tree of a84b269e, with the test edits uncommitted at run time but identical to the committed content. ``` .\tools\dev.ps1; cmake --preset dev -DINTAKE_PYTHON=<repo>/out/pe-env/Scripts/python.exe cmake --build out/build/dev --target offscreen_check ctest --test-dir out/build/dev --no-tests=error -R '^startup_gfx2hlsl_compute_(warp|hardware|controls)$' -V -> 100% tests passed, 0 tests failed out of 3 ``` | Test | Adapter | Result | |---|---|---| | `startup_gfx2hlsl_compute_controls` | none (pure Python) | Passed | | `startup_gfx2hlsl_compute_warp` | WARP (Microsoft Basic Render Driver 1414:008c, driver 10.0.26100.10068) | Passed: every case, including "case O-dword: all 320 words match" and "case O-shift: all 320 words match" | | `startup_gfx2hlsl_compute_hardware` | NVIDIA GeForce RTX 5090 (10de:2b85), driver 32.0.16.2135 (NVIDIA 621.35) | Passed: the same lines for O-dword and O-shift | Both runs were on Windows build 10.0.26300.10075 with the debug layer reporting `debug_errors=0 debug_warnings=0`. There were no capability skips (77). Hand-assembled words: six new `SPLICE` entries and the 8 instructions of the O cases that were not already recorded. They are assembled from the RDNA 2 SOP1, SOP2, SOPP, VOP1, VOP3 and MUBUF field layouts. `check_hand_words()` decodes each with the repository disassembler (`tools/disasm_rdna2.py` through `gfx2hlsl.D`) and asserts that the mnemonic and operands equal the intended source line. The branch is checked by its decoded target. CI's `binary` mode also reassembles every `CASES` source and `SPLICE` line with llvm-mc 15. I did not run that locally because no llvm-mc is installed here. ## Negative control - Each of the following is refused with `buffer store off with data not proven wave-uniform`: - per-lane data from a 64-bit shift of a thread-index VGPR pair (`v_lshrrev_b64 v[5:6], 4, v[3:4]`); - per-lane data from the buffer load in case A (the existing `off` control row; only its expected reason text changed); - uniform data written before an EXEC change (`v_cmp_gt_u32` + `s_mov_b32 exec_lo, vcc_lo`); - uniform data defined before a saveexec guard and stored inside it. This refusal is conservative: those lanes are a subset of the defining lanes, but the proof does not track that. - The new test file run against the unchanged translator (the PR base, 8ecaa8ec) fails on its first new assertion. That run reports `buffer store without the offen address form` where the new reason is expected. - The dispatched cases `O-dword` and `O-shift` are both refused there with the old reason `buffer store without the offen address form`, checked once by translating each case against the base translator. ## Local observation (counts only) From one local run's census: 54 compute keys reported `... without the offen address form`. Every one is an `off` store, except one that is a non-`glc` `buffer atomic` `off`. Groups (translator tree of that run, data proof evaluated at the refusing store): | Group | Keys | Dispatches | |---|---:|---:| | dwordx4, SGPR soffset, data = SGPR + 64-bit shift of a literal + 0, inside a thread-0 `v_cmpx` guard | 17 | 2,135,534 | | dword..x4, soffset 0 or SGPR, all data proven by the existing 32-bit proof | 25 | 116,584 | | data not provable (loads or per-lane values; one key with a uniform VGPR but no recomputable expression) | 11 | 52,737 | | non-`glc` atomic `off` (out of scope) | 1 | 4,141 | After the change: - On this PR's base (origin/main), 12 keys translate (53,871 dispatches) and 7 keep the new named refusal (52,785). Of these 7, one key accepts an earlier `off` store and is refused at a later one. 2 keys accept their `off` store and then stop at `v_readfirstlane_b32`. 33 keys never reach the store, because they stop at earlier refusals that this PR does not touch and that other local branches fix: resource-heap `s_load` 14, `v_readfirstlane_b32` 13, other 6. - With all local translator fixes applied: - 26 keys translate (107,648 dispatches). - 8 keep the named refusal (52,707). - 1 atomic key is unchanged (4,141). - 19 keys accept every `off` store they reach (checked per key by hooking the store handler) and then stop at a different refusal, so they are not counted as a success: - `s_cbranch_execz` skip-per-lane definitions: 12 keys, 2,036,962 dispatches. This includes the 17-key group's largest members. - resource-heap record offset: 2 keys, 85,163. - descriptor used for a load and a store: 4 keys, 17,900. - `v_readfirstlane_b32`: 1 key, 4,475. ## Measured versus hypothesis - Measured: - the translator output text for the synthetic cases above; - the D3D12 readback of the translated O cases on WARP and on an RTX 5090: all 320 words match the independently computed words, with 8 and 32 lanes per group writing the same address; - the refusal and acceptance counts on local requests. - Hypothesis, not measured: that the source gfx1013 program stores the same words on its own hardware. The readback shows only that the translated HLSL matches the expected semantics on desktop GPUs. The `& 0xfffffffcu` rounding of a register soffset is the existing `offen` assumption (#2059). The view range for out-of-range stores is also the existing `offen` assumption. ## Not verified - llvm-mc reassembly of the hand-assembled words, both the `SPLICE` entries and the O case sources. This is left to CI's `binary` mode; locally the words are checked only against the repository disassembler. - The dispatch binds the runner's root SRV, root UAV and constants, not the manifest's table and descriptor fetch. This is the same limit every case in this check has. - A GPU result for per-lane data in the `off` form. That form is refused at translation, so the race with differing values is never dispatched. - AMD hardware: the hardware run was on NVIDIA. - Whether the translated keys run correctly at run time: no title executable was started. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
upstream-sync closed this pull request 2026-11-26 01:02:05 +00:00
tedin7 commented 2026-11-26 01:02:06 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by tedin7 on 2026-11-26T00:31:37Z.

Review: COMMENTED


Review of head a84b269e (comment only, not an approval).

What I checked:

  • raw_table_uav_store: the off form is accepted only when uniform_off is set (compute buffer store); the atomic off path keeps its old rule. Immediate offset with off is allowed only on that path.
  • proven_uniform_v is the old v_readfirstlane_b32 condition moved into a helper; the readfirstlane call site keeps the same behavior.
  • v_lshrrev_b64 / v_lshlrev_b64 / v_ashrrev_i64: both halves marked uniform only for scalar/literal sources, with the same entry-block / recomputable-expression conditions as the 32-bit forms.
  • Tests: the new cases O-dword and O-shift are dispatched (GPU readback against a CPU reference), plus HLSL shape checks, hand-assembled words decoded with the repo disassembler, and negative controls (per-lane data, EXEC change before the store, saveexec between definition and store).
  • This is fixture-level only; no startup or game claim is made or verified here.

Commands run locally (Linux):

  • python3 tests/startup_gfx2hlsl_compute_check.py pass
  • python3 tests/docs_links_check.py pass, python3 tests/bidi_controls_check.py pass, git diff --check origin/main...HEAD clean
  • Mutation 1: disabled the not proven wave-uniform refusal -> the test fails ("accepted, expected a refusal").
  • Mutation 2: made proven_uniform_v ignore uniform_v -> the test fails the same way.

No blocking findings. The Windows WARP dispatch of O-dword / O-shift is covered by the Win2025 run, which I will post separately.

AI-assisted; commands listed were executed locally.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:review:6066932710 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/2651#pullrequestreview-6066932710). Originally posted by [tedin7](https://github.com/tedin7) on 2026-11-26T00:31:37Z. **Review:** COMMENTED --- Review of head a84b269e (comment only, not an approval). What I checked: - `raw_table_uav_store`: the `off` form is accepted only when `uniform_off` is set (compute buffer store); the atomic `off` path keeps its old rule. Immediate offset with `off` is allowed only on that path. - `proven_uniform_v` is the old `v_readfirstlane_b32` condition moved into a helper; the readfirstlane call site keeps the same behavior. - `v_lshrrev_b64` / `v_lshlrev_b64` / `v_ashrrev_i64`: both halves marked uniform only for scalar/literal sources, with the same entry-block / recomputable-expression conditions as the 32-bit forms. - Tests: the new cases O-dword and O-shift are dispatched (GPU readback against a CPU reference), plus HLSL shape checks, hand-assembled words decoded with the repo disassembler, and negative controls (per-lane data, EXEC change before the store, saveexec between definition and store). - This is fixture-level only; no startup or game claim is made or verified here. Commands run locally (Linux): - `python3 tests/startup_gfx2hlsl_compute_check.py` pass - `python3 tests/docs_links_check.py` pass, `python3 tests/bidi_controls_check.py` pass, `git diff --check origin/main...HEAD` clean - Mutation 1: disabled the `not proven wave-uniform` refusal -> the test fails ("accepted, expected a refusal"). - Mutation 2: made `proven_uniform_v` ignore `uniform_v` -> the test fails the same way. No blocking findings. The Windows WARP dispatch of O-dword / O-shift is covered by the Win2025 run, which I will post separately. AI-assisted; commands listed were executed locally.
tedin7 commented 2026-11-26 01:02:12 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by tedin7 on 2026-11-26T00:40:18Z.


Win2025 WARP receipt for head 6d6caa3a after updating with main.

Verified on Windows Server 2025 (Build 26100, MSVC 14.44.35207 + D3D12 WARP) at commit 6d6caa3abf8a495b7196da87559411b4034d8c9f:

  • Debug (--preset dev):
    • Build (cmake --build --preset dev --target d3d12_xs_device_obj d3d12_xs_shim startup_buffer_format_word3_check -- -j 2): 42.50s (configure 4.34s)
    • Test (ctest --preset dev -R 'startup_gfx2hlsl_compute' --parallel 2 --no-tests=error --output-on-failure): 29/29 passed (7.93s: startup_gfx2hlsl_compute_mbcnt_warp 0.80s, startup_gfx2hlsl_compute_swapped-axes_warp 0.33s, startup_gfx2hlsl_compute_c-unpredicated_warp 0.31s, startup_gfx2hlsl_compute_b-offset_warp 0.33s, startup_gfx2hlsl_compute_controls 0.61s, startup_gfx2hlsl_compute_warp 2.72s, startup_gfx2hlsl_compute_dropped-store_warp 0.32s, startup_gfx2hlsl_compute_h-inner-unpredicated_warp 0.30s, startup_gfx2hlsl_compute_g-swapped-offsets_warp 0.33s, startup_gfx2hlsl_compute_f-broadcast_warp 0.30s, startup_gfx2hlsl_compute_j-scalar-dropped_warp 0.31s, startup_gfx2hlsl_compute_f-peer_warp 0.33s, startup_gfx2hlsl_compute_g-overlap_warp 0.34s, startup_gfx2hlsl_compute_k-block-entered_warp 0.32s, startup_gfx2hlsl_compute_m-else-unswitched_warp 0.31s, startup_gfx2hlsl_compute_mbcnt_hardware 0.75s, startup_gfx2hlsl_compute_swapped-axes_hardware 0.34s, startup_gfx2hlsl_compute_dropped-store_hardware 0.31s, startup_gfx2hlsl_compute_b-offset_hardware 0.32s, startup_gfx2hlsl_compute_c-unpredicated_hardware 0.35s, startup_gfx2hlsl_compute_f-peer_hardware 0.33s, startup_gfx2hlsl_compute_hardware 2.66s, startup_gfx2hlsl_compute_f-broadcast_hardware 0.36s, startup_gfx2hlsl_compute_g-swapped-offsets_hardware 0.31s, startup_gfx2hlsl_compute_g-overlap_hardware 0.35s, startup_gfx2hlsl_compute_j-scalar-dropped_hardware 0.35s, startup_gfx2hlsl_compute_h-inner-unpredicated_hardware 0.35s, startup_gfx2hlsl_compute_k-block-entered_hardware 0.31s, startup_gfx2hlsl_compute_m-else-unswitched_hardware 0.31s)
  • Release /O2 (--preset release):
    • Build (cmake --build --preset release --target d3d12_xs_device_obj d3d12_xs_shim startup_buffer_format_word3_check -- -j 2): 69.50s (configure 2.66s)
    • Test (ctest --preset release -R 'startup_gfx2hlsl_compute' --parallel 2 --no-tests=error --output-on-failure): 29/29 passed (7.03s: startup_gfx2hlsl_compute_mbcnt_warp 0.63s, startup_gfx2hlsl_compute_controls 0.43s, startup_gfx2hlsl_compute_swapped-axes_warp 0.24s, startup_gfx2hlsl_compute_b-offset_warp 0.27s, startup_gfx2hlsl_compute_dropped-store_warp 0.28s, startup_gfx2hlsl_compute_c-unpredicated_warp 0.30s, startup_gfx2hlsl_compute_warp 2.19s, startup_gfx2hlsl_compute_f-peer_warp 0.29s, startup_gfx2hlsl_compute_g-swapped-offsets_warp 0.28s, startup_gfx2hlsl_compute_g-overlap_warp 0.28s, startup_gfx2hlsl_compute_j-scalar-dropped_warp 0.27s, startup_gfx2hlsl_compute_f-broadcast_warp 0.26s, startup_gfx2hlsl_compute_h-inner-unpredicated_warp 0.27s, startup_gfx2hlsl_compute_k-block-entered_warp 0.27s, startup_gfx2hlsl_compute_m-else-unswitched_warp 0.28s, startup_gfx2hlsl_compute_mbcnt_hardware 0.74s, startup_gfx2hlsl_compute_swapped-axes_hardware 0.31s, startup_gfx2hlsl_compute_dropped-store_hardware 0.31s, startup_gfx2hlsl_compute_b-offset_hardware 0.29s, startup_gfx2hlsl_compute_c-unpredicated_hardware 0.30s, startup_gfx2hlsl_compute_f-peer_hardware 0.29s, startup_gfx2hlsl_compute_hardware 2.48s, startup_gfx2hlsl_compute_f-broadcast_hardware 0.35s, startup_gfx2hlsl_compute_g-swapped-offsets_hardware 0.33s, startup_gfx2hlsl_compute_g-overlap_hardware 0.33s, startup_gfx2hlsl_compute_j-scalar-dropped_hardware 0.32s, startup_gfx2hlsl_compute_h-inner-unpredicated_hardware 0.33s, startup_gfx2hlsl_compute_k-block-entered_hardware 0.31s, startup_gfx2hlsl_compute_m-else-unswitched_hardware 0.32s)
  • Windows Python checks: tests/mesh_heap_sampler_check.py ok (0.8s), tests/startup_buffer_address_check.py ok (0.6s), tests/startup_buffer_format_word3_table_check.py ok (0.1s), tests/startup_compute_image_store_check.py ok (1.0s), tests/startup_compute_image_store_d16_check.py ok (0.9s), tests/startup_compute_request_offline_check.py ok (0.9s), tests/startup_compute_store_format_xyzw_check.py ok (0.5s), tests/startup_compute_translate_check.py ok (0.4s), tests/startup_flat_param_check.py ok (0.3s), tests/startup_gfx2hlsl_add_sub_co_check.py ok (0.2s), tests/startup_gfx2hlsl_add_sub_co_ci_check.py ok (0.3s), tests/startup_gfx2hlsl_bit_alu_check.py ok (1.4s), tests/startup_gfx2hlsl_capture_check.py ok (1.8s), tests/startup_gfx2hlsl_cmp16_check.py ok (0.6s), tests/startup_gfx2hlsl_compare_dst_check.py ok (0.2s), tests/startup_gfx2hlsl_compute_check.py ok (0.8s), tests/startup_gfx2hlsl_cselect_mask_check.py ok (0.2s), tests/startup_gfx2hlsl_cvt_alu_check.py ok (0.4s), tests/startup_gfx2hlsl_cvt_off_f32_i4_check.py ok (0.4s), tests/startup_gfx2hlsl_cvt_pk_int16_check.py ok (0.5s), tests/startup_gfx2hlsl_f32_lg_check.py ok (2.4s), tests/startup_gfx2hlsl_f32_nan_check.py ok (7.8s), tests/startup_gfx2hlsl_fma_mix_check.py ok (0.1s), tests/startup_gfx2hlsl_getpc_refusal_check.py ok (0.1s), tests/startup_gfx2hlsl_handler_arity_check.py ok (0.1s), tests/startup_gfx2hlsl_image_arity_check.py ok (0.1s), tests/startup_gfx2hlsl_image_get_lod_check.py ok (0.2s), tests/startup_gfx2hlsl_int_med3_check.py ok (0.2s), tests/startup_gfx2hlsl_interp_p2_hi_check.py ok (0.3s), tests/startup_gfx2hlsl_join_symbols_check.py ok (0.3s), tests/startup_gfx2hlsl_loop_constants_check.py ok (0.1s), tests/startup_gfx2hlsl_mask_data_check.py ok (0.1s), tests/startup_gfx2hlsl_mask_overwrite_check.py ok (0.1s), tests/startup_gfx2hlsl_operand_count_check.py ok (0.4s), tests/startup_gfx2hlsl_pack_absdiff_check.py ok (5.1s), tests/startup_gfx2hlsl_pack_b32_f16_check.py ok (0.3s), tests/startup_gfx2hlsl_readfirstlane_recompute_check.py ok (0.1s), tests/startup_gfx2hlsl_readfirstlane_uniform_check.py ok (0.2s), tests/startup_gfx2hlsl_refusals_check.py ok (1.1s), tests/startup_gfx2hlsl_root_check.py ok (1.2s), tests/startup_gfx2hlsl_s_abs_check.py ok (0.2s), tests/startup_gfx2hlsl_s_bitset_check.py ok (0.1s), tests/startup_gfx2hlsl_sad_check.py ok (0.5s), tests/startup_gfx2hlsl_saveexec_same_reg_check.py ok (0.2s), tests/startup_gfx2hlsl_scalar_arity_check.py ok (0.4s), tests/startup_gfx2hlsl_scalar_brev_fold_check.py ok (0.3s), tests/startup_gfx2hlsl_scalar_m0_check.py ok (0.3s), tests/startup_gfx2hlsl_scalar_table_arity_check.py ok (0.6s), tests/startup_gfx2hlsl_sdwa_cvt_check.py ok (0.3s), tests/startup_gfx2hlsl_sgpr_spill_check.py ok (0.4s), tests/startup_gfx2hlsl_shift64_check.py ok (0.4s), tests/startup_gfx2hlsl_sload_const_offset_check.py ok (0.2s), tests/startup_gfx2hlsl_smem_offset_check.py ok (0.2s), tests/startup_gfx2hlsl_sop2_complement_check.py ok (12.3s), tests/startup_gfx2hlsl_sopk_accum_check.py ok (1.9s), tests/startup_gfx2hlsl_sopk_signext_check.py ok (0.2s), tests/startup_gfx2hlsl_swap_check.py ok (0.6s), tests/startup_gfx2hlsl_vopc_sdwa_check.py ok (8.9s), tests/startup_gfx2hlsl_waitcnt_depctr_check.py ok (0.1s), tests/startup_gfx2hlsl_watch_check.py ok (3.2s), tests/startup_image_2d_array_check.py ok (0.3s), tests/startup_image_3d_check.py ok (0.3s), tests/startup_image_gather_lz_check.py ok (1.0s), tests/startup_image_load_d16_check.py ok (2.3s), tests/startup_image_sample_a16_check.py ok (0.4s), tests/startup_image_sample_b_check.py ok (0.4s), tests/startup_image_sample_c_check.py ok (0.3s), tests/startup_image_sample_l_check.py ok (0.3s), tests/startup_image_sample_lod_check.py ok (1.1s), tests/startup_inline_sampler_check.py ok (0.3s), tests/startup_mesh57_loop_refusal_check.py ok (0.3s), tests/startup_mesh57_skeleton_check.py ok (1.0s), tests/startup_run_ps1_check.py ok (20.4s), tests/startup_run_sh_check.py skipped (0.1s), tests/startup_sampler_heap_check.py ok (0.3s), tests/startup_shader_cache_rekey_check.py ok (4.2s), tests/startup_smem_address_check.py ok (0.3s), tests/startup_stream_fetch_check.py ok (0.3s), tests/startup_stream_interface_check.py ok (0.4s), tests/startup_translator_check.py ok (0.8s)
  • sccache: 71/107 hits; wall 236.4s

AI-assisted; commands listed were executed locally.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:comment:7178996638 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/2651#issuecomment-7178996638). Originally posted by [tedin7](https://github.com/tedin7) on 2026-11-26T00:40:18Z. --- Win2025 WARP receipt for head 6d6caa3a after updating with main. Verified on Windows Server 2025 (Build 26100, MSVC 14.44.35207 + D3D12 WARP) at commit `6d6caa3abf8a495b7196da87559411b4034d8c9f`: - **Debug (`--preset dev`)**: - Build (`cmake --build --preset dev --target d3d12_xs_device_obj d3d12_xs_shim startup_buffer_format_word3_check -- -j 2`): `42.50s` (configure `4.34s`) - Test (`ctest --preset dev -R 'startup_gfx2hlsl_compute' --parallel 2 --no-tests=error --output-on-failure`): **29/29 passed** (`7.93s`: `startup_gfx2hlsl_compute_mbcnt_warp` `0.80s`, `startup_gfx2hlsl_compute_swapped-axes_warp` `0.33s`, `startup_gfx2hlsl_compute_c-unpredicated_warp` `0.31s`, `startup_gfx2hlsl_compute_b-offset_warp` `0.33s`, `startup_gfx2hlsl_compute_controls` `0.61s`, `startup_gfx2hlsl_compute_warp` `2.72s`, `startup_gfx2hlsl_compute_dropped-store_warp` `0.32s`, `startup_gfx2hlsl_compute_h-inner-unpredicated_warp` `0.30s`, `startup_gfx2hlsl_compute_g-swapped-offsets_warp` `0.33s`, `startup_gfx2hlsl_compute_f-broadcast_warp` `0.30s`, `startup_gfx2hlsl_compute_j-scalar-dropped_warp` `0.31s`, `startup_gfx2hlsl_compute_f-peer_warp` `0.33s`, `startup_gfx2hlsl_compute_g-overlap_warp` `0.34s`, `startup_gfx2hlsl_compute_k-block-entered_warp` `0.32s`, `startup_gfx2hlsl_compute_m-else-unswitched_warp` `0.31s`, `startup_gfx2hlsl_compute_mbcnt_hardware` `0.75s`, `startup_gfx2hlsl_compute_swapped-axes_hardware` `0.34s`, `startup_gfx2hlsl_compute_dropped-store_hardware` `0.31s`, `startup_gfx2hlsl_compute_b-offset_hardware` `0.32s`, `startup_gfx2hlsl_compute_c-unpredicated_hardware` `0.35s`, `startup_gfx2hlsl_compute_f-peer_hardware` `0.33s`, `startup_gfx2hlsl_compute_hardware` `2.66s`, `startup_gfx2hlsl_compute_f-broadcast_hardware` `0.36s`, `startup_gfx2hlsl_compute_g-swapped-offsets_hardware` `0.31s`, `startup_gfx2hlsl_compute_g-overlap_hardware` `0.35s`, `startup_gfx2hlsl_compute_j-scalar-dropped_hardware` `0.35s`, `startup_gfx2hlsl_compute_h-inner-unpredicated_hardware` `0.35s`, `startup_gfx2hlsl_compute_k-block-entered_hardware` `0.31s`, `startup_gfx2hlsl_compute_m-else-unswitched_hardware` `0.31s`) - **Release `/O2` (`--preset release`)**: - Build (`cmake --build --preset release --target d3d12_xs_device_obj d3d12_xs_shim startup_buffer_format_word3_check -- -j 2`): `69.50s` (configure `2.66s`) - Test (`ctest --preset release -R 'startup_gfx2hlsl_compute' --parallel 2 --no-tests=error --output-on-failure`): **29/29 passed** (`7.03s`: `startup_gfx2hlsl_compute_mbcnt_warp` `0.63s`, `startup_gfx2hlsl_compute_controls` `0.43s`, `startup_gfx2hlsl_compute_swapped-axes_warp` `0.24s`, `startup_gfx2hlsl_compute_b-offset_warp` `0.27s`, `startup_gfx2hlsl_compute_dropped-store_warp` `0.28s`, `startup_gfx2hlsl_compute_c-unpredicated_warp` `0.30s`, `startup_gfx2hlsl_compute_warp` `2.19s`, `startup_gfx2hlsl_compute_f-peer_warp` `0.29s`, `startup_gfx2hlsl_compute_g-swapped-offsets_warp` `0.28s`, `startup_gfx2hlsl_compute_g-overlap_warp` `0.28s`, `startup_gfx2hlsl_compute_j-scalar-dropped_warp` `0.27s`, `startup_gfx2hlsl_compute_f-broadcast_warp` `0.26s`, `startup_gfx2hlsl_compute_h-inner-unpredicated_warp` `0.27s`, `startup_gfx2hlsl_compute_k-block-entered_warp` `0.27s`, `startup_gfx2hlsl_compute_m-else-unswitched_warp` `0.28s`, `startup_gfx2hlsl_compute_mbcnt_hardware` `0.74s`, `startup_gfx2hlsl_compute_swapped-axes_hardware` `0.31s`, `startup_gfx2hlsl_compute_dropped-store_hardware` `0.31s`, `startup_gfx2hlsl_compute_b-offset_hardware` `0.29s`, `startup_gfx2hlsl_compute_c-unpredicated_hardware` `0.30s`, `startup_gfx2hlsl_compute_f-peer_hardware` `0.29s`, `startup_gfx2hlsl_compute_hardware` `2.48s`, `startup_gfx2hlsl_compute_f-broadcast_hardware` `0.35s`, `startup_gfx2hlsl_compute_g-swapped-offsets_hardware` `0.33s`, `startup_gfx2hlsl_compute_g-overlap_hardware` `0.33s`, `startup_gfx2hlsl_compute_j-scalar-dropped_hardware` `0.32s`, `startup_gfx2hlsl_compute_h-inner-unpredicated_hardware` `0.33s`, `startup_gfx2hlsl_compute_k-block-entered_hardware` `0.31s`, `startup_gfx2hlsl_compute_m-else-unswitched_hardware` `0.32s`) - **Windows Python checks**: `tests/mesh_heap_sampler_check.py` ok (`0.8s`), `tests/startup_buffer_address_check.py` ok (`0.6s`), `tests/startup_buffer_format_word3_table_check.py` ok (`0.1s`), `tests/startup_compute_image_store_check.py` ok (`1.0s`), `tests/startup_compute_image_store_d16_check.py` ok (`0.9s`), `tests/startup_compute_request_offline_check.py` ok (`0.9s`), `tests/startup_compute_store_format_xyzw_check.py` ok (`0.5s`), `tests/startup_compute_translate_check.py` ok (`0.4s`), `tests/startup_flat_param_check.py` ok (`0.3s`), `tests/startup_gfx2hlsl_add_sub_co_check.py` ok (`0.2s`), `tests/startup_gfx2hlsl_add_sub_co_ci_check.py` ok (`0.3s`), `tests/startup_gfx2hlsl_bit_alu_check.py` ok (`1.4s`), `tests/startup_gfx2hlsl_capture_check.py` ok (`1.8s`), `tests/startup_gfx2hlsl_cmp16_check.py` ok (`0.6s`), `tests/startup_gfx2hlsl_compare_dst_check.py` ok (`0.2s`), `tests/startup_gfx2hlsl_compute_check.py` ok (`0.8s`), `tests/startup_gfx2hlsl_cselect_mask_check.py` ok (`0.2s`), `tests/startup_gfx2hlsl_cvt_alu_check.py` ok (`0.4s`), `tests/startup_gfx2hlsl_cvt_off_f32_i4_check.py` ok (`0.4s`), `tests/startup_gfx2hlsl_cvt_pk_int16_check.py` ok (`0.5s`), `tests/startup_gfx2hlsl_f32_lg_check.py` ok (`2.4s`), `tests/startup_gfx2hlsl_f32_nan_check.py` ok (`7.8s`), `tests/startup_gfx2hlsl_fma_mix_check.py` ok (`0.1s`), `tests/startup_gfx2hlsl_getpc_refusal_check.py` ok (`0.1s`), `tests/startup_gfx2hlsl_handler_arity_check.py` ok (`0.1s`), `tests/startup_gfx2hlsl_image_arity_check.py` ok (`0.1s`), `tests/startup_gfx2hlsl_image_get_lod_check.py` ok (`0.2s`), `tests/startup_gfx2hlsl_int_med3_check.py` ok (`0.2s`), `tests/startup_gfx2hlsl_interp_p2_hi_check.py` ok (`0.3s`), `tests/startup_gfx2hlsl_join_symbols_check.py` ok (`0.3s`), `tests/startup_gfx2hlsl_loop_constants_check.py` ok (`0.1s`), `tests/startup_gfx2hlsl_mask_data_check.py` ok (`0.1s`), `tests/startup_gfx2hlsl_mask_overwrite_check.py` ok (`0.1s`), `tests/startup_gfx2hlsl_operand_count_check.py` ok (`0.4s`), `tests/startup_gfx2hlsl_pack_absdiff_check.py` ok (`5.1s`), `tests/startup_gfx2hlsl_pack_b32_f16_check.py` ok (`0.3s`), `tests/startup_gfx2hlsl_readfirstlane_recompute_check.py` ok (`0.1s`), `tests/startup_gfx2hlsl_readfirstlane_uniform_check.py` ok (`0.2s`), `tests/startup_gfx2hlsl_refusals_check.py` ok (`1.1s`), `tests/startup_gfx2hlsl_root_check.py` ok (`1.2s`), `tests/startup_gfx2hlsl_s_abs_check.py` ok (`0.2s`), `tests/startup_gfx2hlsl_s_bitset_check.py` ok (`0.1s`), `tests/startup_gfx2hlsl_sad_check.py` ok (`0.5s`), `tests/startup_gfx2hlsl_saveexec_same_reg_check.py` ok (`0.2s`), `tests/startup_gfx2hlsl_scalar_arity_check.py` ok (`0.4s`), `tests/startup_gfx2hlsl_scalar_brev_fold_check.py` ok (`0.3s`), `tests/startup_gfx2hlsl_scalar_m0_check.py` ok (`0.3s`), `tests/startup_gfx2hlsl_scalar_table_arity_check.py` ok (`0.6s`), `tests/startup_gfx2hlsl_sdwa_cvt_check.py` ok (`0.3s`), `tests/startup_gfx2hlsl_sgpr_spill_check.py` ok (`0.4s`), `tests/startup_gfx2hlsl_shift64_check.py` ok (`0.4s`), `tests/startup_gfx2hlsl_sload_const_offset_check.py` ok (`0.2s`), `tests/startup_gfx2hlsl_smem_offset_check.py` ok (`0.2s`), `tests/startup_gfx2hlsl_sop2_complement_check.py` ok (`12.3s`), `tests/startup_gfx2hlsl_sopk_accum_check.py` ok (`1.9s`), `tests/startup_gfx2hlsl_sopk_signext_check.py` ok (`0.2s`), `tests/startup_gfx2hlsl_swap_check.py` ok (`0.6s`), `tests/startup_gfx2hlsl_vopc_sdwa_check.py` ok (`8.9s`), `tests/startup_gfx2hlsl_waitcnt_depctr_check.py` ok (`0.1s`), `tests/startup_gfx2hlsl_watch_check.py` ok (`3.2s`), `tests/startup_image_2d_array_check.py` ok (`0.3s`), `tests/startup_image_3d_check.py` ok (`0.3s`), `tests/startup_image_gather_lz_check.py` ok (`1.0s`), `tests/startup_image_load_d16_check.py` ok (`2.3s`), `tests/startup_image_sample_a16_check.py` ok (`0.4s`), `tests/startup_image_sample_b_check.py` ok (`0.4s`), `tests/startup_image_sample_c_check.py` ok (`0.3s`), `tests/startup_image_sample_l_check.py` ok (`0.3s`), `tests/startup_image_sample_lod_check.py` ok (`1.1s`), `tests/startup_inline_sampler_check.py` ok (`0.3s`), `tests/startup_mesh57_loop_refusal_check.py` ok (`0.3s`), `tests/startup_mesh57_skeleton_check.py` ok (`1.0s`), `tests/startup_run_ps1_check.py` ok (`20.4s`), `tests/startup_run_sh_check.py` skipped (`0.1s`), `tests/startup_sampler_heap_check.py` ok (`0.3s`), `tests/startup_shader_cache_rekey_check.py` ok (`4.2s`), `tests/startup_smem_address_check.py` ok (`0.3s`), `tests/startup_stream_fetch_check.py` ok (`0.3s`), `tests/startup_stream_interface_check.py` ok (`0.4s`), `tests/startup_translator_check.py` ok (`0.8s`) - `sccache`: 71/107 hits; wall `236.4s` AI-assisted; commands listed were executed locally.
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!2643
No description provided.