gfx2hlsl: accept an i1-phi lane mask live across an execz block #2497

Merged
Ybucaille merged 3 commits from upstream-pr/2505 into main 2026-11-25 19:24:21 +00:00
Ybucaille commented 2026-11-25 18:51:02 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by Ybucaille on 2026-11-25T18:51:02Z.


Item 5 of #2463. In compute, Stage.execz_refusals refuses a block that s_cbranch_execz skips whenever the block defines a scalar register or mask that is live where it joins. One such definition is the compiler's lowering of a boolean phi:

s_mov_b32 M, 0                    ; before the branch
s_and_saveexec_b32 s3, vcc_lo
s_cbranch_execz L
  ...
  s_mov_b32 M, exec_lo            ; or s_and_b32 M, X, exec_lo
L: s_or_b32 exec_lo, exec_lo, s3
   v_cndmask_b32_e64 v0, v3, v2, M

The census in #2463 counts 25 of 1,086 compute requests stopping here, with M = vcc_lo. I could not see those requests. LLVM 23 (llc -mcpu=gfx1013, wave32) emits the same shape from source IR, with M in an sN, so the change accepts both.

Argument

The model runs one lane and skips the block for a lane whose exec bit is clear. Exec can only narrow inside the block (each exec write there already has to pass exec_stays_clear). So every accepted write of M (a copy of exec, or X & exec) leaves bit 0 for a lane that is inactive in the block. M is 0 at the branch on every path. For a lane the model skips, the wave's M therefore has that lane's bit at 0 whether the wave ran the block or not, and 0 is the model's M. A lane that runs the block runs it in the model too.

This holds only while M is read per lane. A whole-mask read (s_cbranch_vccz/vccnz, s_cmp, a plain copy, M as a data operand) would see bits from other lanes that the model lacks. Any such read reachable after the join, before M is rewritten, keeps the refusal.

Change

  • tools/startup/gfx2hlsl.py: Stage.phi_mask_ok accepts a live definition of M (vcc_lo or one sN, 32-bit) in a straight-line execz block when:

    • every write of M in the block is s_mov_b32 M, exec_lo or s_and_b32 M, X, exec_lo (either order);
    • the last write before the branch is s_mov_b32 M, 0, with no branch and no branch target between it and the branch;
    • every read of M reachable from the join before a rewrite is per lane, as checked by per_lane_read. That covers the lane select of v_cndmask, the carry-in of v_addc/v_subb/v_*_co_ci, s_and_saveexec_b32, and s_and_b32 with exec.

    Everything else keeps the existing refusal text.

  • docs/experiments.md: the execz paragraph describes the accepted mask and the refusals that remain.

Test

tests/startup_gfx2hlsl_compute_check.py:

  • Accepted cases, checked against the generated HLSL (vcc=0; if(pc==1) vcc=exec&1; … (vcc&1)?v6:v5): vcc and s20 with the move, vcc and s20 with s_and (both operand orders), and s_and_b32 s20, vcc_lo, exec_lo read after the join.
  • Negative controls, each still refused with definition of …, live where the block joins:
    • zeroing with -1, with s7, or missing;
    • a branch target, a branch, or a branch to the join between the zeroing and the branch;
    • a branch inside the block;
    • an in-block write of -1, of s7, or s_and without exec;
    • s_mov_b64 vcc, exec;
    • reads after the join through s_cbranch_vccz, s_mov_b32 s20, vcc_lo, s_cmp on M, a copy of M, or M as a v_cndmask data operand.
  • Mutations: breaking each condition in turn makes the check fail. The two survivors are a guard that the test prologue cannot reach and a destination check that the form check already implies.
  • All 64 tests/startup_gfx2hlsl_*_check.py pass on Linux. The Windows draw tests are left to CI.

Limits

  • An accepted s_and_b32 X, M, exec_lo read is not followed further. A later whole-mask read of X is therefore not caught, the same limit the model already has for any vcc written by a v_cmp.
  • s_mov_b32 vcc_hi, exec_lo crashes the translator with a TypeError (destination unsupported). That is independent of this change and not fixed here.
  • If @NiiRoZz can rerun the census with this branch, it would show whether the 25 requests all match this shape.

Refs #2463.

AI-assisted (Claude Code).

<!-- greyfinch-sync:R0Y00/Xbox2Windows:issue:6611433796 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/2505). Originally posted by [Ybucaille](https://github.com/Ybucaille) on 2026-11-25T18:51:02Z. --- Item 5 of #2463. In compute, `Stage.execz_refusals` refuses a block that `s_cbranch_execz` skips whenever the block defines a scalar register or mask that is live where it joins. One such definition is the compiler's lowering of a boolean phi: ``` s_mov_b32 M, 0 ; before the branch s_and_saveexec_b32 s3, vcc_lo s_cbranch_execz L ... s_mov_b32 M, exec_lo ; or s_and_b32 M, X, exec_lo L: s_or_b32 exec_lo, exec_lo, s3 v_cndmask_b32_e64 v0, v3, v2, M ``` The census in #2463 counts 25 of 1,086 compute requests stopping here, with M = `vcc_lo`. I could not see those requests. LLVM 23 (`llc -mcpu=gfx1013`, wave32) emits the same shape from source IR, with M in an `sN`, so the change accepts both. ## Argument The model runs one lane and skips the block for a lane whose exec bit is clear. Exec can only narrow inside the block (each exec write there already has to pass `exec_stays_clear`). So every accepted write of M (a copy of exec, or `X & exec`) leaves bit 0 for a lane that is inactive in the block. M is 0 at the branch on every path. For a lane the model skips, the wave's M therefore has that lane's bit at 0 whether the wave ran the block or not, and 0 is the model's M. A lane that runs the block runs it in the model too. This holds only while M is read per lane. A whole-mask read (`s_cbranch_vccz`/`vccnz`, `s_cmp`, a plain copy, M as a data operand) would see bits from other lanes that the model lacks. Any such read reachable after the join, before M is rewritten, keeps the refusal. ## Change - `tools/startup/gfx2hlsl.py`: `Stage.phi_mask_ok` accepts a live definition of M (`vcc_lo` or one `sN`, 32-bit) in a straight-line execz block when: - every write of M in the block is `s_mov_b32 M, exec_lo` or `s_and_b32 M, X, exec_lo` (either order); - the last write before the branch is `s_mov_b32 M, 0`, with no branch and no branch target between it and the branch; - every read of M reachable from the join before a rewrite is per lane, as checked by `per_lane_read`. That covers the lane select of `v_cndmask`, the carry-in of `v_addc`/`v_subb`/`v_*_co_ci`, `s_and_saveexec_b32`, and `s_and_b32` with exec. Everything else keeps the existing refusal text. - `docs/experiments.md`: the execz paragraph describes the accepted mask and the refusals that remain. ## Test `tests/startup_gfx2hlsl_compute_check.py`: - Accepted cases, checked against the generated HLSL (`vcc=0; if(pc==1) vcc=exec&1; … (vcc&1)?v6:v5`): `vcc` and `s20` with the move, `vcc` and `s20` with `s_and` (both operand orders), and `s_and_b32 s20, vcc_lo, exec_lo` read after the join. - Negative controls, each still refused with `definition of …, live where the block joins`: - zeroing with -1, with `s7`, or missing; - a branch target, a branch, or a branch to the join between the zeroing and the branch; - a branch inside the block; - an in-block write of -1, of `s7`, or `s_and` without exec; - `s_mov_b64 vcc, exec`; - reads after the join through `s_cbranch_vccz`, `s_mov_b32 s20, vcc_lo`, `s_cmp` on M, a copy of M, or M as a `v_cndmask` data operand. - Mutations: breaking each condition in turn makes the check fail. The two survivors are a guard that the test prologue cannot reach and a destination check that the form check already implies. - All 64 `tests/startup_gfx2hlsl_*_check.py` pass on Linux. The Windows draw tests are left to CI. ## Limits - An accepted `s_and_b32 X, M, exec_lo` read is not followed further. A later whole-mask read of X is therefore not caught, the same limit the model already has for any `vcc` written by a `v_cmp`. - `s_mov_b32 vcc_hi, exec_lo` crashes the translator with a `TypeError` (destination unsupported). That is independent of this change and not fixed here. - If @NiiRoZz can rerun the census with this branch, it would show whether the 25 requests all match this shape. Refs #2463. AI-assisted (Claude Code).
upstream-sync closed this pull request 2026-11-25 20:04:30 +00:00
tedin7 commented 2026-11-25 20:04:30 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by tedin7 on 2026-11-25T19:08:33Z.

Review: COMMENTED


Review of head 12a35e99 against main (13 commits behind, no conflict).

What I checked:

  • Stage.phi_mask_ok and per_lane_read in tools/startup/gfx2hlsl.py. The argument holds: every in-block write of M is a copy of exec_lo or X & exec_lo, M is zeroed on every path before the branch, and any whole-mask read reachable from the join keeps the old refusal. I found no path that accepts a whole-mask read.
  • exec_stays_clear still gates each exec write in the block, and the refusal text is unchanged for everything not accepted.
  • No other open or merged PR covers this slice (searched "phi lane mask execz").
  • This is a translator acceptance change. It adds no new math lowering, so I did not ask for a WARP readback in the PR itself. Windows CI is green on this head.

Commands run (Linux):

  • python3 tests/startup_gfx2hlsl_compute_check.py: passed
  • python3 tests/docs_links_check.py: passed
  • python3 tests/bidi_controls_check.py: passed
  • git diff --check origin/main...HEAD: clean
  • Mutations of the code under test, each followed by git checkout -- .:
    • s_mov_b32 from any source accepted: test fails (good)
    • zeroing check relaxed to any write: test fails (good)
    • per-lane read check removed: test fails (good)
    • branch-target guard between zeroing and branch removed: test fails (good)
    • s_and_saveexec_b32 accepted as a per-lane read removed: the test still passes (survivor)

One small gap, not a blocker: no accepted case reads M through s_and_saveexec_b32 after the join, so that branch of per_lane_read is not guarded. One extra case in tests/startup_gfx2hlsl_compute_check.py would cover it.

AI-assisted; commands listed were executed locally.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:review:6063427007 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/2505#pullrequestreview-6063427007). Originally posted by [tedin7](https://github.com/tedin7) on 2026-11-25T19:08:33Z. **Review:** COMMENTED --- Review of head 12a35e99 against main (13 commits behind, no conflict). What I checked: - `Stage.phi_mask_ok` and `per_lane_read` in `tools/startup/gfx2hlsl.py`. The argument holds: every in-block write of M is a copy of exec_lo or `X & exec_lo`, M is zeroed on every path before the branch, and any whole-mask read reachable from the join keeps the old refusal. I found no path that accepts a whole-mask read. - `exec_stays_clear` still gates each exec write in the block, and the refusal text is unchanged for everything not accepted. - No other open or merged PR covers this slice (searched "phi lane mask execz"). - This is a translator acceptance change. It adds no new math lowering, so I did not ask for a WARP readback in the PR itself. Windows CI is green on this head. Commands run (Linux): - `python3 tests/startup_gfx2hlsl_compute_check.py`: passed - `python3 tests/docs_links_check.py`: passed - `python3 tests/bidi_controls_check.py`: passed - `git diff --check origin/main...HEAD`: clean - Mutations of the code under test, each followed by `git checkout -- .`: - `s_mov_b32` from any source accepted: test fails (good) - zeroing check relaxed to any write: test fails (good) - per-lane read check removed: test fails (good) - branch-target guard between zeroing and branch removed: test fails (good) - `s_and_saveexec_b32` accepted as a per-lane read removed: the test still passes (survivor) One small gap, not a blocker: no accepted case reads M through `s_and_saveexec_b32` after the join, so that branch of `per_lane_read` is not guarded. One extra case in `tests/startup_gfx2hlsl_compute_check.py` would cover it. AI-assisted; commands listed were executed locally.
tedin7 commented 2026-11-25 20:04:30 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by tedin7 on 2026-11-25T19:14:30Z.

Review: COMMENTED


Review of head 1850ac6d. The only change since 12a35e99 is a test (6 lines in tests/startup_gfx2hlsl_compute_check.py). It pins the s_and_saveexec_b32 read that my earlier review said was unguarded.

Commands run (Linux):

  • python3 tests/startup_gfx2hlsl_compute_check.py: passed
  • git diff --check origin/main...HEAD: clean
  • Mutation: s_and_saveexec_b32 accepted as a per-lane read removed in per_lane_read: the test now fails (it survived on 12a35e99). Reverted with git checkout -- ..

The rest of my earlier review (code unchanged) still applies: no issues found.

AI-assisted; commands listed were executed locally.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:review:6063517951 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/2505#pullrequestreview-6063517951). Originally posted by [tedin7](https://github.com/tedin7) on 2026-11-25T19:14:30Z. **Review:** COMMENTED --- Review of head 1850ac6d. The only change since 12a35e99 is a test (6 lines in `tests/startup_gfx2hlsl_compute_check.py`). It pins the `s_and_saveexec_b32` read that my earlier review said was unguarded. Commands run (Linux): - `python3 tests/startup_gfx2hlsl_compute_check.py`: passed - `git diff --check origin/main...HEAD`: clean - Mutation: `s_and_saveexec_b32` accepted as a per-lane read removed in `per_lane_read`: the test now fails (it survived on 12a35e99). Reverted with `git checkout -- .`. The rest of my earlier review (code unchanged) still applies: no issues found. AI-assisted; commands listed were executed locally.
tedin7 commented 2026-11-25 20:04:40 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by tedin7 on 2026-11-25T19:11:27Z.


Win2025 WARP receipt for head 12a35e99.

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

  • Debug (--preset dev):
    • Build (cmake --build --preset dev --target d3d12_xs_device_obj d3d12_xs_shim -- -j 2): 62.39s (configure 5.69s)
  • Release /O2 (--preset release):
    • Build (cmake --build --preset release --target d3d12_xs_device_obj d3d12_xs_shim -- -j 2): 5.20s (configure 5.89s)
  • Windows Python checks: tests/mesh_heap_sampler_check.py ok (1.1s), tests/startup_buffer_address_check.py ok (0.7s), tests/startup_compute_image_store_d16_check.py ok (0.9s), tests/startup_compute_request_offline_check.py ok (0.7s), tests/startup_compute_translate_check.py ok (0.4s), tests/startup_flat_param_check.py ok (0.2s), tests/startup_gfx2hlsl_add_sub_co_check.py ok (0.2s), tests/startup_gfx2hlsl_add_sub_co_ci_check.py ok (0.2s), tests/startup_gfx2hlsl_bit_alu_check.py ok (1.2s), tests/startup_gfx2hlsl_capture_check.py ok (1.3s), tests/startup_gfx2hlsl_cmp16_check.py ok (0.4s), tests/startup_gfx2hlsl_compare_dst_check.py ok (0.1s), tests/startup_gfx2hlsl_compute_check.py ok (0.5s), tests/startup_gfx2hlsl_cselect_mask_check.py ok (0.1s), tests/startup_gfx2hlsl_cvt_alu_check.py ok (0.2s), tests/startup_gfx2hlsl_f32_lg_check.py ok (1.9s), tests/startup_gfx2hlsl_f32_nan_check.py ok (7.0s), 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.1s), tests/startup_gfx2hlsl_int_med3_check.py ok (0.2s), tests/startup_gfx2hlsl_join_symbols_check.py ok (0.3s), tests/startup_gfx2hlsl_loop_constants_check.py ok (0.1s), tests/startup_gfx2hlsl_mask_overwrite_check.py ok (0.1s), tests/startup_gfx2hlsl_operand_count_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 (0.6s), tests/startup_gfx2hlsl_root_check.py ok (0.9s), tests/startup_gfx2hlsl_saveexec_same_reg_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.1s), tests/startup_gfx2hlsl_sdwa_cvt_check.py ok (0.4s), tests/startup_gfx2hlsl_sgpr_spill_check.py ok (0.1s), tests/startup_gfx2hlsl_shift64_check.py ok (0.2s), tests/startup_gfx2hlsl_smem_offset_check.py ok (0.1s), tests/startup_gfx2hlsl_sop2_complement_check.py ok (6.8s), tests/startup_gfx2hlsl_sopk_accum_check.py ok (1.1s), tests/startup_gfx2hlsl_sopk_signext_check.py ok (0.2s), tests/startup_gfx2hlsl_swap_check.py ok (0.4s), tests/startup_gfx2hlsl_vopc_sdwa_check.py ok (7.4s), tests/startup_gfx2hlsl_waitcnt_depctr_check.py ok (0.1s), tests/startup_gfx2hlsl_watch_check.py ok (3.0s), tests/startup_image_2d_array_check.py ok (0.3s), tests/startup_image_3d_check.py ok (0.2s), tests/startup_image_gather_lz_check.py ok (1.0s), tests/startup_image_load_d16_check.py ok (1.8s), tests/startup_image_sample_a16_check.py ok (0.3s), tests/startup_image_sample_b_check.py ok (0.2s), tests/startup_image_sample_c_check.py ok (0.4s), tests/startup_image_sample_l_check.py ok (0.3s), tests/startup_image_sample_lod_check.py ok (0.2s), tests/startup_inline_sampler_check.py ok (0.2s), tests/startup_run_ps1_check.py ok (18.2s), tests/startup_run_sh_check.py FAIL (0.1s), tests/startup_sampler_heap_check.py ok (0.2s), tests/startup_smem_address_check.py ok (0.1s), tests/startup_stream_fetch_check.py ok (0.3s), tests/startup_stream_interface_check.py ok (0.4s), tests/startup_translator_check.py ok (1.1s)
  • sccache: 2/35 hits; wall 158.7s
    AI-assisted; commands listed were executed locally.
<!-- greyfinch-sync:R0Y00/Xbox2Windows:comment:7171942741 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/2505#issuecomment-7171942741). Originally posted by [tedin7](https://github.com/tedin7) on 2026-11-25T19:11:27Z. --- Win2025 WARP receipt for head 12a35e99. Verified on Windows Server 2025 (Build 26100, MSVC 14.44.35207 + D3D12 WARP) at commit `12a35e99b6f019b959a8075f433ed6fe53b7a3b2`: - **Debug (`--preset dev`)**: - Build (`cmake --build --preset dev --target d3d12_xs_device_obj d3d12_xs_shim -- -j 2`): `62.39s` (configure `5.69s`) - **Release `/O2` (`--preset release`)**: - Build (`cmake --build --preset release --target d3d12_xs_device_obj d3d12_xs_shim -- -j 2`): `5.20s` (configure `5.89s`) - **Windows Python checks**: `tests/mesh_heap_sampler_check.py` ok (`1.1s`), `tests/startup_buffer_address_check.py` ok (`0.7s`), `tests/startup_compute_image_store_d16_check.py` ok (`0.9s`), `tests/startup_compute_request_offline_check.py` ok (`0.7s`), `tests/startup_compute_translate_check.py` ok (`0.4s`), `tests/startup_flat_param_check.py` ok (`0.2s`), `tests/startup_gfx2hlsl_add_sub_co_check.py` ok (`0.2s`), `tests/startup_gfx2hlsl_add_sub_co_ci_check.py` ok (`0.2s`), `tests/startup_gfx2hlsl_bit_alu_check.py` ok (`1.2s`), `tests/startup_gfx2hlsl_capture_check.py` ok (`1.3s`), `tests/startup_gfx2hlsl_cmp16_check.py` ok (`0.4s`), `tests/startup_gfx2hlsl_compare_dst_check.py` ok (`0.1s`), `tests/startup_gfx2hlsl_compute_check.py` ok (`0.5s`), `tests/startup_gfx2hlsl_cselect_mask_check.py` ok (`0.1s`), `tests/startup_gfx2hlsl_cvt_alu_check.py` ok (`0.2s`), `tests/startup_gfx2hlsl_f32_lg_check.py` ok (`1.9s`), `tests/startup_gfx2hlsl_f32_nan_check.py` ok (`7.0s`), `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.1s`), `tests/startup_gfx2hlsl_int_med3_check.py` ok (`0.2s`), `tests/startup_gfx2hlsl_join_symbols_check.py` ok (`0.3s`), `tests/startup_gfx2hlsl_loop_constants_check.py` ok (`0.1s`), `tests/startup_gfx2hlsl_mask_overwrite_check.py` ok (`0.1s`), `tests/startup_gfx2hlsl_operand_count_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 (`0.6s`), `tests/startup_gfx2hlsl_root_check.py` ok (`0.9s`), `tests/startup_gfx2hlsl_saveexec_same_reg_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.1s`), `tests/startup_gfx2hlsl_sdwa_cvt_check.py` ok (`0.4s`), `tests/startup_gfx2hlsl_sgpr_spill_check.py` ok (`0.1s`), `tests/startup_gfx2hlsl_shift64_check.py` ok (`0.2s`), `tests/startup_gfx2hlsl_smem_offset_check.py` ok (`0.1s`), `tests/startup_gfx2hlsl_sop2_complement_check.py` ok (`6.8s`), `tests/startup_gfx2hlsl_sopk_accum_check.py` ok (`1.1s`), `tests/startup_gfx2hlsl_sopk_signext_check.py` ok (`0.2s`), `tests/startup_gfx2hlsl_swap_check.py` ok (`0.4s`), `tests/startup_gfx2hlsl_vopc_sdwa_check.py` ok (`7.4s`), `tests/startup_gfx2hlsl_waitcnt_depctr_check.py` ok (`0.1s`), `tests/startup_gfx2hlsl_watch_check.py` ok (`3.0s`), `tests/startup_image_2d_array_check.py` ok (`0.3s`), `tests/startup_image_3d_check.py` ok (`0.2s`), `tests/startup_image_gather_lz_check.py` ok (`1.0s`), `tests/startup_image_load_d16_check.py` ok (`1.8s`), `tests/startup_image_sample_a16_check.py` ok (`0.3s`), `tests/startup_image_sample_b_check.py` ok (`0.2s`), `tests/startup_image_sample_c_check.py` ok (`0.4s`), `tests/startup_image_sample_l_check.py` ok (`0.3s`), `tests/startup_image_sample_lod_check.py` ok (`0.2s`), `tests/startup_inline_sampler_check.py` ok (`0.2s`), `tests/startup_run_ps1_check.py` ok (`18.2s`), `tests/startup_run_sh_check.py` FAIL (`0.1s`), `tests/startup_sampler_heap_check.py` ok (`0.2s`), `tests/startup_smem_address_check.py` ok (`0.1s`), `tests/startup_stream_fetch_check.py` ok (`0.3s`), `tests/startup_stream_interface_check.py` ok (`0.4s`), `tests/startup_translator_check.py` ok (`1.1s`) - `sccache`: 2/35 hits; wall `158.7s` AI-assisted; commands listed were executed locally.
tedin7 commented 2026-11-25 20:04:41 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by tedin7 on 2026-11-25T19:13:53Z.


Win2025 WARP receipt for head 12a35e99 (compute WARP tests; the earlier receipt ran Python checks only).

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

  • Debug (--preset dev):
    • Build (cmake --build --preset dev --target offscreen_check -- -j 2): 0.00s (configure 0.00s)
    • Test (ctest --preset dev -R 'startup_gfx2hlsl_compute_(controls|warp|mbcnt_warp|.*_warp)$' --parallel 2 --no-tests=error --output-on-failure): 14/14 passed (4.93s: startup_gfx2hlsl_compute_dropped-store_warp 0.49s, startup_gfx2hlsl_compute_controls 0.48s, startup_gfx2hlsl_compute_b-offset_warp 0.35s, startup_gfx2hlsl_compute_swapped-axes_warp 0.38s, startup_gfx2hlsl_compute_c-unpredicated_warp 0.43s, startup_gfx2hlsl_compute_warp 3.01s, startup_gfx2hlsl_compute_mbcnt_warp 1.02s, startup_gfx2hlsl_compute_f-peer_warp 0.38s, startup_gfx2hlsl_compute_f-broadcast_warp 0.37s, startup_gfx2hlsl_compute_g-swapped-offsets_warp 0.49s, startup_gfx2hlsl_compute_g-overlap_warp 0.47s, startup_gfx2hlsl_compute_j-scalar-dropped_warp 0.47s, startup_gfx2hlsl_compute_h-inner-unpredicated_warp 0.41s, startup_gfx2hlsl_compute_k-block-entered_warp 0.37s)
  • Release /O2 (--preset release):
    • Build (cmake --build --preset release --target offscreen_check -- -j 2): 0.00s (configure 0.00s)
    • Test (ctest --preset release -R 'startup_gfx2hlsl_compute_(controls|warp|mbcnt_warp|.*_warp)$' --parallel 2 --no-tests=error --output-on-failure): 14/14 passed (4.10s: startup_gfx2hlsl_compute_swapped-axes_warp 0.40s, startup_gfx2hlsl_compute_controls 0.52s, startup_gfx2hlsl_compute_b-offset_warp 0.36s, startup_gfx2hlsl_compute_dropped-store_warp 0.35s, startup_gfx2hlsl_compute_c-unpredicated_warp 0.38s, startup_gfx2hlsl_compute_warp 2.49s, startup_gfx2hlsl_compute_mbcnt_warp 0.80s, startup_gfx2hlsl_compute_f-peer_warp 0.37s, startup_gfx2hlsl_compute_f-broadcast_warp 0.34s, startup_gfx2hlsl_compute_g-swapped-offsets_warp 0.35s, startup_gfx2hlsl_compute_g-overlap_warp 0.35s, startup_gfx2hlsl_compute_j-scalar-dropped_warp 0.33s, startup_gfx2hlsl_compute_h-inner-unpredicated_warp 0.36s, startup_gfx2hlsl_compute_k-block-entered_warp 0.36s)
  • Windows Python checks: tests/mesh_heap_sampler_check.py ok (1.0s), tests/startup_buffer_address_check.py ok (0.6s), tests/startup_compute_image_store_d16_check.py ok (0.8s), tests/startup_compute_request_offline_check.py ok (0.6s), tests/startup_compute_translate_check.py ok (0.3s), tests/startup_flat_param_check.py ok (0.1s), tests/startup_gfx2hlsl_add_sub_co_check.py ok (0.2s), tests/startup_gfx2hlsl_add_sub_co_ci_check.py ok (0.2s), tests/startup_gfx2hlsl_bit_alu_check.py ok (0.9s), tests/startup_gfx2hlsl_capture_check.py ok (1.3s), tests/startup_gfx2hlsl_cmp16_check.py ok (0.3s), tests/startup_gfx2hlsl_compare_dst_check.py ok (0.1s), tests/startup_gfx2hlsl_compute_check.py ok (0.5s), tests/startup_gfx2hlsl_cselect_mask_check.py ok (0.1s), tests/startup_gfx2hlsl_cvt_alu_check.py ok (0.2s), tests/startup_gfx2hlsl_f32_lg_check.py ok (1.8s), tests/startup_gfx2hlsl_f32_nan_check.py ok (7.0s), 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.1s), tests/startup_gfx2hlsl_int_med3_check.py ok (0.1s), tests/startup_gfx2hlsl_join_symbols_check.py ok (0.3s), tests/startup_gfx2hlsl_loop_constants_check.py ok (0.1s), tests/startup_gfx2hlsl_mask_overwrite_check.py ok (0.1s), tests/startup_gfx2hlsl_operand_count_check.py ok (0.2s), 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_saveexec_same_reg_check.py ok (0.1s), tests/startup_gfx2hlsl_scalar_brev_fold_check.py ok (0.1s), tests/startup_gfx2hlsl_scalar_m0_check.py ok (0.1s), tests/startup_gfx2hlsl_sdwa_cvt_check.py ok (0.3s), tests/startup_gfx2hlsl_sgpr_spill_check.py ok (0.1s), tests/startup_gfx2hlsl_shift64_check.py ok (0.2s), tests/startup_gfx2hlsl_smem_offset_check.py ok (0.1s), tests/startup_gfx2hlsl_sop2_complement_check.py ok (6.1s), tests/startup_gfx2hlsl_sopk_accum_check.py ok (1.1s), tests/startup_gfx2hlsl_sopk_signext_check.py ok (0.2s), tests/startup_gfx2hlsl_swap_check.py ok (0.3s), tests/startup_gfx2hlsl_vopc_sdwa_check.py ok (6.6s), tests/startup_gfx2hlsl_waitcnt_depctr_check.py ok (0.1s), tests/startup_gfx2hlsl_watch_check.py ok (2.8s), 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.8s), tests/startup_image_load_d16_check.py ok (1.2s), 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.1s), tests/startup_inline_sampler_check.py ok (0.2s), tests/startup_run_ps1_check.py ok (12.7s), tests/startup_run_sh_check.py FAIL (0.1s), tests/startup_sampler_heap_check.py ok (0.1s), tests/startup_smem_address_check.py ok (0.1s), tests/startup_stream_fetch_check.py ok (0.3s), tests/startup_stream_interface_check.py ok (0.3s), tests/startup_translator_check.py ok (0.7s)
  • sccache: 0/2 hits; wall 71.9s
    AI-assisted; commands listed were executed locally.
<!-- greyfinch-sync:R0Y00/Xbox2Windows:comment:7172002089 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/2505#issuecomment-7172002089). Originally posted by [tedin7](https://github.com/tedin7) on 2026-11-25T19:13:53Z. --- Win2025 WARP receipt for head 12a35e99 (compute WARP tests; the earlier receipt ran Python checks only). Verified on Windows Server 2025 (Build 26100, MSVC 14.44.35207 + D3D12 WARP) at commit `12a35e99b6f019b959a8075f433ed6fe53b7a3b2`: - **Debug (`--preset dev`)**: - Build (`cmake --build --preset dev --target offscreen_check -- -j 2`): `0.00s` (configure `0.00s`) - Test (`ctest --preset dev -R 'startup_gfx2hlsl_compute_(controls|warp|mbcnt_warp|.*_warp)$' --parallel 2 --no-tests=error --output-on-failure`): **14/14 passed** (`4.93s`: `startup_gfx2hlsl_compute_dropped-store_warp` `0.49s`, `startup_gfx2hlsl_compute_controls` `0.48s`, `startup_gfx2hlsl_compute_b-offset_warp` `0.35s`, `startup_gfx2hlsl_compute_swapped-axes_warp` `0.38s`, `startup_gfx2hlsl_compute_c-unpredicated_warp` `0.43s`, `startup_gfx2hlsl_compute_warp` `3.01s`, `startup_gfx2hlsl_compute_mbcnt_warp` `1.02s`, `startup_gfx2hlsl_compute_f-peer_warp` `0.38s`, `startup_gfx2hlsl_compute_f-broadcast_warp` `0.37s`, `startup_gfx2hlsl_compute_g-swapped-offsets_warp` `0.49s`, `startup_gfx2hlsl_compute_g-overlap_warp` `0.47s`, `startup_gfx2hlsl_compute_j-scalar-dropped_warp` `0.47s`, `startup_gfx2hlsl_compute_h-inner-unpredicated_warp` `0.41s`, `startup_gfx2hlsl_compute_k-block-entered_warp` `0.37s`) - **Release `/O2` (`--preset release`)**: - Build (`cmake --build --preset release --target offscreen_check -- -j 2`): `0.00s` (configure `0.00s`) - Test (`ctest --preset release -R 'startup_gfx2hlsl_compute_(controls|warp|mbcnt_warp|.*_warp)$' --parallel 2 --no-tests=error --output-on-failure`): **14/14 passed** (`4.10s`: `startup_gfx2hlsl_compute_swapped-axes_warp` `0.40s`, `startup_gfx2hlsl_compute_controls` `0.52s`, `startup_gfx2hlsl_compute_b-offset_warp` `0.36s`, `startup_gfx2hlsl_compute_dropped-store_warp` `0.35s`, `startup_gfx2hlsl_compute_c-unpredicated_warp` `0.38s`, `startup_gfx2hlsl_compute_warp` `2.49s`, `startup_gfx2hlsl_compute_mbcnt_warp` `0.80s`, `startup_gfx2hlsl_compute_f-peer_warp` `0.37s`, `startup_gfx2hlsl_compute_f-broadcast_warp` `0.34s`, `startup_gfx2hlsl_compute_g-swapped-offsets_warp` `0.35s`, `startup_gfx2hlsl_compute_g-overlap_warp` `0.35s`, `startup_gfx2hlsl_compute_j-scalar-dropped_warp` `0.33s`, `startup_gfx2hlsl_compute_h-inner-unpredicated_warp` `0.36s`, `startup_gfx2hlsl_compute_k-block-entered_warp` `0.36s`) - **Windows Python checks**: `tests/mesh_heap_sampler_check.py` ok (`1.0s`), `tests/startup_buffer_address_check.py` ok (`0.6s`), `tests/startup_compute_image_store_d16_check.py` ok (`0.8s`), `tests/startup_compute_request_offline_check.py` ok (`0.6s`), `tests/startup_compute_translate_check.py` ok (`0.3s`), `tests/startup_flat_param_check.py` ok (`0.1s`), `tests/startup_gfx2hlsl_add_sub_co_check.py` ok (`0.2s`), `tests/startup_gfx2hlsl_add_sub_co_ci_check.py` ok (`0.2s`), `tests/startup_gfx2hlsl_bit_alu_check.py` ok (`0.9s`), `tests/startup_gfx2hlsl_capture_check.py` ok (`1.3s`), `tests/startup_gfx2hlsl_cmp16_check.py` ok (`0.3s`), `tests/startup_gfx2hlsl_compare_dst_check.py` ok (`0.1s`), `tests/startup_gfx2hlsl_compute_check.py` ok (`0.5s`), `tests/startup_gfx2hlsl_cselect_mask_check.py` ok (`0.1s`), `tests/startup_gfx2hlsl_cvt_alu_check.py` ok (`0.2s`), `tests/startup_gfx2hlsl_f32_lg_check.py` ok (`1.8s`), `tests/startup_gfx2hlsl_f32_nan_check.py` ok (`7.0s`), `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.1s`), `tests/startup_gfx2hlsl_int_med3_check.py` ok (`0.1s`), `tests/startup_gfx2hlsl_join_symbols_check.py` ok (`0.3s`), `tests/startup_gfx2hlsl_loop_constants_check.py` ok (`0.1s`), `tests/startup_gfx2hlsl_mask_overwrite_check.py` ok (`0.1s`), `tests/startup_gfx2hlsl_operand_count_check.py` ok (`0.2s`), `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_saveexec_same_reg_check.py` ok (`0.1s`), `tests/startup_gfx2hlsl_scalar_brev_fold_check.py` ok (`0.1s`), `tests/startup_gfx2hlsl_scalar_m0_check.py` ok (`0.1s`), `tests/startup_gfx2hlsl_sdwa_cvt_check.py` ok (`0.3s`), `tests/startup_gfx2hlsl_sgpr_spill_check.py` ok (`0.1s`), `tests/startup_gfx2hlsl_shift64_check.py` ok (`0.2s`), `tests/startup_gfx2hlsl_smem_offset_check.py` ok (`0.1s`), `tests/startup_gfx2hlsl_sop2_complement_check.py` ok (`6.1s`), `tests/startup_gfx2hlsl_sopk_accum_check.py` ok (`1.1s`), `tests/startup_gfx2hlsl_sopk_signext_check.py` ok (`0.2s`), `tests/startup_gfx2hlsl_swap_check.py` ok (`0.3s`), `tests/startup_gfx2hlsl_vopc_sdwa_check.py` ok (`6.6s`), `tests/startup_gfx2hlsl_waitcnt_depctr_check.py` ok (`0.1s`), `tests/startup_gfx2hlsl_watch_check.py` ok (`2.8s`), `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.8s`), `tests/startup_image_load_d16_check.py` ok (`1.2s`), `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.1s`), `tests/startup_inline_sampler_check.py` ok (`0.2s`), `tests/startup_run_ps1_check.py` ok (`12.7s`), `tests/startup_run_sh_check.py` FAIL (`0.1s`), `tests/startup_sampler_heap_check.py` ok (`0.1s`), `tests/startup_smem_address_check.py` ok (`0.1s`), `tests/startup_stream_fetch_check.py` ok (`0.3s`), `tests/startup_stream_interface_check.py` ok (`0.3s`), `tests/startup_translator_check.py` ok (`0.7s`) - `sccache`: 0/2 hits; wall `71.9s` AI-assisted; commands listed were executed locally.
Ybucaille commented 2026-11-25 20:04:41 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by Ybucaille on 2026-11-25T19:16:17Z.


Thanks @tedin7, for the review and both receipts. The survivor is pinned in 1850ac6d: an accepted case now reads the mask through s_and_saveexec_b32 s22, vcc_lo after the join, and s_and_saveexec_b32 vcc_lo, vcc_lo (mask as destination) keeps the refusal. With the s_and_saveexec_b32 branch of per_lane_read removed, tests/startup_gfx2hlsl_compute_check.py now fails; restored, it passes, as do docs_links_check.py and git diff --check.

On the tests/startup_run_sh_check.py FAIL in the second receipt: this PR does not touch run.sh or that check, and it passes on Linux at this head, so I take it as a Windows-host issue (no POSIX sh?) rather than something from this change. Happy to look if it also fails on main there.

AI-assisted (Claude Code).

<!-- greyfinch-sync:R0Y00/Xbox2Windows:comment:7172063510 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/2505#issuecomment-7172063510). Originally posted by [Ybucaille](https://github.com/Ybucaille) on 2026-11-25T19:16:17Z. --- Thanks @tedin7, for the review and both receipts. The survivor is pinned in `1850ac6d`: an accepted case now reads the mask through `s_and_saveexec_b32 s22, vcc_lo` after the join, and `s_and_saveexec_b32 vcc_lo, vcc_lo` (mask as destination) keeps the refusal. With the `s_and_saveexec_b32` branch of `per_lane_read` removed, `tests/startup_gfx2hlsl_compute_check.py` now fails; restored, it passes, as do `docs_links_check.py` and `git diff --check`. On the `tests/startup_run_sh_check.py` FAIL in the second receipt: this PR does not touch `run.sh` or that check, and it passes on Linux at this head, so I take it as a Windows-host issue (no POSIX `sh`?) rather than something from this change. Happy to look if it also fails on `main` there. AI-assisted (Claude Code).
MasterDomino commented 2026-11-25 20:04:42 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by MasterDomino on 2026-11-25T19:17:34Z.


Additional notes on head 1850ac6d, on top of @tedin7's review. Since @tedin7 is handling this PR, I'll leave the merge with them. None of these block the argument.

What I checked

  • The argument holds. If the wave skips the block, M stays 0. If it runs the block, every accepted write (exec_lo, X & exec_lo, after exec writes that exec_stays_clear accepts) leaves bit 0 for a lane whose exec bit is clear. The relaxation is confined to execz_refusals, which is compute only.
  • No cache bump needed. The 17 compute fixture cases translate to byte-identical HLSL on main and on this branch.
  • No overlap with #2466. It changes the joined-symbol proof outside compute, and execz_targets is empty for cs. A merge of main, this PR and #2466 is clean, and all 66 startup_gfx2hlsl_* checks pass on it.

P3 findings

  1. A second unpinned condition. At 1850ac6d, changing per_lane_read's s_and_b32 rule (tools/startup/gfx2hlsl.py:1565) from ... and any(is_exec(...)) to ... or any(...) still passes tests/startup_gfx2hlsl_compute_check.py, so the "s_and_b32 read must include exec" requirement isn't pinned. Main does refuse s_and_b32 s9, vcc_lo, s7 after the join, so this is coverage only. One refusal case would pin it, in the same way 1850ac6d pinned the s_and_saveexec_b32 read.
  2. Weak positive assertion. tests/startup_gfx2hlsl_compute_check.py:962 accepts 's20 = ' in text, which the zeroing statement s20 = 0x00000000u; already satisfies. For the s20 cases it doesn't confirm the block's own write. Asserting the actual statement (s20 = (s7 & exec) & 1; or similar) would check what the description says it does.
  3. SCC from an accepted reader. s_and_b32 D, M, exec_lo and s_and_saveexec_b32 D, M are accepted as per-lane reads, but they also write SCC = (result != 0), which is a whole-wave value. A later s_cbranch_scc* or s_cselect on that SCC would follow the model's lane rather than the wave. main already makes the same approximation for a v_cmp mask, so this isn't new. But the description and docs say whole-mask reads keep the refusal, so it belongs under Limits, unless SCC from such a reader is refused while it's live.

AI-assisted; mutation and checks executed locally (Windows 11 build 26300, Python 3.13).

<!-- greyfinch-sync:R0Y00/Xbox2Windows:comment:7172094980 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/2505#issuecomment-7172094980). Originally posted by [MasterDomino](https://github.com/MasterDomino) on 2026-11-25T19:17:34Z. --- Additional notes on head `1850ac6d`, on top of @tedin7's review. Since @tedin7 is handling this PR, I'll leave the merge with them. None of these block the argument. **What I checked** - **The argument holds.** If the wave skips the block, M stays 0. If it runs the block, every accepted write (`exec_lo`, `X & exec_lo`, after exec writes that `exec_stays_clear` accepts) leaves bit 0 for a lane whose exec bit is clear. The relaxation is confined to `execz_refusals`, which is compute only. - **No cache bump needed.** The 17 compute fixture cases translate to byte-identical HLSL on `main` and on this branch. - **No overlap with #2466.** It changes the joined-symbol proof outside compute, and `execz_targets` is empty for `cs`. A merge of `main`, this PR and #2466 is clean, and all 66 `startup_gfx2hlsl_*` checks pass on it. **P3 findings** 1. **A second unpinned condition.** At `1850ac6d`, changing `per_lane_read`'s `s_and_b32` rule (`tools/startup/gfx2hlsl.py:1565`) from `... and any(is_exec(...))` to `... or any(...)` still passes `tests/startup_gfx2hlsl_compute_check.py`, so the "`s_and_b32` read must include exec" requirement isn't pinned. Main does refuse `s_and_b32 s9, vcc_lo, s7` after the join, so this is coverage only. One refusal case would pin it, in the same way `1850ac6d` pinned the `s_and_saveexec_b32` read. 2. **Weak positive assertion.** `tests/startup_gfx2hlsl_compute_check.py:962` accepts `'s20 = ' in text`, which the zeroing statement `s20 = 0x00000000u;` already satisfies. For the s20 cases it doesn't confirm the block's own write. Asserting the actual statement (`s20 = (s7 & exec) & 1;` or similar) would check what the description says it does. 3. **SCC from an accepted reader.** `s_and_b32 D, M, exec_lo` and `s_and_saveexec_b32 D, M` are accepted as per-lane reads, but they also write SCC = (result != 0), which is a whole-wave value. A later `s_cbranch_scc*` or `s_cselect` on that SCC would follow the model's lane rather than the wave. `main` already makes the same approximation for a `v_cmp` mask, so this isn't new. But the description and docs say whole-mask reads keep the refusal, so it belongs under Limits, unless SCC from such a reader is refused while it's live. AI-assisted; mutation and checks executed locally (Windows 11 build 26300, Python 3.13).
tedin7 commented 2026-11-25 20:04:42 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by tedin7 on 2026-11-25T19:17:55Z.


Win2025 WARP receipt for head 1850ac6d (compute WARP tests).

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

  • Debug (--preset dev):
    • Build (cmake --build --preset dev --target offscreen_check -- -j 2): 0.00s (configure 0.00s)
    • Test (ctest --preset dev -R 'startup_gfx2hlsl_compute_(controls|warp|mbcnt_warp|.*_warp)$' --parallel 2 --no-tests=error --output-on-failure): 14/14 passed (3.73s: startup_gfx2hlsl_compute_mbcnt_warp 0.69s, startup_gfx2hlsl_compute_dropped-store_warp 0.30s, startup_gfx2hlsl_compute_c-unpredicated_warp 0.30s, startup_gfx2hlsl_compute_b-offset_warp 0.32s, startup_gfx2hlsl_compute_controls 0.42s, startup_gfx2hlsl_compute_warp 2.27s, startup_gfx2hlsl_compute_swapped-axes_warp 0.32s, startup_gfx2hlsl_compute_g-overlap_warp 0.31s, startup_gfx2hlsl_compute_g-swapped-offsets_warp 0.31s, startup_gfx2hlsl_compute_j-scalar-dropped_warp 0.33s, startup_gfx2hlsl_compute_k-block-entered_warp 0.32s, startup_gfx2hlsl_compute_h-inner-unpredicated_warp 0.31s, startup_gfx2hlsl_compute_f-peer_warp 0.31s, startup_gfx2hlsl_compute_f-broadcast_warp 0.37s)
  • Release /O2 (--preset release):
    • Build (cmake --build --preset release --target offscreen_check -- -j 2): 0.00s (configure 0.00s)
    • Test (ctest --preset release -R 'startup_gfx2hlsl_compute_(controls|warp|mbcnt_warp|.*_warp)$' --parallel 2 --no-tests=error --output-on-failure): 14/14 passed (3.36s: startup_gfx2hlsl_compute_mbcnt_warp 0.71s, startup_gfx2hlsl_compute_controls 0.40s, startup_gfx2hlsl_compute_g-overlap_warp 0.28s, startup_gfx2hlsl_compute_b-offset_warp 0.30s, startup_gfx2hlsl_compute_swapped-axes_warp 0.29s, startup_gfx2hlsl_compute_warp 2.08s, startup_gfx2hlsl_compute_c-unpredicated_warp 0.28s, startup_gfx2hlsl_compute_dropped-store_warp 0.29s, startup_gfx2hlsl_compute_g-swapped-offsets_warp 0.29s, startup_gfx2hlsl_compute_j-scalar-dropped_warp 0.29s, startup_gfx2hlsl_compute_h-inner-unpredicated_warp 0.30s, startup_gfx2hlsl_compute_f-peer_warp 0.28s, startup_gfx2hlsl_compute_f-broadcast_warp 0.29s, startup_gfx2hlsl_compute_k-block-entered_warp 0.29s)
  • Windows Python checks: tests/mesh_heap_sampler_check.py ok (1.0s), tests/startup_buffer_address_check.py ok (0.6s), tests/startup_compute_image_store_d16_check.py ok (0.8s), tests/startup_compute_request_offline_check.py ok (0.6s), tests/startup_compute_translate_check.py ok (0.4s), tests/startup_flat_param_check.py ok (0.1s), tests/startup_gfx2hlsl_add_sub_co_check.py ok (0.2s), tests/startup_gfx2hlsl_add_sub_co_ci_check.py ok (0.2s), tests/startup_gfx2hlsl_bit_alu_check.py ok (4.0s), tests/startup_gfx2hlsl_capture_check.py ok (2.1s), tests/startup_gfx2hlsl_cmp16_check.py ok (0.3s), tests/startup_gfx2hlsl_compare_dst_check.py ok (0.1s), tests/startup_gfx2hlsl_compute_check.py ok (0.5s), tests/startup_gfx2hlsl_cselect_mask_check.py ok (0.1s), tests/startup_gfx2hlsl_cvt_alu_check.py ok (0.2s), tests/startup_gfx2hlsl_f32_lg_check.py ok (1.8s), tests/startup_gfx2hlsl_f32_nan_check.py ok (6.2s), 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.1s), tests/startup_gfx2hlsl_int_med3_check.py ok (0.1s), tests/startup_gfx2hlsl_join_symbols_check.py ok (0.2s), tests/startup_gfx2hlsl_loop_constants_check.py ok (0.1s), tests/startup_gfx2hlsl_mask_overwrite_check.py ok (0.1s), tests/startup_gfx2hlsl_operand_count_check.py ok (0.2s), 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_saveexec_same_reg_check.py ok (0.1s), tests/startup_gfx2hlsl_scalar_brev_fold_check.py ok (0.1s), tests/startup_gfx2hlsl_scalar_m0_check.py ok (0.1s), tests/startup_gfx2hlsl_sdwa_cvt_check.py ok (0.3s), tests/startup_gfx2hlsl_sgpr_spill_check.py ok (0.1s), tests/startup_gfx2hlsl_shift64_check.py ok (0.1s), tests/startup_gfx2hlsl_smem_offset_check.py ok (0.1s), tests/startup_gfx2hlsl_sop2_complement_check.py ok (4.6s), tests/startup_gfx2hlsl_sopk_accum_check.py ok (0.9s), tests/startup_gfx2hlsl_sopk_signext_check.py ok (0.2s), tests/startup_gfx2hlsl_swap_check.py ok (0.3s), tests/startup_gfx2hlsl_vopc_sdwa_check.py ok (4.7s), tests/startup_gfx2hlsl_waitcnt_depctr_check.py ok (0.1s), tests/startup_gfx2hlsl_watch_check.py ok (2.6s), 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.6s), 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.1s), tests/startup_inline_sampler_check.py ok (0.2s), tests/startup_run_ps1_check.py ok (10.8s), tests/startup_run_sh_check.py FAIL (0.1s), tests/startup_sampler_heap_check.py ok (0.1s), 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.5s)
  • sccache: 2/124 hits; wall 70.7s
    AI-assisted; commands listed were executed locally.
<!-- greyfinch-sync:R0Y00/Xbox2Windows:comment:7172103135 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/2505#issuecomment-7172103135). Originally posted by [tedin7](https://github.com/tedin7) on 2026-11-25T19:17:55Z. --- Win2025 WARP receipt for head 1850ac6d (compute WARP tests). Verified on Windows Server 2025 (Build 26100, MSVC 14.44.35207 + D3D12 WARP) at commit `1850ac6dfabe97695c554be70196a3f38fe36946`: - **Debug (`--preset dev`)**: - Build (`cmake --build --preset dev --target offscreen_check -- -j 2`): `0.00s` (configure `0.00s`) - Test (`ctest --preset dev -R 'startup_gfx2hlsl_compute_(controls|warp|mbcnt_warp|.*_warp)$' --parallel 2 --no-tests=error --output-on-failure`): **14/14 passed** (`3.73s`: `startup_gfx2hlsl_compute_mbcnt_warp` `0.69s`, `startup_gfx2hlsl_compute_dropped-store_warp` `0.30s`, `startup_gfx2hlsl_compute_c-unpredicated_warp` `0.30s`, `startup_gfx2hlsl_compute_b-offset_warp` `0.32s`, `startup_gfx2hlsl_compute_controls` `0.42s`, `startup_gfx2hlsl_compute_warp` `2.27s`, `startup_gfx2hlsl_compute_swapped-axes_warp` `0.32s`, `startup_gfx2hlsl_compute_g-overlap_warp` `0.31s`, `startup_gfx2hlsl_compute_g-swapped-offsets_warp` `0.31s`, `startup_gfx2hlsl_compute_j-scalar-dropped_warp` `0.33s`, `startup_gfx2hlsl_compute_k-block-entered_warp` `0.32s`, `startup_gfx2hlsl_compute_h-inner-unpredicated_warp` `0.31s`, `startup_gfx2hlsl_compute_f-peer_warp` `0.31s`, `startup_gfx2hlsl_compute_f-broadcast_warp` `0.37s`) - **Release `/O2` (`--preset release`)**: - Build (`cmake --build --preset release --target offscreen_check -- -j 2`): `0.00s` (configure `0.00s`) - Test (`ctest --preset release -R 'startup_gfx2hlsl_compute_(controls|warp|mbcnt_warp|.*_warp)$' --parallel 2 --no-tests=error --output-on-failure`): **14/14 passed** (`3.36s`: `startup_gfx2hlsl_compute_mbcnt_warp` `0.71s`, `startup_gfx2hlsl_compute_controls` `0.40s`, `startup_gfx2hlsl_compute_g-overlap_warp` `0.28s`, `startup_gfx2hlsl_compute_b-offset_warp` `0.30s`, `startup_gfx2hlsl_compute_swapped-axes_warp` `0.29s`, `startup_gfx2hlsl_compute_warp` `2.08s`, `startup_gfx2hlsl_compute_c-unpredicated_warp` `0.28s`, `startup_gfx2hlsl_compute_dropped-store_warp` `0.29s`, `startup_gfx2hlsl_compute_g-swapped-offsets_warp` `0.29s`, `startup_gfx2hlsl_compute_j-scalar-dropped_warp` `0.29s`, `startup_gfx2hlsl_compute_h-inner-unpredicated_warp` `0.30s`, `startup_gfx2hlsl_compute_f-peer_warp` `0.28s`, `startup_gfx2hlsl_compute_f-broadcast_warp` `0.29s`, `startup_gfx2hlsl_compute_k-block-entered_warp` `0.29s`) - **Windows Python checks**: `tests/mesh_heap_sampler_check.py` ok (`1.0s`), `tests/startup_buffer_address_check.py` ok (`0.6s`), `tests/startup_compute_image_store_d16_check.py` ok (`0.8s`), `tests/startup_compute_request_offline_check.py` ok (`0.6s`), `tests/startup_compute_translate_check.py` ok (`0.4s`), `tests/startup_flat_param_check.py` ok (`0.1s`), `tests/startup_gfx2hlsl_add_sub_co_check.py` ok (`0.2s`), `tests/startup_gfx2hlsl_add_sub_co_ci_check.py` ok (`0.2s`), `tests/startup_gfx2hlsl_bit_alu_check.py` ok (`4.0s`), `tests/startup_gfx2hlsl_capture_check.py` ok (`2.1s`), `tests/startup_gfx2hlsl_cmp16_check.py` ok (`0.3s`), `tests/startup_gfx2hlsl_compare_dst_check.py` ok (`0.1s`), `tests/startup_gfx2hlsl_compute_check.py` ok (`0.5s`), `tests/startup_gfx2hlsl_cselect_mask_check.py` ok (`0.1s`), `tests/startup_gfx2hlsl_cvt_alu_check.py` ok (`0.2s`), `tests/startup_gfx2hlsl_f32_lg_check.py` ok (`1.8s`), `tests/startup_gfx2hlsl_f32_nan_check.py` ok (`6.2s`), `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.1s`), `tests/startup_gfx2hlsl_int_med3_check.py` ok (`0.1s`), `tests/startup_gfx2hlsl_join_symbols_check.py` ok (`0.2s`), `tests/startup_gfx2hlsl_loop_constants_check.py` ok (`0.1s`), `tests/startup_gfx2hlsl_mask_overwrite_check.py` ok (`0.1s`), `tests/startup_gfx2hlsl_operand_count_check.py` ok (`0.2s`), `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_saveexec_same_reg_check.py` ok (`0.1s`), `tests/startup_gfx2hlsl_scalar_brev_fold_check.py` ok (`0.1s`), `tests/startup_gfx2hlsl_scalar_m0_check.py` ok (`0.1s`), `tests/startup_gfx2hlsl_sdwa_cvt_check.py` ok (`0.3s`), `tests/startup_gfx2hlsl_sgpr_spill_check.py` ok (`0.1s`), `tests/startup_gfx2hlsl_shift64_check.py` ok (`0.1s`), `tests/startup_gfx2hlsl_smem_offset_check.py` ok (`0.1s`), `tests/startup_gfx2hlsl_sop2_complement_check.py` ok (`4.6s`), `tests/startup_gfx2hlsl_sopk_accum_check.py` ok (`0.9s`), `tests/startup_gfx2hlsl_sopk_signext_check.py` ok (`0.2s`), `tests/startup_gfx2hlsl_swap_check.py` ok (`0.3s`), `tests/startup_gfx2hlsl_vopc_sdwa_check.py` ok (`4.7s`), `tests/startup_gfx2hlsl_waitcnt_depctr_check.py` ok (`0.1s`), `tests/startup_gfx2hlsl_watch_check.py` ok (`2.6s`), `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.6s`), `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.1s`), `tests/startup_inline_sampler_check.py` ok (`0.2s`), `tests/startup_run_ps1_check.py` ok (`10.8s`), `tests/startup_run_sh_check.py` FAIL (`0.1s`), `tests/startup_sampler_heap_check.py` ok (`0.1s`), `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.5s`) - `sccache`: 2/124 hits; wall `70.7s` 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!2497
No description provided.