startup: spill descriptors, pointers and lane masks to VGPR lanes in compute #2751

Merged
Ybucaille merged 6 commits from upstream-pr/2759 into main 2026-11-26 10:39:25 +00:00
Ybucaille commented 2026-11-26 06:30:19 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by Ybucaille on 2026-11-26T06:30:19Z.


Part of #1723. Refs #2022 (claim and counts: https://github.com/R0Y00/Xbox2Windows/issues/2022#issuecomment-7184304033)

Builds on #2712 (@tedin7, wave64 and vertex-stage spills), now merged. main is merged into this branch (16471bef); the change is the two commits 6bbc8e4e (descriptors and pointers) and 1ce4ae91 (lane masks).

Change

gfx2hlsl now accepts constant-lane SGPR spills (v_writelane_b32 / v_readlane_b32) in compute stages when the spilled word is a descriptor or pointer word.

  • Control flow: cs joins SPILL_STAGES and may branch like ps. The same proof applies: a write on every path before the read, the existing rules for non-uniform regions, and the refusal of a read carried by a loop. A v_writelane_b32 inside an s_cbranch_execz block was already refused by execz_refusals, so writes stay outside those regions; only reads enter them.
  • Descriptor and pointer words (desc, ptr, ptrhi) have no run-time value to store. The lane slot carries the tracked symbol, nothing is emitted, and the reload restores the same symbol. Refused, by name: a symbol that does not name one value (a modified word, a pointer with a non-numeric offset), and different symbols joined at one read.
  • Provenance: each write records whether the word passed the "entry block or local table load" proof where it was spilled. formatted_descriptor_from_block follows a v_readlane_b32 back to those writes, and accepts the reload only if every write passed it. So a reloaded descriptor is accepted exactly when the original would have been.
  • Lane masks (second commit): a mask is modelled per invocation as its own bit (a v_cmp stores w, or exec & w when EXEC is unknown, so an inactive lane's bit is already 0). v_writelane_b32 / v_readlane_b32 ignore EXEC and copy the whole wave mask, so when the reloaded value is only read as a mask the spill is the identity on each invocation's bit: the slot takes the mask variable and the reload copies it back, re-marked as a mask (or into vcc for a vcc_lo destination). reject_lane_mask_data covers only some ops (a v_add_nc_u32 on a mask is accepted today, spill or not), so a new require_mask_reads_only refuses the reload if any instruction reachable before its next write reads it other than as a lane select or carry-in, by s_cbranch_vccz/vccnz, as a copy into exec_lo/vcc_lo, or by another spill. Also refused: several writes of which one is a mask, sources exec*, vcc_hi, m0, and a mask not proven on every path.

Test

New tests/startup_gfx2hlsl_compute_spill_check.py (registered in CMake, both Linux CI lists and AGENTS.md), with source-built gfx1013 programs assembled by llvm-mc:

  • S: a read descriptor spilled in the entry block and a store descriptor spilled in both arms of a uniform branch, reloaded in an execz region, then buffer_load_format_xyzw and a store.
  • P: a pointer pair spilled and reloaded in an execz region, then an s_load through it.
  • Refused controls (8), each by its exact reason: reload before write, two descriptors joined, modified word, lane mask (v_cmp into an SGPR), wrong lane, unproven descriptor (spilled in the arms), write inside an execz region, loop.
  • Translator mutations (11), each turning at least one control red: reload without the symbol, provenance dropped, everything counted as proven, neighbouring lane, join without refusal, modified word carried, branches or cs refused, loop, write-before-read.
  • startup_gfx2hlsl_sgpr_spill_check.py and startup_gfx2hlsl_spill_wave64_check.py: the "cs is refused" control becomes "cs is accepted", and a gs control takes its place.

Linux: all tests/startup_gfx2hlsl_*_check.py give 111 passed and 2 failed (export_null_draw, mul24_align_draw). Those two fail the same way on #2712's head (110 passed), so this adds no regression. After merging main (16471bef): the four spill checks and startup_gfx2hlsl_compute_check.py pass, same two usage-only failures in the sweep, and CI is green. dc8e0f34 records the fixture words in the LLVM 15 encoding the CI assembler emits (the unused src2 field of VOP3 v_readlane_b32/v_writelane_b32/v_cmp*_e64 is 0 there, inline constant 0 in newer LLVM; the comparison masks only that field). At dc8e0f34, Windows 11 26200 Release build, ctest -R "startup_gfx2hlsl_(compute_spill|compute_mask_spill|sgpr_spill|spill_wave64)": 24/24 passed on WARP and the RTX 2070.

Windows 11 26200, Release build, debug layer per offscreen_check defaults, ctest -R startup_gfx2hlsl_compute_spill: 9/9 passed. On WARP and on an RTX 2070 (driver 32.0.16.1088), the dispatches of S and P read back all 320 expected words, and the three dispatch mutations (s-arm-swapped, s-store-dropped, p-store-dropped) are rejected on both adapters.

Second commit: new tests/startup_gfx2hlsl_compute_mask_spill_check.py. Fixtures M (vcc_lo and an SGPR mask spilled, a branch, reload into an SGPR, v_cndmask_b32_e64, s_and_saveexec_b32) and V (reload into vcc_lo, v_cndmask_b32_e32, s_cbranch_vccz); 12 refused controls (m0, exec, vcc_hi, numeric reads of an SGPR and of vcc, two masks joined, a mask joined with a number, reload before write, a number reloaded into vcc_lo, a mask computed in one arm only, write in an execz block, loop) plus a pixel-stage probe; 14 translator mutations, each caught. Linux: 112 passed, the same 2 failures. Windows: ctest -R startup_gfx2hlsl_compute_(mask_)?spill 18/18 on WARP and the RTX 2070, M and V read back 320 exact words, and the dispatch mutations m-saveexec-dropped, m-mask-inverted, v-branch-inverted are rejected on both.

Note: fixture V branches on a vcc that is uniform per group, because s_cbranch_vccz/vccnz is translated per invocation as (vcc & 1); on a vcc that differs between lanes the wave should follow one path. That is independent of spills and I am checking it separately.

Effect on run-time requests

On a local run (main 0827f43c), 68 slot-67 compute requests stop at v_writelane_b32 is lowered in pixel and mesh stages only. With #2712 and both commits, none stops at a spill any more: 33 next stop at v_or_b32_dpp (DPP in compute outside the straight-line pixel case), 32 at s_nand_b32 on a lane mask (#2030), 2 at a resource-heap record s_load (#2580), and 1 at lanes k and k+32 of one VGPR. None translates fully yet; these programs need those other forms too.

AI-assisted (Claude Code).

<!-- greyfinch-sync:R0Y00/Xbox2Windows:issue:6620945734 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/2759). Originally posted by [Ybucaille](https://github.com/Ybucaille) on 2026-11-26T06:30:19Z. --- Part of #1723. Refs #2022 (claim and counts: https://github.com/R0Y00/Xbox2Windows/issues/2022#issuecomment-7184304033) Builds on #2712 (@tedin7, wave64 and vertex-stage spills), now merged. `main` is merged into this branch (`16471bef`); the change is the two commits `6bbc8e4e` (descriptors and pointers) and `1ce4ae91` (lane masks). ## Change `gfx2hlsl` now accepts constant-lane SGPR spills (`v_writelane_b32` / `v_readlane_b32`) in compute stages when the spilled word is a descriptor or pointer word. - **Control flow:** `cs` joins `SPILL_STAGES` and may branch like `ps`. The same proof applies: a write on every path before the read, the existing rules for non-uniform regions, and the refusal of a read carried by a loop. A `v_writelane_b32` inside an `s_cbranch_execz` block was already refused by `execz_refusals`, so writes stay outside those regions; only reads enter them. - **Descriptor and pointer words** (`desc`, `ptr`, `ptrhi`) have no run-time value to store. The lane slot carries the tracked symbol, nothing is emitted, and the reload restores the same symbol. Refused, by name: a symbol that does not name one value (a modified word, a pointer with a non-numeric offset), and different symbols joined at one read. - **Provenance:** each write records whether the word passed the "entry block or local table load" proof where it was spilled. `formatted_descriptor_from_block` follows a `v_readlane_b32` back to those writes, and accepts the reload only if every write passed it. So a reloaded descriptor is accepted exactly when the original would have been. - **Lane masks** (second commit): a mask is modelled per invocation as its own bit (a `v_cmp` stores `w`, or `exec & w` when EXEC is unknown, so an inactive lane's bit is already 0). `v_writelane_b32` / `v_readlane_b32` ignore EXEC and copy the whole wave mask, so when the reloaded value is only read as a mask the spill is the identity on each invocation's bit: the slot takes the mask variable and the reload copies it back, re-marked as a mask (or into `vcc` for a `vcc_lo` destination). `reject_lane_mask_data` covers only some ops (a `v_add_nc_u32` on a mask is accepted today, spill or not), so a new `require_mask_reads_only` refuses the reload if any instruction reachable before its next write reads it other than as a lane select or carry-in, by `s_cbranch_vccz`/`vccnz`, as a copy into `exec_lo`/`vcc_lo`, or by another spill. Also refused: several writes of which one is a mask, sources `exec*`, `vcc_hi`, `m0`, and a mask not proven on every path. ## Test New `tests/startup_gfx2hlsl_compute_spill_check.py` (registered in CMake, both Linux CI lists and `AGENTS.md`), with source-built gfx1013 programs assembled by `llvm-mc`: - **S:** a read descriptor spilled in the entry block and a store descriptor spilled in both arms of a uniform branch, reloaded in an execz region, then `buffer_load_format_xyzw` and a store. - **P:** a pointer pair spilled and reloaded in an execz region, then an `s_load` through it. - **Refused controls (8), each by its exact reason:** reload before write, two descriptors joined, modified word, lane mask (`v_cmp` into an SGPR), wrong lane, unproven descriptor (spilled in the arms), write inside an execz region, loop. - **Translator mutations (11)**, each turning at least one control red: reload without the symbol, provenance dropped, everything counted as proven, neighbouring lane, join without refusal, modified word carried, branches or `cs` refused, loop, write-before-read. - `startup_gfx2hlsl_sgpr_spill_check.py` and `startup_gfx2hlsl_spill_wave64_check.py`: the "`cs` is refused" control becomes "`cs` is accepted", and a `gs` control takes its place. Linux: all `tests/startup_gfx2hlsl_*_check.py` give 111 passed and 2 failed (`export_null_draw`, `mul24_align_draw`). Those two fail the same way on #2712's head (110 passed), so this adds no regression. After merging `main` (`16471bef`): the four spill checks and `startup_gfx2hlsl_compute_check.py` pass, same two usage-only failures in the sweep, and CI is green. `dc8e0f34` records the fixture words in the LLVM 15 encoding the CI assembler emits (the unused src2 field of VOP3 `v_readlane_b32`/`v_writelane_b32`/`v_cmp*_e64` is 0 there, inline constant 0 in newer LLVM; the comparison masks only that field). At `dc8e0f34`, Windows 11 26200 Release build, `ctest -R "startup_gfx2hlsl_(compute_spill|compute_mask_spill|sgpr_spill|spill_wave64)"`: 24/24 passed on WARP and the RTX 2070. Windows 11 26200, Release build, debug layer per `offscreen_check` defaults, `ctest -R startup_gfx2hlsl_compute_spill`: 9/9 passed. On WARP and on an RTX 2070 (driver 32.0.16.1088), the dispatches of S and P read back all 320 expected words, and the three dispatch mutations (`s-arm-swapped`, `s-store-dropped`, `p-store-dropped`) are rejected on both adapters. Second commit: new `tests/startup_gfx2hlsl_compute_mask_spill_check.py`. Fixtures M (`vcc_lo` and an SGPR mask spilled, a branch, reload into an SGPR, `v_cndmask_b32_e64`, `s_and_saveexec_b32`) and V (reload into `vcc_lo`, `v_cndmask_b32_e32`, `s_cbranch_vccz`); 12 refused controls (m0, exec, vcc_hi, numeric reads of an SGPR and of vcc, two masks joined, a mask joined with a number, reload before write, a number reloaded into `vcc_lo`, a mask computed in one arm only, write in an execz block, loop) plus a pixel-stage probe; 14 translator mutations, each caught. Linux: 112 passed, the same 2 failures. Windows: `ctest -R startup_gfx2hlsl_compute_(mask_)?spill` 18/18 on WARP and the RTX 2070, M and V read back 320 exact words, and the dispatch mutations `m-saveexec-dropped`, `m-mask-inverted`, `v-branch-inverted` are rejected on both. Note: fixture V branches on a `vcc` that is uniform per group, because `s_cbranch_vccz`/`vccnz` is translated per invocation as `(vcc & 1)`; on a `vcc` that differs between lanes the wave should follow one path. That is independent of spills and I am checking it separately. ## Effect on run-time requests On a local run (`main` `0827f43c`), 68 slot-67 compute requests stop at `v_writelane_b32 is lowered in pixel and mesh stages only`. With #2712 and both commits, none stops at a spill any more: 33 next stop at `v_or_b32_dpp` (DPP in compute outside the straight-line pixel case), 32 at `s_nand_b32` on a lane mask (#2030), 2 at a resource-heap record `s_load` (#2580), and 1 at lanes k and k+32 of one VGPR. None translates fully yet; these programs need those other forms too. AI-assisted (Claude Code).
upstream-sync closed this pull request 2026-11-26 11:02:44 +00:00
tedin7 commented 2026-11-26 11:02:44 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by tedin7 on 2026-11-26T10:38:55Z.

Review: COMMENTED


Review of head dc8e0f34 (comment review, no approval).

What I checked

  • Overlap: #2712, #2637, #2524, #2171 (spill families) are merged. No open PR covers compute-stage spills of descriptor, pointer or lane-mask words.
  • Translator change (tools/startup/gfx2hlsl.py): cs joins SPILL_STAGES. Descriptor/pointer words travel as symbols and the reload only passes the formatted-load proof if every supplying write passed it (formatted_descriptor_from_block). The first[3] + 4 to first[3] + width change is consistent with the new width. Lane masks are refused unless only read as masks (require_mask_reads_only). I found no bug.
  • Tests: the new checks include real D3D12 dispatch tests (dispatch mode, warp and hardware adapters) that compare readback against the expected output, plus refused-reason controls and translator mutations. Both CMake and the Linux CI lists and AGENTS.md are updated consistently.
  • CI change (.github/workflows/windows.yml, +4): the PR's own CI run executed both new checks (startup_gfx2hlsl_compute_spill_check.py (ok), startup_gfx2hlsl_compute_mask_spill_check.py (ok)), so the workflow edit is exercised.

Commands run locally

  • git diff --check origin/main...HEAD: clean
  • python3 tests/docs_links_check.py, python3 tests/bidi_controls_check.py: pass
  • python3 -B tests/startup_gfx2hlsl_compute_spill_check.py, ..._compute_mask_spill_check.py, ..._sgpr_spill_check.py, ..._spill_wave64_check.py: all PASS
  • Mutation 1: remove 'cs' from SPILL_STAGES: compute_spill check fails (rc=1)
  • Mutation 2: drop the "several writes, one is a mask" refusal: compute_mask_spill check fails (rc=1)

Windows WARP results follow in a separate receipt. Real-GPU run not available (RunPod stopped).

AI-assisted; commands listed were executed locally.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:review:6072602052 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/2759#pullrequestreview-6072602052). Originally posted by [tedin7](https://github.com/tedin7) on 2026-11-26T10:38:55Z. **Review:** COMMENTED --- Review of head dc8e0f34 (comment review, no approval). What I checked - Overlap: #2712, #2637, #2524, #2171 (spill families) are merged. No open PR covers compute-stage spills of descriptor, pointer or lane-mask words. - Translator change (`tools/startup/gfx2hlsl.py`): `cs` joins `SPILL_STAGES`. Descriptor/pointer words travel as symbols and the reload only passes the formatted-load proof if every supplying write passed it (`formatted_descriptor_from_block`). The `first[3] + 4` to `first[3] + width` change is consistent with the new width. Lane masks are refused unless only read as masks (`require_mask_reads_only`). I found no bug. - Tests: the new checks include real D3D12 dispatch tests (`dispatch` mode, warp and hardware adapters) that compare readback against the expected output, plus refused-reason controls and translator mutations. Both CMake and the Linux CI lists and `AGENTS.md` are updated consistently. - CI change (`.github/workflows/windows.yml`, +4): the PR's own CI run executed both new checks (`startup_gfx2hlsl_compute_spill_check.py (ok)`, `startup_gfx2hlsl_compute_mask_spill_check.py (ok)`), so the workflow edit is exercised. Commands run locally - `git diff --check origin/main...HEAD`: clean - `python3 tests/docs_links_check.py`, `python3 tests/bidi_controls_check.py`: pass - `python3 -B tests/startup_gfx2hlsl_compute_spill_check.py`, `..._compute_mask_spill_check.py`, `..._sgpr_spill_check.py`, `..._spill_wave64_check.py`: all PASS - Mutation 1: remove `'cs'` from `SPILL_STAGES`: compute_spill check fails (rc=1) - Mutation 2: drop the "several writes, one is a mask" refusal: compute_mask_spill check fails (rc=1) Windows WARP results follow in a separate receipt. Real-GPU run not available (RunPod stopped). AI-assisted; commands listed were executed locally.
tedin7 commented 2026-11-26 11:03:00 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by tedin7 on 2026-11-26T10:36:36Z.


Review of head dc8e0f34 (comment review, no approval).

What I checked

  • Overlap: #2712, #2637, #2524, #2171 (spill families) are merged. No open PR covers compute-stage spills of descriptor, pointer or lane-mask words.
  • Translator change (tools/startup/gfx2hlsl.py): cs joins SPILL_STAGES. Descriptor/pointer words travel as symbols and the reload only passes the formatted-load proof if every supplying write passed it (formatted_descriptor_from_block). The first[3] + 4 to first[3] + width change is consistent with the new width. Lane masks are refused unless only read as masks (require_mask_reads_only). I found no bug.
  • Tests: the new checks include real D3D12 dispatch tests (dispatch mode, warp and hardware adapters) that compare readback against the expected output, plus refused-reason controls and translator mutations. Both CMake and the Linux CI lists and AGENTS.md are updated consistently.
  • CI change (.github/workflows/windows.yml, +4): the PR's own CI run executed both new checks (startup_gfx2hlsl_compute_spill_check.py (ok), startup_gfx2hlsl_compute_mask_spill_check.py (ok)), so the workflow edit is exercised.

Commands run locally

  • git diff --check origin/main...HEAD: clean
  • python3 tests/docs_links_check.py, python3 tests/bidi_controls_check.py: pass
  • python3 -B tests/startup_gfx2hlsl_compute_spill_check.py, ..._compute_mask_spill_check.py, ..._sgpr_spill_check.py, ..._spill_wave64_check.py: all PASS
  • Mutation 1: remove 'cs' from SPILL_STAGES: compute_spill check fails (rc=1)
  • Mutation 2: drop the "several writes, one is a mask" refusal: compute_mask_spill check fails (rc=1)

Windows WARP results follow in a separate receipt. Real-GPU run not available (RunPod stopped).

AI-assisted; commands listed were executed locally.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:comment:7189592857 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/2759#issuecomment-7189592857). Originally posted by [tedin7](https://github.com/tedin7) on 2026-11-26T10:36:36Z. --- Review of head dc8e0f34 (comment review, no approval). What I checked - Overlap: #2712, #2637, #2524, #2171 (spill families) are merged. No open PR covers compute-stage spills of descriptor, pointer or lane-mask words. - Translator change (`tools/startup/gfx2hlsl.py`): `cs` joins `SPILL_STAGES`. Descriptor/pointer words travel as symbols and the reload only passes the formatted-load proof if every supplying write passed it (`formatted_descriptor_from_block`). The `first[3] + 4` to `first[3] + width` change is consistent with the new width. Lane masks are refused unless only read as masks (`require_mask_reads_only`). I found no bug. - Tests: the new checks include real D3D12 dispatch tests (`dispatch` mode, warp and hardware adapters) that compare readback against the expected output, plus refused-reason controls and translator mutations. Both CMake and the Linux CI lists and `AGENTS.md` are updated consistently. - CI change (`.github/workflows/windows.yml`, +4): the PR's own CI run executed both new checks (`startup_gfx2hlsl_compute_spill_check.py (ok)`, `startup_gfx2hlsl_compute_mask_spill_check.py (ok)`), so the workflow edit is exercised. Commands run locally - `git diff --check origin/main...HEAD`: clean - `python3 tests/docs_links_check.py`, `python3 tests/bidi_controls_check.py`: pass - `python3 -B tests/startup_gfx2hlsl_compute_spill_check.py`, `..._compute_mask_spill_check.py`, `..._sgpr_spill_check.py`, `..._spill_wave64_check.py`: all PASS - Mutation 1: remove `'cs'` from `SPILL_STAGES`: compute_spill check fails (rc=1) - Mutation 2: drop the "several writes, one is a mask" refusal: compute_mask_spill check fails (rc=1) Windows WARP results follow in a separate receipt. Real-GPU run not available (RunPod stopped). AI-assisted; commands listed were executed locally.
tedin7 commented 2026-11-26 11:03:00 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by tedin7 on 2026-11-26T10:38:51Z.


Win2025 WARP receipt for head dc8e0f34 (real-GPU run not available, RunPod stopped).

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

  • Debug (--preset dev):
    • Build (cmake --build --preset dev --target d3d12_xs_device_obj d3d12_xs_shim startup_buffer_format_word3_check -- -j 2): 1.63s (configure 2.67s)
    • Test (ctest --preset dev -R 'startup_gfx2hlsl_(compute_spill|compute_mask_spill)' --parallel 3 --no-tests=error --output-on-failure): 18/18 passed (5.10s: startup_gfx2hlsl_compute_spill_s-arm-swapped_warp 0.40s, startup_gfx2hlsl_compute_spill_s-store-dropped_warp 0.37s, startup_gfx2hlsl_compute_spill_warp 0.94s, startup_gfx2hlsl_compute_spill_p-store-dropped_warp 0.36s, startup_gfx2hlsl_compute_spill_s-arm-swapped_hardware 0.38s, startup_gfx2hlsl_compute_spill_hardware 0.92s, startup_gfx2hlsl_compute_spill_s-store-dropped_hardware 0.34s, startup_gfx2hlsl_compute_spill_p-store-dropped_hardware 0.30s, startup_gfx2hlsl_compute_spill_controls 2.72s, startup_gfx2hlsl_compute_mask_spill_warp 0.67s, startup_gfx2hlsl_compute_mask_spill_m-saveexec-dropped_warp 0.29s, startup_gfx2hlsl_compute_mask_spill_m-mask-inverted_warp 0.31s, startup_gfx2hlsl_compute_mask_spill_v-branch-inverted_warp 0.31s, startup_gfx2hlsl_compute_mask_spill_m-saveexec-dropped_hardware 0.30s, startup_gfx2hlsl_compute_mask_spill_hardware 0.72s, startup_gfx2hlsl_compute_mask_spill_m-mask-inverted_hardware 0.33s, startup_gfx2hlsl_compute_mask_spill_v-branch-inverted_hardware 0.28s, startup_gfx2hlsl_compute_mask_spill_controls 3.03s)
  • Release /O2 (--preset release):
    • Build (cmake --build --preset release --target d3d12_xs_device_obj d3d12_xs_shim startup_buffer_format_word3_check -- -j 2): 5.11s (configure 2.47s)
    • Test (ctest --preset release -R 'startup_gfx2hlsl_(compute_spill|compute_mask_spill)' --parallel 3 --no-tests=error --output-on-failure): 18/18 passed (4.80s: startup_gfx2hlsl_compute_spill_s-arm-swapped_warp 0.29s, startup_gfx2hlsl_compute_spill_s-store-dropped_warp 0.28s, startup_gfx2hlsl_compute_spill_warp 0.68s, startup_gfx2hlsl_compute_spill_p-store-dropped_warp 0.26s, startup_gfx2hlsl_compute_spill_s-arm-swapped_hardware 0.30s, startup_gfx2hlsl_compute_spill_hardware 0.69s, startup_gfx2hlsl_compute_spill_s-store-dropped_hardware 0.27s, startup_gfx2hlsl_compute_spill_p-store-dropped_hardware 0.27s, startup_gfx2hlsl_compute_spill_controls 2.24s, startup_gfx2hlsl_compute_mask_spill_warp 0.60s, startup_gfx2hlsl_compute_mask_spill_m-saveexec-dropped_warp 0.27s, startup_gfx2hlsl_compute_mask_spill_m-mask-inverted_warp 0.30s, startup_gfx2hlsl_compute_mask_spill_v-branch-inverted_warp 0.33s, startup_gfx2hlsl_compute_mask_spill_m-saveexec-dropped_hardware 0.37s, startup_gfx2hlsl_compute_mask_spill_hardware 0.78s, startup_gfx2hlsl_compute_mask_spill_m-mask-inverted_hardware 0.36s, startup_gfx2hlsl_compute_mask_spill_v-branch-inverted_hardware 0.34s, startup_gfx2hlsl_compute_mask_spill_controls 3.22s)
  • Windows Python checks: tests/mesh_heap_sampler_check.py ok (0.6s), tests/startup_buffer_address_check.py ok (0.4s), tests/startup_buffer_format_word3_table_check.py ok (0.1s), tests/startup_compute_global_load_check.py ok (0.2s), tests/startup_compute_request_offline_check.py ok (0.5s), tests/startup_compute_store_format_xyzw_check.py ok (0.2s), tests/startup_compute_translate_check.py ok (0.2s), tests/startup_flat_param_check.py ok (0.1s), tests/startup_gfx2hlsl_add_sub_co_check.py ok (0.1s), tests/startup_gfx2hlsl_add_sub_co_ci_check.py ok (0.1s), tests/startup_gfx2hlsl_bfm_b64_check.py ok (1.2s), tests/startup_gfx2hlsl_bit_alu_check.py ok (0.6s), tests/startup_gfx2hlsl_capture_check.py ok (1.1s), tests/startup_gfx2hlsl_cmp16_check.py ok (0.3s), tests/startup_gfx2hlsl_cmp_class_f16_sdwa_check.py ok (28.7s), tests/startup_gfx2hlsl_compare_dst_check.py ok (0.1s), tests/startup_gfx2hlsl_compute_check.py ok (0.8s), tests/startup_gfx2hlsl_compute_mask_spill_check.py ok (2.5s), tests/startup_gfx2hlsl_compute_spill_check.py ok (2.0s), tests/startup_gfx2hlsl_const_copy_join_check.py ok (0.1s), tests/startup_gfx2hlsl_cselect_mask_check.py ok (0.1s), tests/startup_gfx2hlsl_cvt_alu_check.py ok (0.2s), tests/startup_gfx2hlsl_cvt_off_f32_i4_check.py ok (0.2s), tests/startup_gfx2hlsl_cvt_pk_int16_check.py ok (0.3s), tests/startup_gfx2hlsl_f32_lg_check.py ok (1.2s), tests/startup_gfx2hlsl_f32_nan_check.py ok (4.5s), 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_heap_record_check.py ok (0.2s), tests/startup_gfx2hlsl_heap_word_check.py ok (0.2s), 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.1s), tests/startup_gfx2hlsl_interp_p2_hi_check.py ok (0.2s), tests/startup_gfx2hlsl_join_symbols_check.py ok (0.2s), 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 (2.2s), tests/startup_gfx2hlsl_pack_b32_f16_check.py ok (0.1s), tests/startup_gfx2hlsl_readfirstlane_load_recompute_check.py ok (0.1s), tests/startup_gfx2hlsl_readfirstlane_recompute_check.py ok (0.1s), tests/startup_gfx2hlsl_readfirstlane_uniform_check.py ok (0.1s), tests/startup_gfx2hlsl_refusals_check.py ok (0.6s), tests/startup_gfx2hlsl_root_check.py ok (0.8s), tests/startup_gfx2hlsl_s_abs_check.py ok (0.1s), tests/startup_gfx2hlsl_s_bitset_check.py ok (0.1s), tests/startup_gfx2hlsl_s_ff0_check.py ok (0.1s), tests/startup_gfx2hlsl_s_ff1_check.py ok (0.1s), tests/startup_gfx2hlsl_s_flbit_check.py ok (0.1s), tests/startup_gfx2hlsl_s_quadmask_b64_check.py ok (0.1s), tests/startup_gfx2hlsl_s_quadmask_check.py ok (0.1s), tests/startup_gfx2hlsl_sad_check.py ok (0.3s), tests/startup_gfx2hlsl_sad_hi_msad_check.py ok (0.3s), tests/startup_gfx2hlsl_saveexec_same_reg_check.py ok (0.1s), tests/startup_gfx2hlsl_scalar_arity_check.py ok (0.2s), tests/startup_gfx2hlsl_scalar_brev_fold_check.py ok (0.2s), tests/startup_gfx2hlsl_scalar_m0_check.py ok (0.2s), tests/startup_gfx2hlsl_scalar_null_check.py ok (0.2s), tests/startup_gfx2hlsl_scalar_table_arity_check.py ok (0.3s), tests/startup_gfx2hlsl_sdwa_cndmask_check.py ok (0.2s), tests/startup_gfx2hlsl_sdwa_cvt_check.py ok (0.3s), tests/startup_gfx2hlsl_sgpr_spill_check.py ok (0.2s), tests/startup_gfx2hlsl_shift64_check.py ok (0.2s), tests/startup_gfx2hlsl_sload_const_offset_check.py ok (0.1s), tests/startup_gfx2hlsl_smem_offset_check.py ok (0.1s), tests/startup_gfx2hlsl_sop2_complement_check.py ok (5.1s), tests/startup_gfx2hlsl_sopk_accum_check.py ok (1.1s), tests/startup_gfx2hlsl_sopk_signext_check.py ok (0.1s), tests/startup_gfx2hlsl_spill_branches_check.py ok (0.9s), tests/startup_gfx2hlsl_swap_check.py ok (0.3s), tests/startup_gfx2hlsl_vopc_sdwa_check.py ok (3.9s), tests/startup_gfx2hlsl_waitcnt_depctr_check.py ok (0.1s), tests/startup_gfx2hlsl_watch_check.py ok (2.5s), tests/startup_image_2d_array_check.py ok (0.2s), tests/startup_image_3d_check.py ok (0.1s), tests/startup_image_gather_lz_check.py ok (0.5s), tests/startup_image_load_d16_check.py ok (0.9s), tests/startup_image_sample_a16_check.py ok (0.2s), tests/startup_image_sample_b_check.py ok (0.2s), tests/startup_image_sample_c_check.py ok (0.2s), tests/startup_image_sample_l_check.py ok (0.2s), tests/startup_image_sample_lod_check.py ok (0.5s), tests/startup_inline_sampler_check.py ok (0.1s), tests/startup_mesh57_depth_only_check.py ok (0.2s), tests/startup_mesh57_lane_spill_check.py ok (0.2s), tests/startup_mesh57_loop_check.py ok (0.2s), tests/startup_mesh57_loop_refusal_check.py ok (0.1s), tests/startup_mesh57_skeleton_check.py ok (1.0s), tests/startup_run_ps1_check.py ok (11.1s), tests/startup_run_sh_check.py skipped (0.1s), tests/startup_sampler_heap_check.py ok (0.1s), tests/startup_shader_cache_rekey_check.py ok (2.4s), tests/startup_smem_address_check.py ok (0.1s), tests/startup_stream_fetch_check.py ok (0.2s), tests/startup_stream_interface_check.py ok (0.2s), tests/startup_translator_check.py ok (0.4s)
  • sccache: 9/27 hits; wall 112.5s

AI-assisted; commands listed were executed locally.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:comment:7189642772 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/2759#issuecomment-7189642772). Originally posted by [tedin7](https://github.com/tedin7) on 2026-11-26T10:38:51Z. --- Win2025 WARP receipt for head dc8e0f34 (real-GPU run not available, RunPod stopped). Verified on Windows Server 2025 (Build 26100, MSVC 14.44.35207 + D3D12 WARP) at commit `dc8e0f34b167f9367cb1b6e24603de5eeb844bf0`: - **Debug (`--preset dev`)**: - Build (`cmake --build --preset dev --target d3d12_xs_device_obj d3d12_xs_shim startup_buffer_format_word3_check -- -j 2`): `1.63s` (configure `2.67s`) - Test (`ctest --preset dev -R 'startup_gfx2hlsl_(compute_spill|compute_mask_spill)' --parallel 3 --no-tests=error --output-on-failure`): **18/18 passed** (`5.10s`: `startup_gfx2hlsl_compute_spill_s-arm-swapped_warp` `0.40s`, `startup_gfx2hlsl_compute_spill_s-store-dropped_warp` `0.37s`, `startup_gfx2hlsl_compute_spill_warp` `0.94s`, `startup_gfx2hlsl_compute_spill_p-store-dropped_warp` `0.36s`, `startup_gfx2hlsl_compute_spill_s-arm-swapped_hardware` `0.38s`, `startup_gfx2hlsl_compute_spill_hardware` `0.92s`, `startup_gfx2hlsl_compute_spill_s-store-dropped_hardware` `0.34s`, `startup_gfx2hlsl_compute_spill_p-store-dropped_hardware` `0.30s`, `startup_gfx2hlsl_compute_spill_controls` `2.72s`, `startup_gfx2hlsl_compute_mask_spill_warp` `0.67s`, `startup_gfx2hlsl_compute_mask_spill_m-saveexec-dropped_warp` `0.29s`, `startup_gfx2hlsl_compute_mask_spill_m-mask-inverted_warp` `0.31s`, `startup_gfx2hlsl_compute_mask_spill_v-branch-inverted_warp` `0.31s`, `startup_gfx2hlsl_compute_mask_spill_m-saveexec-dropped_hardware` `0.30s`, `startup_gfx2hlsl_compute_mask_spill_hardware` `0.72s`, `startup_gfx2hlsl_compute_mask_spill_m-mask-inverted_hardware` `0.33s`, `startup_gfx2hlsl_compute_mask_spill_v-branch-inverted_hardware` `0.28s`, `startup_gfx2hlsl_compute_mask_spill_controls` `3.03s`) - **Release `/O2` (`--preset release`)**: - Build (`cmake --build --preset release --target d3d12_xs_device_obj d3d12_xs_shim startup_buffer_format_word3_check -- -j 2`): `5.11s` (configure `2.47s`) - Test (`ctest --preset release -R 'startup_gfx2hlsl_(compute_spill|compute_mask_spill)' --parallel 3 --no-tests=error --output-on-failure`): **18/18 passed** (`4.80s`: `startup_gfx2hlsl_compute_spill_s-arm-swapped_warp` `0.29s`, `startup_gfx2hlsl_compute_spill_s-store-dropped_warp` `0.28s`, `startup_gfx2hlsl_compute_spill_warp` `0.68s`, `startup_gfx2hlsl_compute_spill_p-store-dropped_warp` `0.26s`, `startup_gfx2hlsl_compute_spill_s-arm-swapped_hardware` `0.30s`, `startup_gfx2hlsl_compute_spill_hardware` `0.69s`, `startup_gfx2hlsl_compute_spill_s-store-dropped_hardware` `0.27s`, `startup_gfx2hlsl_compute_spill_p-store-dropped_hardware` `0.27s`, `startup_gfx2hlsl_compute_spill_controls` `2.24s`, `startup_gfx2hlsl_compute_mask_spill_warp` `0.60s`, `startup_gfx2hlsl_compute_mask_spill_m-saveexec-dropped_warp` `0.27s`, `startup_gfx2hlsl_compute_mask_spill_m-mask-inverted_warp` `0.30s`, `startup_gfx2hlsl_compute_mask_spill_v-branch-inverted_warp` `0.33s`, `startup_gfx2hlsl_compute_mask_spill_m-saveexec-dropped_hardware` `0.37s`, `startup_gfx2hlsl_compute_mask_spill_hardware` `0.78s`, `startup_gfx2hlsl_compute_mask_spill_m-mask-inverted_hardware` `0.36s`, `startup_gfx2hlsl_compute_mask_spill_v-branch-inverted_hardware` `0.34s`, `startup_gfx2hlsl_compute_mask_spill_controls` `3.22s`) - **Windows Python checks**: `tests/mesh_heap_sampler_check.py` ok (`0.6s`), `tests/startup_buffer_address_check.py` ok (`0.4s`), `tests/startup_buffer_format_word3_table_check.py` ok (`0.1s`), `tests/startup_compute_global_load_check.py` ok (`0.2s`), `tests/startup_compute_request_offline_check.py` ok (`0.5s`), `tests/startup_compute_store_format_xyzw_check.py` ok (`0.2s`), `tests/startup_compute_translate_check.py` ok (`0.2s`), `tests/startup_flat_param_check.py` ok (`0.1s`), `tests/startup_gfx2hlsl_add_sub_co_check.py` ok (`0.1s`), `tests/startup_gfx2hlsl_add_sub_co_ci_check.py` ok (`0.1s`), `tests/startup_gfx2hlsl_bfm_b64_check.py` ok (`1.2s`), `tests/startup_gfx2hlsl_bit_alu_check.py` ok (`0.6s`), `tests/startup_gfx2hlsl_capture_check.py` ok (`1.1s`), `tests/startup_gfx2hlsl_cmp16_check.py` ok (`0.3s`), `tests/startup_gfx2hlsl_cmp_class_f16_sdwa_check.py` ok (`28.7s`), `tests/startup_gfx2hlsl_compare_dst_check.py` ok (`0.1s`), `tests/startup_gfx2hlsl_compute_check.py` ok (`0.8s`), `tests/startup_gfx2hlsl_compute_mask_spill_check.py` ok (`2.5s`), `tests/startup_gfx2hlsl_compute_spill_check.py` ok (`2.0s`), `tests/startup_gfx2hlsl_const_copy_join_check.py` ok (`0.1s`), `tests/startup_gfx2hlsl_cselect_mask_check.py` ok (`0.1s`), `tests/startup_gfx2hlsl_cvt_alu_check.py` ok (`0.2s`), `tests/startup_gfx2hlsl_cvt_off_f32_i4_check.py` ok (`0.2s`), `tests/startup_gfx2hlsl_cvt_pk_int16_check.py` ok (`0.3s`), `tests/startup_gfx2hlsl_f32_lg_check.py` ok (`1.2s`), `tests/startup_gfx2hlsl_f32_nan_check.py` ok (`4.5s`), `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_heap_record_check.py` ok (`0.2s`), `tests/startup_gfx2hlsl_heap_word_check.py` ok (`0.2s`), `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.1s`), `tests/startup_gfx2hlsl_interp_p2_hi_check.py` ok (`0.2s`), `tests/startup_gfx2hlsl_join_symbols_check.py` ok (`0.2s`), `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 (`2.2s`), `tests/startup_gfx2hlsl_pack_b32_f16_check.py` ok (`0.1s`), `tests/startup_gfx2hlsl_readfirstlane_load_recompute_check.py` ok (`0.1s`), `tests/startup_gfx2hlsl_readfirstlane_recompute_check.py` ok (`0.1s`), `tests/startup_gfx2hlsl_readfirstlane_uniform_check.py` ok (`0.1s`), `tests/startup_gfx2hlsl_refusals_check.py` ok (`0.6s`), `tests/startup_gfx2hlsl_root_check.py` ok (`0.8s`), `tests/startup_gfx2hlsl_s_abs_check.py` ok (`0.1s`), `tests/startup_gfx2hlsl_s_bitset_check.py` ok (`0.1s`), `tests/startup_gfx2hlsl_s_ff0_check.py` ok (`0.1s`), `tests/startup_gfx2hlsl_s_ff1_check.py` ok (`0.1s`), `tests/startup_gfx2hlsl_s_flbit_check.py` ok (`0.1s`), `tests/startup_gfx2hlsl_s_quadmask_b64_check.py` ok (`0.1s`), `tests/startup_gfx2hlsl_s_quadmask_check.py` ok (`0.1s`), `tests/startup_gfx2hlsl_sad_check.py` ok (`0.3s`), `tests/startup_gfx2hlsl_sad_hi_msad_check.py` ok (`0.3s`), `tests/startup_gfx2hlsl_saveexec_same_reg_check.py` ok (`0.1s`), `tests/startup_gfx2hlsl_scalar_arity_check.py` ok (`0.2s`), `tests/startup_gfx2hlsl_scalar_brev_fold_check.py` ok (`0.2s`), `tests/startup_gfx2hlsl_scalar_m0_check.py` ok (`0.2s`), `tests/startup_gfx2hlsl_scalar_null_check.py` ok (`0.2s`), `tests/startup_gfx2hlsl_scalar_table_arity_check.py` ok (`0.3s`), `tests/startup_gfx2hlsl_sdwa_cndmask_check.py` ok (`0.2s`), `tests/startup_gfx2hlsl_sdwa_cvt_check.py` ok (`0.3s`), `tests/startup_gfx2hlsl_sgpr_spill_check.py` ok (`0.2s`), `tests/startup_gfx2hlsl_shift64_check.py` ok (`0.2s`), `tests/startup_gfx2hlsl_sload_const_offset_check.py` ok (`0.1s`), `tests/startup_gfx2hlsl_smem_offset_check.py` ok (`0.1s`), `tests/startup_gfx2hlsl_sop2_complement_check.py` ok (`5.1s`), `tests/startup_gfx2hlsl_sopk_accum_check.py` ok (`1.1s`), `tests/startup_gfx2hlsl_sopk_signext_check.py` ok (`0.1s`), `tests/startup_gfx2hlsl_spill_branches_check.py` ok (`0.9s`), `tests/startup_gfx2hlsl_swap_check.py` ok (`0.3s`), `tests/startup_gfx2hlsl_vopc_sdwa_check.py` ok (`3.9s`), `tests/startup_gfx2hlsl_waitcnt_depctr_check.py` ok (`0.1s`), `tests/startup_gfx2hlsl_watch_check.py` ok (`2.5s`), `tests/startup_image_2d_array_check.py` ok (`0.2s`), `tests/startup_image_3d_check.py` ok (`0.1s`), `tests/startup_image_gather_lz_check.py` ok (`0.5s`), `tests/startup_image_load_d16_check.py` ok (`0.9s`), `tests/startup_image_sample_a16_check.py` ok (`0.2s`), `tests/startup_image_sample_b_check.py` ok (`0.2s`), `tests/startup_image_sample_c_check.py` ok (`0.2s`), `tests/startup_image_sample_l_check.py` ok (`0.2s`), `tests/startup_image_sample_lod_check.py` ok (`0.5s`), `tests/startup_inline_sampler_check.py` ok (`0.1s`), `tests/startup_mesh57_depth_only_check.py` ok (`0.2s`), `tests/startup_mesh57_lane_spill_check.py` ok (`0.2s`), `tests/startup_mesh57_loop_check.py` ok (`0.2s`), `tests/startup_mesh57_loop_refusal_check.py` ok (`0.1s`), `tests/startup_mesh57_skeleton_check.py` ok (`1.0s`), `tests/startup_run_ps1_check.py` ok (`11.1s`), `tests/startup_run_sh_check.py` skipped (`0.1s`), `tests/startup_sampler_heap_check.py` ok (`0.1s`), `tests/startup_shader_cache_rekey_check.py` ok (`2.4s`), `tests/startup_smem_address_check.py` ok (`0.1s`), `tests/startup_stream_fetch_check.py` ok (`0.2s`), `tests/startup_stream_interface_check.py` ok (`0.2s`), `tests/startup_translator_check.py` ok (`0.4s`) - `sccache`: 9/27 hits; wall `112.5s` 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!2751
No description provided.