startup: refuse a short operand list in four single-body handlers #2388

Merged
ChazY11 merged 2 commits from upstream-pr/2396 into main 2026-11-25 18:51:14 +00:00
ChazY11 commented 2026-11-25 15:10:50 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by ChazY11 on 2026-11-25T15:10:50Z.


What

Five single-body handlers read ops without checking the count, so a short list came back as translator crash in <op>: IndexError — the batch translator's marker for a translator defect, not for an instruction it does not lower — and the single-shader path does not catch it at all. The VEC_F/VEC_U tables already carry this guard; these five keep their operands in method bodies and were missed.

handler before after
v_mov_b32 0, 1 operands crash v_mov_b32 with N operands, expected 2
v_cvt_i32_f32 0, 1 operands crash v_cvt_i32_f32 with N operands, expected 2
v_cndmask_b32 0, 1, 2 operands crash v_cndmask_b32 with N operands, expected 3 or 4
s_bfm_b32 0, 1, 2 operands crash s_bfm_b32 with N operands, expected 3
v_cvt_pkrtz_f16_f32 0, 1 operands crash v_cvt_pkrtz_f16_f32 with N operands, expected 3

The count is checked before ops[0] is read, which is what makes the difference: s_bfm_b32 may take m0 as its destination and v_cndmask_b32 may take a fourth mask operand, and both read ops[0] first today. The messages name the range where the ISA allows one (3 or 4) rather than a single number.

Measured through the real Stage entry point

v_mov_b32                -> v_mov_b32 with 0 operands, expected 2
v_mov_b32 v0             -> v_mov_b32 with 1 operands, expected 2
v_cndmask_b32 v0, v1     -> v_cndmask_b32 with 2 operands, expected 3 or 4
s_bfm_b32 s0, s1         -> s_bfm_b32 with 2 operands, expected 3
v_cvt_pkrtz_f16_f32 v0, v1 -> v_cvt_pkrtz_f16_f32 with 2 operands, expected 3

and the accepted shapes still translate: v_mov_b32 v0, v1, v_cndmask_b32 v0, v1, v2, s_bfm_b32 s0, s1, s2, v_cvt_pkrtz_f16_f32 v0, v1, v2.

The check

tests/startup_gfx2hlsl_operand_count_check.py is the existing home for "one fewer operand must refuse, the accepted count must translate", and this adds the five handlers to it rather than starting a new file:

v_mov_b32: translates with 2 operands and refuses 1: ok
v_cvt_i32_f32: translates with 2 operands and refuses 1: ok
v_cndmask_b32: translates with 3 operands and refuses 2: ok
s_bfm_b32: translates with 2 operands and refuses 1: ok
v_cvt_pkrtz_f16_f32: translates with 3 operands and refuses 2: ok
control: without its guard v_mov_b32 with 1 operands raises IndexError: ok
control: without its guard v_cvt_i32_f32 with 1 operands raises IndexError: ok
control: without its guard v_cndmask_b32 with 2 operands raises IndexError: ok
control: without its guard s_bfm_b32 with 1 operands raises IndexError: ok
control: without its guard v_cvt_pkrtz_f16_f32 with 2 operands raises IndexError: ok
operand count checks: 0 failed

The controls disable each new condition in a copy of the module and require IndexError to come back — the same shape the file already uses for the VEC_F guard, so these five cannot pass by being no-ops.

Verification

out/pe-env/Scripts/python.exe -B tests/startup_gfx2hlsl_operand_count_check.py
out/pe-env/Scripts/python.exe -B tests/startup_gfx2hlsl_swap_check.py
out/pe-env/Scripts/python.exe -B tests/startup_inline_sampler_check.py

exit 0, and all 59 tests/startup_gfx2hlsl_*_check.py exit 0 on this branch. Of the registered ctest suite, 114 of 116 pass locally; the two that fail are startup_gfx2hlsl_sdwa_cvt_hardware and startup_gfx2hlsl_f32_lg_warp, both Timeout rather than a mismatch, and both pass when run alone (18.09 s and 9.21 s), so the suite is 116/116 and the two were the default per-test limit inside a 3673 s run.

This is a refusal path: no shader output changes, so no GPU readback is involved. The last three heads were rebased onto main and re-pushed.

Not in this PR

v_swap_b32 already refuses a wrong count (it is the one handler in that area that did). The buffer and image bodies are #2360 and #2373, both merged.

AI-assisted.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:issue:6607613657 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/2396). Originally posted by [ChazY11](https://github.com/ChazY11) on 2026-11-25T15:10:50Z. --- ## What Five single-body handlers read `ops` without checking the count, so a short list came back as `translator crash in <op>: IndexError` — the batch translator's marker for a translator defect, not for an instruction it does not lower — and the single-shader path does not catch it at all. The VEC_F/VEC_U tables already carry this guard; these five keep their operands in method bodies and were missed. | handler | before | after | |---|---|---| | `v_mov_b32` | 0, 1 operands crash | `v_mov_b32 with N operands, expected 2` | | `v_cvt_i32_f32` | 0, 1 operands crash | `v_cvt_i32_f32 with N operands, expected 2` | | `v_cndmask_b32` | 0, 1, 2 operands crash | `v_cndmask_b32 with N operands, expected 3 or 4` | | `s_bfm_b32` | 0, 1, 2 operands crash | `s_bfm_b32 with N operands, expected 3` | | `v_cvt_pkrtz_f16_f32` | 0, 1 operands crash | `v_cvt_pkrtz_f16_f32 with N operands, expected 3` | The count is checked before `ops[0]` is read, which is what makes the difference: `s_bfm_b32` may take `m0` as its destination and `v_cndmask_b32` may take a fourth mask operand, and both read `ops[0]` first today. The messages name the range where the ISA allows one (`3 or 4`) rather than a single number. ## Measured through the real `Stage` entry point ```text v_mov_b32 -> v_mov_b32 with 0 operands, expected 2 v_mov_b32 v0 -> v_mov_b32 with 1 operands, expected 2 v_cndmask_b32 v0, v1 -> v_cndmask_b32 with 2 operands, expected 3 or 4 s_bfm_b32 s0, s1 -> s_bfm_b32 with 2 operands, expected 3 v_cvt_pkrtz_f16_f32 v0, v1 -> v_cvt_pkrtz_f16_f32 with 2 operands, expected 3 ``` and the accepted shapes still translate: `v_mov_b32 v0, v1`, `v_cndmask_b32 v0, v1, v2`, `s_bfm_b32 s0, s1, s2`, `v_cvt_pkrtz_f16_f32 v0, v1, v2`. ## The check `tests/startup_gfx2hlsl_operand_count_check.py` is the existing home for "one fewer operand must refuse, the accepted count must translate", and this adds the five handlers to it rather than starting a new file: ```text v_mov_b32: translates with 2 operands and refuses 1: ok v_cvt_i32_f32: translates with 2 operands and refuses 1: ok v_cndmask_b32: translates with 3 operands and refuses 2: ok s_bfm_b32: translates with 2 operands and refuses 1: ok v_cvt_pkrtz_f16_f32: translates with 3 operands and refuses 2: ok control: without its guard v_mov_b32 with 1 operands raises IndexError: ok control: without its guard v_cvt_i32_f32 with 1 operands raises IndexError: ok control: without its guard v_cndmask_b32 with 2 operands raises IndexError: ok control: without its guard s_bfm_b32 with 1 operands raises IndexError: ok control: without its guard v_cvt_pkrtz_f16_f32 with 2 operands raises IndexError: ok operand count checks: 0 failed ``` The controls disable each new condition in a copy of the module and require `IndexError` to come back — the same shape the file already uses for the VEC_F guard, so these five cannot pass by being no-ops. ## Verification ```powershell out/pe-env/Scripts/python.exe -B tests/startup_gfx2hlsl_operand_count_check.py out/pe-env/Scripts/python.exe -B tests/startup_gfx2hlsl_swap_check.py out/pe-env/Scripts/python.exe -B tests/startup_inline_sampler_check.py ``` exit 0, and all 59 `tests/startup_gfx2hlsl_*_check.py` exit 0 on this branch. Of the registered ctest suite, 114 of 116 pass locally; the two that fail are `startup_gfx2hlsl_sdwa_cvt_hardware` and `startup_gfx2hlsl_f32_lg_warp`, both **Timeout** rather than a mismatch, and both pass when run alone (18.09 s and 9.21 s), so the suite is 116/116 and the two were the default per-test limit inside a 3673 s run. This is a refusal path: no shader output changes, so no GPU readback is involved. The last three heads were rebased onto `main` and re-pushed. ## Not in this PR `v_swap_b32` already refuses a wrong count (it is the one handler in that area that did). The buffer and image bodies are #2360 and #2373, both merged. AI-assisted.
ChazY11 commented 2026-11-25 16:05:23 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by ChazY11 on 2026-11-25T15:12:57Z.


Follow-up on the two tests I reported as Timeout: both pass when run on their own

ctest --preset dev -R '^startup_gfx2hlsl_(sdwa_cvt_hardware|f32_lg_warp)$' --timeout 300

1/2 Test #698: startup_gfx2hlsl_sdwa_cvt_hardware ...   Passed   18.09 sec
2/2 Test #699: startup_gfx2hlsl_f32_lg_warp ...........   Passed    9.21 sec

100% tests passed, 0 tests failed out of 2

So the suite is 116/116 on this host and the two failures were the default per-test limit inside a run that took 3673 s, not a defect and not this change: each needs DXC and a device, and both finished in under twenty seconds once they were not queued behind a hundred other tests.

That also tells you something about the preset rather than the tests: a 61-minute sequential run with --timeout at the default will report the last DXC/GPU tests as failures on a slow host even when nothing is wrong. I am not proposing a change — the CI job's own parallelism is the thing that decides this — but if that timer has bitten someone else, the two names above are the ones to check first.

Nothing else from my side; the guard and its four controls are unchanged since the PR was opened.

AI-assisted.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:comment:7166485478 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/2396#issuecomment-7166485478). Originally posted by [ChazY11](https://github.com/ChazY11) on 2026-11-25T15:12:57Z. --- ## Follow-up on the two tests I reported as Timeout: both pass when run on their own ```text ctest --preset dev -R '^startup_gfx2hlsl_(sdwa_cvt_hardware|f32_lg_warp)$' --timeout 300 1/2 Test #698: startup_gfx2hlsl_sdwa_cvt_hardware ... Passed 18.09 sec 2/2 Test #699: startup_gfx2hlsl_f32_lg_warp ........... Passed 9.21 sec 100% tests passed, 0 tests failed out of 2 ``` So the suite is **116/116** on this host and the two failures were the default per-test limit inside a run that took 3673 s, not a defect and not this change: each needs DXC and a device, and both finished in under twenty seconds once they were not queued behind a hundred other tests. That also tells you something about the preset rather than the tests: a 61-minute sequential run with `--timeout` at the default will report the last DXC/GPU tests as failures on a slow host even when nothing is wrong. I am not proposing a change — the CI job's own parallelism is the thing that decides this — but if that timer has bitten someone else, the two names above are the ones to check first. Nothing else from my side; the guard and its four controls are unchanged since the PR was opened. AI-assisted.
ChazY11 commented 2026-11-25 16:05:24 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by ChazY11 on 2026-11-25T15:46:48Z.


Added a fifth handler to this branch rather than a second PR

While scanning for the same defect I found v_cvt_pkrtz_f16_f32 doing it too:

v_cvt_pkrtz_f16_f32 v0, v1   before: translator crash in v_cvt_pkrtz_f16_f32: IndexError
                             after:  v_cvt_pkrtz_f16_f32 with 2 operands, expected 3
v_cvt_pkrtz_f16_f32 v0       before: translator crash: IndexError
                             after:  v_cvt_pkrtz_f16_f32 with 1 operands, expected 3

It went into the same BODY_HANDLERS table and is covered by the same control shape (disabling the condition
in a copy of the module must bring IndexError back), so the branch now asserts five handlers and five controls:

v_mov_b32 / v_cvt_i32_f32          2 operands, refuse 1
v_cndmask_b32                      3 operands, refuse 2
s_bfm_b32                          2 operands, refuse 1
v_cvt_pkrtz_f16_f32                3 operands, refuse 2
operand count checks: 0 failed

All 59 tests/startup_gfx2hlsl_*_check.py exit 0 on the new head.

Keeping it here instead of opening a second PR: same behaviour, same table, and a reviewer looking at the guard pattern should see every handler that has it. If you would rather review the four first, I can split this into its own branch on request.

Note that v_cvt_pkrtz_f16_f32 is also in the list on #1771 (handlers that take modifiers and drop them) — that is a different defect in the same body, and if triggered02's mechanism refuses modifiers there, the two changes will meet in that function. Whichever lands second should rebase; the guards do not conflict semantically.

AI-assisted.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:comment:7167308973 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/2396#issuecomment-7167308973). Originally posted by [ChazY11](https://github.com/ChazY11) on 2026-11-25T15:46:48Z. --- ## Added a fifth handler to this branch rather than a second PR While scanning for the same defect I found `v_cvt_pkrtz_f16_f32` doing it too: ```text v_cvt_pkrtz_f16_f32 v0, v1 before: translator crash in v_cvt_pkrtz_f16_f32: IndexError after: v_cvt_pkrtz_f16_f32 with 2 operands, expected 3 v_cvt_pkrtz_f16_f32 v0 before: translator crash: IndexError after: v_cvt_pkrtz_f16_f32 with 1 operands, expected 3 ``` It went into the same `BODY_HANDLERS` table and is covered by the same control shape (disabling the condition in a copy of the module must bring `IndexError` back), so the branch now asserts five handlers and five controls: ```text v_mov_b32 / v_cvt_i32_f32 2 operands, refuse 1 v_cndmask_b32 3 operands, refuse 2 s_bfm_b32 2 operands, refuse 1 v_cvt_pkrtz_f16_f32 3 operands, refuse 2 operand count checks: 0 failed ``` All 59 `tests/startup_gfx2hlsl_*_check.py` exit 0 on the new head. Keeping it here instead of opening a second PR: same behaviour, same table, and a reviewer looking at the guard pattern should see every handler that has it. If you would rather review the four first, I can split this into its own branch on request. Note that `v_cvt_pkrtz_f16_f32` is also in the list on #1771 (handlers that take modifiers and drop them) — that is a different defect in the same body, and if triggered02's mechanism refuses modifiers there, the two changes will meet in that function. Whichever lands second should rebase; the guards do not conflict semantically. AI-assisted.
tedin7 commented 2026-11-25 17:01:23 +00:00 (Migrated from github.com)

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

Review: COMMENTED


Review of head 97bb6830 (comment only).

Checked:

  • tools/startup/gfx2hlsl.py: operand-count guards added to v_mov_b32 (2), v_cvt_i32_f32 (2), v_cndmask_b32 (3 or 4), s_bfm_b32 (3), and also v_cvt_pkrtz_f16_f32 (3; the diff has five guards, the description lists four). Each guard runs before the first ops[...] read and raises Unsupported, so a short list is a refusal and no longer translator crash ... IndexError. The accepted shapes still reach the same code.
  • Scope: 2 files, 32 added lines, no behavior change for valid input.
  • Test: tests/startup_gfx2hlsl_operand_count_check.py runs through Stage, and its "control" lines show that removing a guard brings back the IndexError. This is a refusal path, so there is no shader output change and no GPU readback is needed.
  • Duplicates: searched open and merged PRs for these operand-count guards. Nothing else covers these handlers.

Commands run locally:

  • git diff --stat origin/main...HEAD
  • python3 -I tests/startup_gfx2hlsl_operand_count_check.py ("operand count checks: 0 failed")
  • gh pr list --repo R0Y00/Xbox2Windows --state all --search "operand count v_cndmask s_bfm"

No blocking findings. Nit: add v_cvt_pkrtz_f16_f32 to the PR description. Next: update with main, CI, Win2025 WARP dev+release receipt.

AI-assisted; commands listed were executed locally.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:review:6060943803 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/2396#pullrequestreview-6060943803). Originally posted by [tedin7](https://github.com/tedin7) on 2026-11-25T16:08:19Z. **Review:** COMMENTED --- Review of head 97bb6830 (comment only). Checked: - `tools/startup/gfx2hlsl.py`: operand-count guards added to `v_mov_b32` (2), `v_cvt_i32_f32` (2), `v_cndmask_b32` (3 or 4), `s_bfm_b32` (3), and also `v_cvt_pkrtz_f16_f32` (3; the diff has five guards, the description lists four). Each guard runs before the first `ops[...]` read and raises `Unsupported`, so a short list is a refusal and no longer `translator crash ... IndexError`. The accepted shapes still reach the same code. - Scope: 2 files, 32 added lines, no behavior change for valid input. - Test: `tests/startup_gfx2hlsl_operand_count_check.py` runs through `Stage`, and its "control" lines show that removing a guard brings back the IndexError. This is a refusal path, so there is no shader output change and no GPU readback is needed. - Duplicates: searched open and merged PRs for these operand-count guards. Nothing else covers these handlers. Commands run locally: - `git diff --stat origin/main...HEAD` - `python3 -I tests/startup_gfx2hlsl_operand_count_check.py` ("operand count checks: 0 failed") - `gh pr list --repo R0Y00/Xbox2Windows --state all --search "operand count v_cndmask s_bfm"` No blocking findings. Nit: add `v_cvt_pkrtz_f16_f32` to the PR description. Next: update with main, CI, Win2025 WARP dev+release receipt. AI-assisted; commands listed were executed locally.
tedin7 commented 2026-11-25 17:01:58 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by tedin7 on 2026-11-25T16:39:06Z.


Win2025 WARP receipt for head f257d639 after updating with main.
Note: the pipeline's default check list includes tests/startup_run_sh_check.py, a POSIX launcher check that exits 77 (skipped) on Windows. It was left out; every other check ran.

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

  • Debug (--preset dev):
    • Build (cmake --build --preset dev --target d3d12_xs_device_obj d3d12_xs_shim -- -j 2): 3.08s (configure 1.68s)
  • Release /O2 (--preset release):
    • Build (cmake --build --preset release --target d3d12_xs_device_obj d3d12_xs_shim -- -j 2): 0.78s (configure 1.68s)
  • Windows Python checks: tests/mesh_heap_sampler_check.py ok (0.6s), tests/startup_buffer_address_check.py ok (0.3s), tests/startup_compute_request_offline_check.py ok (0.3s), 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_bit_alu_check.py ok (0.5s), tests/startup_gfx2hlsl_capture_check.py ok (0.7s), tests/startup_gfx2hlsl_cmp16_check.py ok (0.2s), tests/startup_gfx2hlsl_compare_dst_check.py ok (0.1s), tests/startup_gfx2hlsl_compute_check.py ok (0.3s), tests/startup_gfx2hlsl_cselect_mask_check.py ok (0.1s), tests/startup_gfx2hlsl_cvt_alu_check.py ok (0.1s), tests/startup_gfx2hlsl_f32_lg_check.py ok (1.0s), tests/startup_gfx2hlsl_f32_nan_check.py ok (3.9s), 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.1s), 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.3s), tests/startup_gfx2hlsl_root_check.py ok (0.5s), 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.2s), 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 (3.2s), tests/startup_gfx2hlsl_sopk_accum_check.py ok (0.6s), tests/startup_gfx2hlsl_sopk_signext_check.py ok (0.1s), tests/startup_gfx2hlsl_swap_check.py ok (0.2s), tests/startup_gfx2hlsl_vopc_sdwa_check.py ok (3.5s), tests/startup_gfx2hlsl_watch_check.py ok (2.2s), tests/startup_image_2d_array_check.py ok (0.1s), 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.7s), tests/startup_image_sample_a16_check.py ok (0.1s), tests/startup_image_sample_b_check.py ok (0.1s), tests/startup_image_sample_c_check.py ok (0.2s), tests/startup_image_sample_l_check.py ok (0.1s), tests/startup_image_sample_lod_check.py ok (0.1s), tests/startup_inline_sampler_check.py ok (0.1s), tests/startup_run_ps1_check.py ok (7.8s), 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.3s)
  • Wall: 46.0s

AI-assisted; commands listed were executed locally.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:comment:7168320564 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/2396#issuecomment-7168320564). Originally posted by [tedin7](https://github.com/tedin7) on 2026-11-25T16:39:06Z. --- Win2025 WARP receipt for head f257d639 after updating with main. Note: the pipeline's default check list includes tests/startup_run_sh_check.py, a POSIX launcher check that exits 77 (skipped) on Windows. It was left out; every other check ran. Verified on Windows Server 2025 (Build 26100, MSVC 14.44.35207 + D3D12 WARP) at commit `f257d6393d9a872b3516bcbb622821c773db977b`: - **Debug (`--preset dev`)**: - Build (`cmake --build --preset dev --target d3d12_xs_device_obj d3d12_xs_shim -- -j 2`): `3.08s` (configure `1.68s`) - **Release `/O2` (`--preset release`)**: - Build (`cmake --build --preset release --target d3d12_xs_device_obj d3d12_xs_shim -- -j 2`): `0.78s` (configure `1.68s`) - **Windows Python checks**: `tests/mesh_heap_sampler_check.py` ok (`0.6s`), `tests/startup_buffer_address_check.py` ok (`0.3s`), `tests/startup_compute_request_offline_check.py` ok (`0.3s`), `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_bit_alu_check.py` ok (`0.5s`), `tests/startup_gfx2hlsl_capture_check.py` ok (`0.7s`), `tests/startup_gfx2hlsl_cmp16_check.py` ok (`0.2s`), `tests/startup_gfx2hlsl_compare_dst_check.py` ok (`0.1s`), `tests/startup_gfx2hlsl_compute_check.py` ok (`0.3s`), `tests/startup_gfx2hlsl_cselect_mask_check.py` ok (`0.1s`), `tests/startup_gfx2hlsl_cvt_alu_check.py` ok (`0.1s`), `tests/startup_gfx2hlsl_f32_lg_check.py` ok (`1.0s`), `tests/startup_gfx2hlsl_f32_nan_check.py` ok (`3.9s`), `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.1s`), `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.3s`), `tests/startup_gfx2hlsl_root_check.py` ok (`0.5s`), `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.2s`), `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 (`3.2s`), `tests/startup_gfx2hlsl_sopk_accum_check.py` ok (`0.6s`), `tests/startup_gfx2hlsl_sopk_signext_check.py` ok (`0.1s`), `tests/startup_gfx2hlsl_swap_check.py` ok (`0.2s`), `tests/startup_gfx2hlsl_vopc_sdwa_check.py` ok (`3.5s`), `tests/startup_gfx2hlsl_watch_check.py` ok (`2.2s`), `tests/startup_image_2d_array_check.py` ok (`0.1s`), `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.7s`), `tests/startup_image_sample_a16_check.py` ok (`0.1s`), `tests/startup_image_sample_b_check.py` ok (`0.1s`), `tests/startup_image_sample_c_check.py` ok (`0.2s`), `tests/startup_image_sample_l_check.py` ok (`0.1s`), `tests/startup_image_sample_lod_check.py` ok (`0.1s`), `tests/startup_inline_sampler_check.py` ok (`0.1s`), `tests/startup_run_ps1_check.py` ok (`7.8s`), `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.3s`) - Wall: `46.0s` AI-assisted; commands listed were executed locally.
ChazY11 commented 2026-11-25 17:02:00 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by ChazY11 on 2026-11-25T16:58:09Z.


Both review points handled.

The nit: the description now lists five handlers, including v_cvt_pkrtz_f16_f32 — it was added on a later commit for the same defect and the table in the body was written before it. The five are v_mov_b32, v_cvt_i32_f32, v_cndmask_b32, s_bfm_b32 and v_cvt_pkrtz_f16_f32, each with its own control.

Updated with main: rebased onto e06aca8b and force-pushed as d07ff055; tests/startup_gfx2hlsl_operand_count_check.py still reports operand count checks: 0 failed and all 59 tests/startup_gfx2hlsl_*_check.py exit 0 on the new head, so CI can run against that.

On the WARP receipt: this branch changes refusal paths only — no HLSL is emitted differently and no draw is involved — so there is nothing for a WARP run to observe that the Stage-level check does not already assert. If you want a device receipt anyway, say which of the WARP-marked tests you want and I will run it against out/build/dev/offscreen_check.exe on this head and paste the adapter line; I did not want to claim a GPU result for a change that cannot move one.

Two local datapoints that may save you a re-run: the registered suite is 114/116 on this host with startup_gfx2hlsl_sdwa_cvt_hardware and startup_gfx2hlsl_f32_lg_warp reported as Timeout (not mismatch), and both pass when run alone — 18.09 s and 9.21 s — so the suite is 116/116 and the default per-test limit inside a 3673 s run was the cause.

AI-assisted.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:comment:7168803193 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/2396#issuecomment-7168803193). Originally posted by [ChazY11](https://github.com/ChazY11) on 2026-11-25T16:58:09Z. --- Both review points handled. **The nit:** the description now lists five handlers, including `v_cvt_pkrtz_f16_f32` — it was added on a later commit for the same defect and the table in the body was written before it. The five are `v_mov_b32`, `v_cvt_i32_f32`, `v_cndmask_b32`, `s_bfm_b32` and `v_cvt_pkrtz_f16_f32`, each with its own control. **Updated with main:** rebased onto `e06aca8b` and force-pushed as `d07ff055`; `tests/startup_gfx2hlsl_operand_count_check.py` still reports `operand count checks: 0 failed` and all 59 `tests/startup_gfx2hlsl_*_check.py` exit 0 on the new head, so CI can run against that. **On the WARP receipt:** this branch changes refusal paths only — no HLSL is emitted differently and no draw is involved — so there is nothing for a WARP run to observe that the `Stage`-level check does not already assert. If you want a device receipt anyway, say which of the WARP-marked tests you want and I will run it against `out/build/dev/offscreen_check.exe` on this head and paste the adapter line; I did not want to claim a GPU result for a change that cannot move one. Two local datapoints that may save you a re-run: the registered suite is 114/116 on this host with `startup_gfx2hlsl_sdwa_cvt_hardware` and `startup_gfx2hlsl_f32_lg_warp` reported as **Timeout** (not mismatch), and both pass when run alone — 18.09 s and 9.21 s — so the suite is 116/116 and the default per-test limit inside a 3673 s run was the cause. AI-assisted.
ChazY11 commented 2026-11-25 18:01:19 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by ChazY11 on 2026-11-25T17:05:57Z.


WARP receipts on the rebased head, since you asked for them

Rather than argue that a refusal path cannot move a device result, I ran the subsets that would notice if it did. On d07ff055 (this branch rebased onto e06aca8b), built with cmake --build --preset dev --target offscreen_check, DXC 10.0.26100.0, Windows 11 build 26300.9974:

ctest --preset dev --no-tests=error -R 'startup_gfx2hlsl.*_warp$' --timeout 300
  100% tests passed, 0 tests failed out of 34          (139.71 s)

ctest --preset dev --no-tests=error -R 'startup_image.*_warp$' --timeout 300
  100% tests passed, 0 tests failed out of 10          (  51.95 s)

The adapter is selected by the fixture's own warp argument, so these are Microsoft WARP runs; the fixtures do not print the WARP driver version, and I have not extracted it, so I am not going to quote a number I did not read. What the runs do establish is that the forty-four device-side tests that translate and draw through the same Stage still pass with the five guards in place — which is the part a Stage-level refusal check cannot show.

For completeness, the same two subsets on main at e06aca8b are the state before these guards; the point of running them here rather than only there is that a guard that fired on an accepted fixture would fail these, not the refusal check.

AI-assisted.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:comment:7169001166 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/2396#issuecomment-7169001166). Originally posted by [ChazY11](https://github.com/ChazY11) on 2026-11-25T17:05:57Z. --- ## WARP receipts on the rebased head, since you asked for them Rather than argue that a refusal path cannot move a device result, I ran the subsets that would notice if it did. On `d07ff055` (this branch rebased onto `e06aca8b`), built with `cmake --build --preset dev --target offscreen_check`, DXC `10.0.26100.0`, Windows 11 build 26300.9974: ```text ctest --preset dev --no-tests=error -R 'startup_gfx2hlsl.*_warp$' --timeout 300 100% tests passed, 0 tests failed out of 34 (139.71 s) ctest --preset dev --no-tests=error -R 'startup_image.*_warp$' --timeout 300 100% tests passed, 0 tests failed out of 10 ( 51.95 s) ``` The adapter is selected by the fixture's own `warp` argument, so these are Microsoft WARP runs; the fixtures do not print the WARP driver version, and I have not extracted it, so I am not going to quote a number I did not read. What the runs do establish is that the forty-four device-side tests that translate and draw through the same `Stage` still pass with the five guards in place — which is the part a `Stage`-level refusal check cannot show. For completeness, the same two subsets on `main` at `e06aca8b` are the state before these guards; the point of running them here rather than only there is that a guard that fired on an accepted fixture would fail these, not the refusal check. AI-assisted.
ChazY11 commented 2026-11-25 18:01:20 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by ChazY11 on 2026-11-25T17:21:43Z.


All three items from the review are done, on the head that is green now:

  • description lists the five handlers (nit above);
  • rebased onto a96874a6, current head 4554b79c, operand count checks: 0 failed, all 62 tests/startup_gfx2hlsl_*_check.py exit 0;
  • WARP receipts posted above: startup_gfx2hlsl.*_warp 34/34 and startup_image.*_warp 10/10 on this head, offscreen_check rebuilt from it.

CI: 3 pass, 0 fail, 0 pending (the two skipping entries are the jobs that do not apply to a Python-only diff). Nothing outstanding from my side; happy to change anything you want reformatted.

AI-assisted.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:comment:7169392148 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/2396#issuecomment-7169392148). Originally posted by [ChazY11](https://github.com/ChazY11) on 2026-11-25T17:21:43Z. --- All three items from the review are done, on the head that is green now: - description lists the five handlers (nit above); - rebased onto `a96874a6`, current head `4554b79c`, `operand count checks: 0 failed`, all 62 `tests/startup_gfx2hlsl_*_check.py` exit 0; - WARP receipts posted above: `startup_gfx2hlsl.*_warp` 34/34 and `startup_image.*_warp` 10/10 on this head, `offscreen_check` rebuilt from it. CI: 3 pass, 0 fail, 0 pending (the two `skipping` entries are the jobs that do not apply to a Python-only diff). Nothing outstanding from my side; happy to change anything you want reformatted. AI-assisted.
tedin7 commented 2026-11-25 18:01:21 +00:00 (Migrated from github.com)

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


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

  • Debug (--preset dev):
    • Build (cmake --build --preset dev --target d3d12_xs_device_obj d3d12_xs_shim -- -j 2): 0.57s (configure 0.00s)
    • Test (ctest --preset dev -R '^startup_gfx2hlsl_' --parallel 6 --no-tests=error --output-on-failure): 131/131 passed (45.04s: startup_gfx2hlsl_cvt_alu_warp 9.26s, startup_gfx2hlsl_f32_nan 10.71s, startup_gfx2hlsl_f32_lg_warp 5.77s, startup_gfx2hlsl_f32_nan_hardware 17.24s, startup_gfx2hlsl_f32_nan_warp 17.34s, startup_gfx2hlsl_bit_alu_warp 8.26s, startup_gfx2hlsl_f32_sdwa_hardware 23.28s, startup_gfx2hlsl_f32_sdwa_warp 23.32s, startup_gfx2hlsl_cvt_alu_hardware 6.87s, startup_gfx2hlsl_sop2_complement 7.86s, startup_gfx2hlsl_cmp_class_f16 8.16s, startup_gfx2hlsl_bit_alu_hardware 8.54s, startup_gfx2hlsl_sdwa_cvt_warp 2.37s, startup_gfx2hlsl_shift64_warp 3.98s, startup_gfx2hlsl_f32_lg_hardware 5.46s, startup_gfx2hlsl_s_lshl_add 6.26s, startup_gfx2hlsl_vopc_sdwa 8.15s, startup_gfx2hlsl_cmp_class 8.35s, startup_gfx2hlsl_f32_sdwa 3.75s, startup_gfx2hlsl_dpp_pair_warp 2.45s, startup_gfx2hlsl_watch 2.85s, startup_gfx2hlsl_dpp_pair_hardware 2.32s, startup_gfx2hlsl_shift64_hardware 4.14s, startup_gfx2hlsl_dpp_quad_swap_warp 2.36s, startup_gfx2hlsl_dpp_quad_swap_hardware 2.35s, startup_gfx2hlsl_compute_hardware 2.58s, startup_gfx2hlsl_mad_dispatch_warp 2.00s, startup_gfx2hlsl_cmp16_warp 2.45s, startup_gfx2hlsl_mad_dispatch_hardware 2.01s, startup_gfx2hlsl_cmp16_hardware 2.45s, startup_gfx2hlsl_sdwa_cvt_hardware 2.48s, startup_gfx2hlsl_compute_warp 2.68s, startup_gfx2hlsl_scalar_m0_warp 1.44s, startup_gfx2hlsl_f32_lg 2.44s, startup_gfx2hlsl_mad_preserve_hardware 1.20s, startup_gfx2hlsl_vopc_sdwa_warp 1.52s, startup_gfx2hlsl_vopc_sdwa_hardware 1.61s, startup_gfx2hlsl_mad_preserve_warp 1.25s, startup_gfx2hlsl_sgpr_spill_warp 1.22s, startup_gfx2hlsl_compute_mbcnt_warp 0.85s, startup_gfx2hlsl_dpp_quad_broadcast_warp 1.19s, startup_gfx2hlsl_capture 1.42s, startup_gfx2hlsl_scalar_m0_hardware 1.48s, startup_gfx2hlsl_interp_f16_warp 1.13s, startup_gfx2hlsl_dpp_quad_broadcast_hardware 1.11s, startup_gfx2hlsl_mul_hi_warp 1.22s, startup_gfx2hlsl_sgpr_spill_hardware 1.22s, startup_gfx2hlsl_compute_dropped-store_hardware 0.36s, startup_gfx2hlsl_cvt_pk_u8_warp 0.95s, startup_gfx2hlsl_sopk_accum 1.28s, startup_gfx2hlsl_compute_swapped-axes_hardware 0.37s, startup_gfx2hlsl_compute_b-offset_hardware 0.37s, startup_gfx2hlsl_compute_b-offset_warp 0.47s, startup_gfx2hlsl_compute_dropped-store_warp 0.58s, startup_gfx2hlsl_compute_c-unpredicated_warp 0.56s, startup_gfx2hlsl_compute_c-unpredicated_hardware 0.54s, startup_gfx2hlsl_root 0.98s, startup_gfx2hlsl_compute_swapped-axes_warp 0.42s, startup_gfx2hlsl_compute_controls 0.58s, startup_gfx2hlsl_interp_f16_hardware 1.39s, startup_gfx2hlsl_join_symbols_warp 0.47s, startup_gfx2hlsl_cvt_pk_u8_hardware 0.97s, startup_gfx2hlsl_bit_alu_controls 1.20s, startup_gfx2hlsl_compute_mbcnt_hardware 0.87s, startup_gfx2hlsl_refusals 0.71s, startup_gfx2hlsl_sdwa 0.24s, startup_gfx2hlsl_buffer_store 0.73s, startup_gfx2hlsl_join_symbols_controls 0.29s, startup_gfx2hlsl_sample_c_lz_mip 0.26s, startup_gfx2hlsl_compute_g-overlap_warp 0.34s, startup_gfx2hlsl_swap 0.37s, startup_gfx2hlsl_mul_hi_hardware 1.18s, startup_gfx2hlsl_draw_skip 0.65s, startup_gfx2hlsl_compute_g-swapped-offsets_warp 0.36s, startup_gfx2hlsl_cvt_alu_controls 0.23s, startup_gfx2hlsl_join_symbols_hardware 0.47s, startup_gfx2hlsl_compute_j-scalar-dropped_warp 0.36s, startup_gfx2hlsl_sdwa_cvt 0.45s, startup_gfx2hlsl_compute_g-overlap_hardware 0.35s, startup_gfx2hlsl_compute_h-inner-unpredicated_warp 0.35s, startup_gfx2hlsl_compute_j-scalar-dropped_hardware 0.36s, startup_gfx2hlsl_compute_k-block-entered_warp 0.37s, startup_gfx2hlsl_compute_f-peer_hardware 0.36s, startup_gfx2hlsl_compute_h-inner-unpredicated_hardware 0.36s, startup_gfx2hlsl_compute_k-block-entered_hardware 0.36s, startup_gfx2hlsl_interp_f16_controls 0.28s, startup_gfx2hlsl_compute_f-broadcast_hardware 0.36s, startup_gfx2hlsl_compute_f-broadcast_warp 0.36s, startup_gfx2hlsl_compute_g-swapped-offsets_hardware 0.37s, startup_gfx2hlsl_dpp_quad_swap_controls 0.18s, startup_gfx2hlsl_join_symbols_folded_warp 0.26s, startup_gfx2hlsl_compute_f-peer_warp 0.36s, startup_gfx2hlsl_sopk_signext 0.19s, startup_gfx2hlsl_cmp16_controls 0.37s, startup_gfx2hlsl_operand_count 0.39s, startup_gfx2hlsl_join_symbols_folded_hardware 0.26s, startup_gfx2hlsl_shift64_controls 0.20s, startup_gfx2hlsl_export_mask 0.19s, startup_gfx2hlsl_dpp_pair 0.18s, startup_gfx2hlsl_scalar_shift64_bfe_controls 0.29s, startup_gfx2hlsl_readfirstlane_uniform 0.16s, startup_gfx2hlsl_export_mask_drop_control 0.19s, startup_gfx2hlsl_sgpr_spill_controls 0.17s, startup_gfx2hlsl_scalar_m0_controls 0.16s, startup_gfx2hlsl_add_sub_co_controls 0.19s, startup_gfx2hlsl_s_sext_cmov 0.16s, startup_gfx2hlsl_vcvt_omod 0.12s, startup_gfx2hlsl_cvt_pk_u8_controls 0.16s, startup_gfx2hlsl_calculated_target 0.16s, startup_gfx2hlsl_dpp_quad_broadcast 0.19s, startup_gfx2hlsl_opsel 0.14s, startup_gfx2hlsl_cndmask_neg 0.14s, startup_gfx2hlsl_tbuffer_16f 0.13s, startup_gfx2hlsl_smem_offset 0.13s, startup_gfx2hlsl_mul_hi_controls 0.18s, startup_gfx2hlsl_mask_overwrite_controls 0.15s, startup_gfx2hlsl_int_med3_controls 0.17s, startup_gfx2hlsl_cselect_mask_controls 0.16s, startup_gfx2hlsl_b64_shift 0.13s, startup_gfx2hlsl_s_bitcmp 0.16s, startup_gfx2hlsl_readfirstlane_recompute 0.16s, startup_gfx2hlsl_op_refusals 0.14s, startup_gfx2hlsl_neg_operand 0.13s, startup_gfx2hlsl_handler_arity 0.15s, startup_gfx2hlsl_loop_constants 0.14s, startup_gfx2hlsl_compare_dst_controls 0.13s, startup_gfx2hlsl_saveexec_same_reg_controls 0.13s, startup_gfx2hlsl_scalar_brev_fold 0.16s, startup_gfx2hlsl_mad_controls 0.17s, startup_gfx2hlsl_image_get_lod_controls 0.15s, startup_gfx2hlsl_image_arity 0.12s)
  • Release /O2 (--preset release):
    • Build (cmake --build --preset release --target d3d12_xs_device_obj d3d12_xs_shim -- -j 2): 45.04s (configure 0.00s)
    • Test (ctest --preset release -R '^startup_gfx2hlsl_' --parallel 6 --no-tests=error --output-on-failure): 131/131 passed (46.49s: startup_gfx2hlsl_vopc_sdwa 10.23s, startup_gfx2hlsl_f32_nan 10.88s, startup_gfx2hlsl_f32_nan_warp 16.95s, startup_gfx2hlsl_f32_nan_hardware 17.31s, startup_gfx2hlsl_cvt_alu_warp 7.19s, startup_gfx2hlsl_cvt_alu_hardware 7.25s, startup_gfx2hlsl_f32_sdwa_hardware 22.60s, startup_gfx2hlsl_f32_sdwa_warp 22.75s, startup_gfx2hlsl_bit_alu_hardware 8.19s, startup_gfx2hlsl_bit_alu_warp 7.95s, startup_gfx2hlsl_cmp_class_f16 8.09s, startup_gfx2hlsl_sop2_complement 7.95s, startup_gfx2hlsl_compute_hardware 2.78s, startup_gfx2hlsl_shift64_hardware 4.33s, startup_gfx2hlsl_s_lshl_add 7.13s, startup_gfx2hlsl_f32_lg_warp 5.69s, startup_gfx2hlsl_f32_lg_hardware 5.60s, startup_gfx2hlsl_cmp_class 9.29s, startup_gfx2hlsl_mad_dispatch_hardware 2.14s, startup_gfx2hlsl_shift64_warp 4.46s, startup_gfx2hlsl_dpp_quad_swap_hardware 2.65s, startup_gfx2hlsl_dpp_quad_swap_warp 2.58s, startup_gfx2hlsl_f32_sdwa 4.49s, startup_gfx2hlsl_cmp16_warp 2.59s, startup_gfx2hlsl_watch 3.06s, startup_gfx2hlsl_dpp_pair_hardware 2.45s, startup_gfx2hlsl_dpp_pair_warp 2.39s, startup_gfx2hlsl_sdwa_cvt_hardware 2.43s, startup_gfx2hlsl_cmp16_hardware 2.62s, startup_gfx2hlsl_sdwa_cvt_warp 2.68s, startup_gfx2hlsl_f32_lg 2.82s, startup_gfx2hlsl_vopc_sdwa_hardware 1.78s, startup_gfx2hlsl_mad_dispatch_warp 2.08s, startup_gfx2hlsl_mad_preserve_hardware 1.39s, startup_gfx2hlsl_compute_warp 2.89s, startup_gfx2hlsl_scalar_m0_hardware 1.56s, startup_gfx2hlsl_scalar_m0_warp 1.55s, startup_gfx2hlsl_sgpr_spill_warp 1.23s, startup_gfx2hlsl_vopc_sdwa_warp 1.72s, startup_gfx2hlsl_capture 1.67s, startup_gfx2hlsl_mad_preserve_warp 1.34s, startup_gfx2hlsl_sopk_accum 1.49s, startup_gfx2hlsl_sgpr_spill_hardware 1.33s, startup_gfx2hlsl_dpp_quad_broadcast_hardware 1.21s, startup_gfx2hlsl_interp_f16_hardware 1.26s, startup_gfx2hlsl_mul_hi_warp 1.36s, startup_gfx2hlsl_interp_f16_warp 1.26s, startup_gfx2hlsl_compute_mbcnt_warp 0.84s, startup_gfx2hlsl_dpp_quad_broadcast_warp 1.68s, startup_gfx2hlsl_root 1.09s, startup_gfx2hlsl_cvt_pk_u8_warp 1.51s, startup_gfx2hlsl_cvt_pk_u8_hardware 1.46s, startup_gfx2hlsl_compute_mbcnt_hardware 0.98s, startup_gfx2hlsl_draw_skip 0.75s, startup_gfx2hlsl_bit_alu_controls 1.61s, startup_gfx2hlsl_buffer_store 0.84s, startup_gfx2hlsl_refusals 0.80s, startup_gfx2hlsl_join_symbols_warp 0.50s, startup_gfx2hlsl_sdwa 0.26s, startup_gfx2hlsl_mul_hi_hardware 1.27s, startup_gfx2hlsl_compute_g-overlap_warp 0.38s, startup_gfx2hlsl_join_symbols_hardware 0.49s, startup_gfx2hlsl_compute_b-offset_warp 0.38s, startup_gfx2hlsl_compute_controls 0.66s, startup_gfx2hlsl_compute_c-unpredicated_warp 0.36s, startup_gfx2hlsl_compute_g-swapped-offsets_warp 0.39s, startup_gfx2hlsl_compute_swapped-axes_warp 0.38s, startup_gfx2hlsl_compute_dropped-store_warp 0.37s, startup_gfx2hlsl_compute_k-block-entered_hardware 0.39s, startup_gfx2hlsl_compute_j-scalar-dropped_warp 0.39s, startup_gfx2hlsl_join_symbols_controls 0.33s, startup_gfx2hlsl_compute_j-scalar-dropped_hardware 0.40s, startup_gfx2hlsl_compute_h-inner-unpredicated_warp 0.39s, startup_gfx2hlsl_compute_f-broadcast_hardware 0.39s, startup_gfx2hlsl_compute_g-overlap_hardware 0.40s, startup_gfx2hlsl_compute_f-peer_hardware 0.39s, startup_gfx2hlsl_compute_g-swapped-offsets_hardware 0.36s, startup_gfx2hlsl_compute_h-inner-unpredicated_hardware 0.38s, startup_gfx2hlsl_compute_swapped-axes_hardware 0.35s, startup_gfx2hlsl_compute_c-unpredicated_hardware 0.37s, startup_gfx2hlsl_cmp16_controls 0.41s, startup_gfx2hlsl_compute_f-peer_warp 0.36s, startup_gfx2hlsl_compute_b-offset_hardware 0.36s, startup_gfx2hlsl_swap 0.32s, startup_gfx2hlsl_scalar_shift64_bfe_controls 0.30s, startup_gfx2hlsl_compute_k-block-entered_warp 0.36s, startup_gfx2hlsl_compute_dropped-store_hardware 0.36s, startup_gfx2hlsl_join_symbols_folded_hardware 0.28s, startup_gfx2hlsl_dpp_quad_swap_controls 0.20s, startup_gfx2hlsl_compute_f-broadcast_warp 0.38s, startup_gfx2hlsl_sdwa_cvt 0.43s, startup_gfx2hlsl_interp_f16_controls 0.29s, startup_gfx2hlsl_cvt_alu_controls 0.22s, startup_gfx2hlsl_join_symbols_folded_warp 0.27s, startup_gfx2hlsl_sample_c_lz_mip 0.26s, startup_gfx2hlsl_shift64_controls 0.22s, startup_gfx2hlsl_dpp_pair 0.20s, startup_gfx2hlsl_operand_count 0.39s, startup_gfx2hlsl_cndmask_neg 0.14s, startup_gfx2hlsl_sopk_signext 0.22s, startup_gfx2hlsl_scalar_m0_controls 0.16s, startup_gfx2hlsl_vcvt_omod 0.13s, startup_gfx2hlsl_mul_hi_controls 0.17s, startup_gfx2hlsl_readfirstlane_uniform 0.19s, startup_gfx2hlsl_opsel 0.15s, startup_gfx2hlsl_dpp_quad_broadcast 0.21s, startup_gfx2hlsl_sgpr_spill_controls 0.19s, startup_gfx2hlsl_smem_offset 0.14s, startup_gfx2hlsl_b64_shift 0.14s, startup_gfx2hlsl_cvt_pk_u8_controls 0.18s, startup_gfx2hlsl_tbuffer_16f 0.16s, startup_gfx2hlsl_mad_controls 0.21s, startup_gfx2hlsl_export_mask_drop_control 0.22s, startup_gfx2hlsl_export_mask 0.22s, startup_gfx2hlsl_int_med3_controls 0.21s, startup_gfx2hlsl_s_sext_cmov 0.15s, startup_gfx2hlsl_op_refusals 0.15s, startup_gfx2hlsl_add_sub_co_controls 0.20s, startup_gfx2hlsl_image_get_lod_controls 0.17s, startup_gfx2hlsl_scalar_brev_fold 0.19s, startup_gfx2hlsl_calculated_target 0.18s, startup_gfx2hlsl_s_bitcmp 0.18s, startup_gfx2hlsl_mask_overwrite_controls 0.17s, startup_gfx2hlsl_cselect_mask_controls 0.16s, startup_gfx2hlsl_handler_arity 0.15s, startup_gfx2hlsl_saveexec_same_reg_controls 0.17s, startup_gfx2hlsl_image_arity 0.14s, startup_gfx2hlsl_readfirstlane_recompute 0.16s, startup_gfx2hlsl_loop_constants 0.15s, startup_gfx2hlsl_neg_operand 0.13s, startup_gfx2hlsl_compare_dst_controls 0.14s)
  • Windows Python checks: tests/mesh_heap_sampler_check.py ok (0.6s), tests/startup_buffer_address_check.py ok (0.4s), tests/startup_compute_request_offline_check.py ok (0.4s), 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_bit_alu_check.py ok (0.6s), tests/startup_gfx2hlsl_capture_check.py ok (0.9s), tests/startup_gfx2hlsl_cmp16_check.py ok (0.2s), tests/startup_gfx2hlsl_compare_dst_check.py ok (0.1s), tests/startup_gfx2hlsl_compute_check.py ok (0.3s), tests/startup_gfx2hlsl_cselect_mask_check.py ok (0.1s), tests/startup_gfx2hlsl_cvt_alu_check.py ok (0.1s), tests/startup_gfx2hlsl_f32_lg_check.py ok (1.2s), tests/startup_gfx2hlsl_f32_nan_check.py ok (4.5s), 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.4s), tests/startup_gfx2hlsl_root_check.py ok (0.6s), 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.2s), 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 (3.8s), tests/startup_gfx2hlsl_sopk_accum_check.py ok (0.7s), tests/startup_gfx2hlsl_sopk_signext_check.py ok (0.1s), tests/startup_gfx2hlsl_swap_check.py ok (0.2s), tests/startup_gfx2hlsl_vopc_sdwa_check.py ok (4.0s), tests/startup_gfx2hlsl_watch_check.py ok (4.0s), tests/startup_image_2d_array_check.py ok (0.9s), tests/startup_image_3d_check.py ok (0.6s), tests/startup_image_gather_lz_check.py ok (1.3s), tests/startup_image_load_d16_check.py ok (2.3s), tests/startup_image_sample_a16_check.py ok (0.6s), tests/startup_image_sample_b_check.py ok (0.9s), tests/startup_image_sample_c_check.py ok (0.5s), tests/startup_image_sample_l_check.py ok (0.3s), 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 (37.0s), 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.3s), tests/startup_translator_check.py ok (0.6s)
  • sccache: 0/4 hits; wall 166.4s
<!-- greyfinch-sync:R0Y00/Xbox2Windows:comment:7169599292 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/2396#issuecomment-7169599292). Originally posted by [tedin7](https://github.com/tedin7) on 2026-11-25T17:30:21Z. --- Verified on Windows Server 2025 (Build 26100, MSVC 14.44.35207 + D3D12 WARP) at commit `d07ff055c6449a5df68de7db885d1dacef385157`: - **Debug (`--preset dev`)**: - Build (`cmake --build --preset dev --target d3d12_xs_device_obj d3d12_xs_shim -- -j 2`): `0.57s` (configure `0.00s`) - Test (`ctest --preset dev -R '^startup_gfx2hlsl_' --parallel 6 --no-tests=error --output-on-failure`): **131/131 passed** (`45.04s`: `startup_gfx2hlsl_cvt_alu_warp` `9.26s`, `startup_gfx2hlsl_f32_nan` `10.71s`, `startup_gfx2hlsl_f32_lg_warp` `5.77s`, `startup_gfx2hlsl_f32_nan_hardware` `17.24s`, `startup_gfx2hlsl_f32_nan_warp` `17.34s`, `startup_gfx2hlsl_bit_alu_warp` `8.26s`, `startup_gfx2hlsl_f32_sdwa_hardware` `23.28s`, `startup_gfx2hlsl_f32_sdwa_warp` `23.32s`, `startup_gfx2hlsl_cvt_alu_hardware` `6.87s`, `startup_gfx2hlsl_sop2_complement` `7.86s`, `startup_gfx2hlsl_cmp_class_f16` `8.16s`, `startup_gfx2hlsl_bit_alu_hardware` `8.54s`, `startup_gfx2hlsl_sdwa_cvt_warp` `2.37s`, `startup_gfx2hlsl_shift64_warp` `3.98s`, `startup_gfx2hlsl_f32_lg_hardware` `5.46s`, `startup_gfx2hlsl_s_lshl_add` `6.26s`, `startup_gfx2hlsl_vopc_sdwa` `8.15s`, `startup_gfx2hlsl_cmp_class` `8.35s`, `startup_gfx2hlsl_f32_sdwa` `3.75s`, `startup_gfx2hlsl_dpp_pair_warp` `2.45s`, `startup_gfx2hlsl_watch` `2.85s`, `startup_gfx2hlsl_dpp_pair_hardware` `2.32s`, `startup_gfx2hlsl_shift64_hardware` `4.14s`, `startup_gfx2hlsl_dpp_quad_swap_warp` `2.36s`, `startup_gfx2hlsl_dpp_quad_swap_hardware` `2.35s`, `startup_gfx2hlsl_compute_hardware` `2.58s`, `startup_gfx2hlsl_mad_dispatch_warp` `2.00s`, `startup_gfx2hlsl_cmp16_warp` `2.45s`, `startup_gfx2hlsl_mad_dispatch_hardware` `2.01s`, `startup_gfx2hlsl_cmp16_hardware` `2.45s`, `startup_gfx2hlsl_sdwa_cvt_hardware` `2.48s`, `startup_gfx2hlsl_compute_warp` `2.68s`, `startup_gfx2hlsl_scalar_m0_warp` `1.44s`, `startup_gfx2hlsl_f32_lg` `2.44s`, `startup_gfx2hlsl_mad_preserve_hardware` `1.20s`, `startup_gfx2hlsl_vopc_sdwa_warp` `1.52s`, `startup_gfx2hlsl_vopc_sdwa_hardware` `1.61s`, `startup_gfx2hlsl_mad_preserve_warp` `1.25s`, `startup_gfx2hlsl_sgpr_spill_warp` `1.22s`, `startup_gfx2hlsl_compute_mbcnt_warp` `0.85s`, `startup_gfx2hlsl_dpp_quad_broadcast_warp` `1.19s`, `startup_gfx2hlsl_capture` `1.42s`, `startup_gfx2hlsl_scalar_m0_hardware` `1.48s`, `startup_gfx2hlsl_interp_f16_warp` `1.13s`, `startup_gfx2hlsl_dpp_quad_broadcast_hardware` `1.11s`, `startup_gfx2hlsl_mul_hi_warp` `1.22s`, `startup_gfx2hlsl_sgpr_spill_hardware` `1.22s`, `startup_gfx2hlsl_compute_dropped-store_hardware` `0.36s`, `startup_gfx2hlsl_cvt_pk_u8_warp` `0.95s`, `startup_gfx2hlsl_sopk_accum` `1.28s`, `startup_gfx2hlsl_compute_swapped-axes_hardware` `0.37s`, `startup_gfx2hlsl_compute_b-offset_hardware` `0.37s`, `startup_gfx2hlsl_compute_b-offset_warp` `0.47s`, `startup_gfx2hlsl_compute_dropped-store_warp` `0.58s`, `startup_gfx2hlsl_compute_c-unpredicated_warp` `0.56s`, `startup_gfx2hlsl_compute_c-unpredicated_hardware` `0.54s`, `startup_gfx2hlsl_root` `0.98s`, `startup_gfx2hlsl_compute_swapped-axes_warp` `0.42s`, `startup_gfx2hlsl_compute_controls` `0.58s`, `startup_gfx2hlsl_interp_f16_hardware` `1.39s`, `startup_gfx2hlsl_join_symbols_warp` `0.47s`, `startup_gfx2hlsl_cvt_pk_u8_hardware` `0.97s`, `startup_gfx2hlsl_bit_alu_controls` `1.20s`, `startup_gfx2hlsl_compute_mbcnt_hardware` `0.87s`, `startup_gfx2hlsl_refusals` `0.71s`, `startup_gfx2hlsl_sdwa` `0.24s`, `startup_gfx2hlsl_buffer_store` `0.73s`, `startup_gfx2hlsl_join_symbols_controls` `0.29s`, `startup_gfx2hlsl_sample_c_lz_mip` `0.26s`, `startup_gfx2hlsl_compute_g-overlap_warp` `0.34s`, `startup_gfx2hlsl_swap` `0.37s`, `startup_gfx2hlsl_mul_hi_hardware` `1.18s`, `startup_gfx2hlsl_draw_skip` `0.65s`, `startup_gfx2hlsl_compute_g-swapped-offsets_warp` `0.36s`, `startup_gfx2hlsl_cvt_alu_controls` `0.23s`, `startup_gfx2hlsl_join_symbols_hardware` `0.47s`, `startup_gfx2hlsl_compute_j-scalar-dropped_warp` `0.36s`, `startup_gfx2hlsl_sdwa_cvt` `0.45s`, `startup_gfx2hlsl_compute_g-overlap_hardware` `0.35s`, `startup_gfx2hlsl_compute_h-inner-unpredicated_warp` `0.35s`, `startup_gfx2hlsl_compute_j-scalar-dropped_hardware` `0.36s`, `startup_gfx2hlsl_compute_k-block-entered_warp` `0.37s`, `startup_gfx2hlsl_compute_f-peer_hardware` `0.36s`, `startup_gfx2hlsl_compute_h-inner-unpredicated_hardware` `0.36s`, `startup_gfx2hlsl_compute_k-block-entered_hardware` `0.36s`, `startup_gfx2hlsl_interp_f16_controls` `0.28s`, `startup_gfx2hlsl_compute_f-broadcast_hardware` `0.36s`, `startup_gfx2hlsl_compute_f-broadcast_warp` `0.36s`, `startup_gfx2hlsl_compute_g-swapped-offsets_hardware` `0.37s`, `startup_gfx2hlsl_dpp_quad_swap_controls` `0.18s`, `startup_gfx2hlsl_join_symbols_folded_warp` `0.26s`, `startup_gfx2hlsl_compute_f-peer_warp` `0.36s`, `startup_gfx2hlsl_sopk_signext` `0.19s`, `startup_gfx2hlsl_cmp16_controls` `0.37s`, `startup_gfx2hlsl_operand_count` `0.39s`, `startup_gfx2hlsl_join_symbols_folded_hardware` `0.26s`, `startup_gfx2hlsl_shift64_controls` `0.20s`, `startup_gfx2hlsl_export_mask` `0.19s`, `startup_gfx2hlsl_dpp_pair` `0.18s`, `startup_gfx2hlsl_scalar_shift64_bfe_controls` `0.29s`, `startup_gfx2hlsl_readfirstlane_uniform` `0.16s`, `startup_gfx2hlsl_export_mask_drop_control` `0.19s`, `startup_gfx2hlsl_sgpr_spill_controls` `0.17s`, `startup_gfx2hlsl_scalar_m0_controls` `0.16s`, `startup_gfx2hlsl_add_sub_co_controls` `0.19s`, `startup_gfx2hlsl_s_sext_cmov` `0.16s`, `startup_gfx2hlsl_vcvt_omod` `0.12s`, `startup_gfx2hlsl_cvt_pk_u8_controls` `0.16s`, `startup_gfx2hlsl_calculated_target` `0.16s`, `startup_gfx2hlsl_dpp_quad_broadcast` `0.19s`, `startup_gfx2hlsl_opsel` `0.14s`, `startup_gfx2hlsl_cndmask_neg` `0.14s`, `startup_gfx2hlsl_tbuffer_16f` `0.13s`, `startup_gfx2hlsl_smem_offset` `0.13s`, `startup_gfx2hlsl_mul_hi_controls` `0.18s`, `startup_gfx2hlsl_mask_overwrite_controls` `0.15s`, `startup_gfx2hlsl_int_med3_controls` `0.17s`, `startup_gfx2hlsl_cselect_mask_controls` `0.16s`, `startup_gfx2hlsl_b64_shift` `0.13s`, `startup_gfx2hlsl_s_bitcmp` `0.16s`, `startup_gfx2hlsl_readfirstlane_recompute` `0.16s`, `startup_gfx2hlsl_op_refusals` `0.14s`, `startup_gfx2hlsl_neg_operand` `0.13s`, `startup_gfx2hlsl_handler_arity` `0.15s`, `startup_gfx2hlsl_loop_constants` `0.14s`, `startup_gfx2hlsl_compare_dst_controls` `0.13s`, `startup_gfx2hlsl_saveexec_same_reg_controls` `0.13s`, `startup_gfx2hlsl_scalar_brev_fold` `0.16s`, `startup_gfx2hlsl_mad_controls` `0.17s`, `startup_gfx2hlsl_image_get_lod_controls` `0.15s`, `startup_gfx2hlsl_image_arity` `0.12s`) - **Release `/O2` (`--preset release`)**: - Build (`cmake --build --preset release --target d3d12_xs_device_obj d3d12_xs_shim -- -j 2`): `45.04s` (configure `0.00s`) - Test (`ctest --preset release -R '^startup_gfx2hlsl_' --parallel 6 --no-tests=error --output-on-failure`): **131/131 passed** (`46.49s`: `startup_gfx2hlsl_vopc_sdwa` `10.23s`, `startup_gfx2hlsl_f32_nan` `10.88s`, `startup_gfx2hlsl_f32_nan_warp` `16.95s`, `startup_gfx2hlsl_f32_nan_hardware` `17.31s`, `startup_gfx2hlsl_cvt_alu_warp` `7.19s`, `startup_gfx2hlsl_cvt_alu_hardware` `7.25s`, `startup_gfx2hlsl_f32_sdwa_hardware` `22.60s`, `startup_gfx2hlsl_f32_sdwa_warp` `22.75s`, `startup_gfx2hlsl_bit_alu_hardware` `8.19s`, `startup_gfx2hlsl_bit_alu_warp` `7.95s`, `startup_gfx2hlsl_cmp_class_f16` `8.09s`, `startup_gfx2hlsl_sop2_complement` `7.95s`, `startup_gfx2hlsl_compute_hardware` `2.78s`, `startup_gfx2hlsl_shift64_hardware` `4.33s`, `startup_gfx2hlsl_s_lshl_add` `7.13s`, `startup_gfx2hlsl_f32_lg_warp` `5.69s`, `startup_gfx2hlsl_f32_lg_hardware` `5.60s`, `startup_gfx2hlsl_cmp_class` `9.29s`, `startup_gfx2hlsl_mad_dispatch_hardware` `2.14s`, `startup_gfx2hlsl_shift64_warp` `4.46s`, `startup_gfx2hlsl_dpp_quad_swap_hardware` `2.65s`, `startup_gfx2hlsl_dpp_quad_swap_warp` `2.58s`, `startup_gfx2hlsl_f32_sdwa` `4.49s`, `startup_gfx2hlsl_cmp16_warp` `2.59s`, `startup_gfx2hlsl_watch` `3.06s`, `startup_gfx2hlsl_dpp_pair_hardware` `2.45s`, `startup_gfx2hlsl_dpp_pair_warp` `2.39s`, `startup_gfx2hlsl_sdwa_cvt_hardware` `2.43s`, `startup_gfx2hlsl_cmp16_hardware` `2.62s`, `startup_gfx2hlsl_sdwa_cvt_warp` `2.68s`, `startup_gfx2hlsl_f32_lg` `2.82s`, `startup_gfx2hlsl_vopc_sdwa_hardware` `1.78s`, `startup_gfx2hlsl_mad_dispatch_warp` `2.08s`, `startup_gfx2hlsl_mad_preserve_hardware` `1.39s`, `startup_gfx2hlsl_compute_warp` `2.89s`, `startup_gfx2hlsl_scalar_m0_hardware` `1.56s`, `startup_gfx2hlsl_scalar_m0_warp` `1.55s`, `startup_gfx2hlsl_sgpr_spill_warp` `1.23s`, `startup_gfx2hlsl_vopc_sdwa_warp` `1.72s`, `startup_gfx2hlsl_capture` `1.67s`, `startup_gfx2hlsl_mad_preserve_warp` `1.34s`, `startup_gfx2hlsl_sopk_accum` `1.49s`, `startup_gfx2hlsl_sgpr_spill_hardware` `1.33s`, `startup_gfx2hlsl_dpp_quad_broadcast_hardware` `1.21s`, `startup_gfx2hlsl_interp_f16_hardware` `1.26s`, `startup_gfx2hlsl_mul_hi_warp` `1.36s`, `startup_gfx2hlsl_interp_f16_warp` `1.26s`, `startup_gfx2hlsl_compute_mbcnt_warp` `0.84s`, `startup_gfx2hlsl_dpp_quad_broadcast_warp` `1.68s`, `startup_gfx2hlsl_root` `1.09s`, `startup_gfx2hlsl_cvt_pk_u8_warp` `1.51s`, `startup_gfx2hlsl_cvt_pk_u8_hardware` `1.46s`, `startup_gfx2hlsl_compute_mbcnt_hardware` `0.98s`, `startup_gfx2hlsl_draw_skip` `0.75s`, `startup_gfx2hlsl_bit_alu_controls` `1.61s`, `startup_gfx2hlsl_buffer_store` `0.84s`, `startup_gfx2hlsl_refusals` `0.80s`, `startup_gfx2hlsl_join_symbols_warp` `0.50s`, `startup_gfx2hlsl_sdwa` `0.26s`, `startup_gfx2hlsl_mul_hi_hardware` `1.27s`, `startup_gfx2hlsl_compute_g-overlap_warp` `0.38s`, `startup_gfx2hlsl_join_symbols_hardware` `0.49s`, `startup_gfx2hlsl_compute_b-offset_warp` `0.38s`, `startup_gfx2hlsl_compute_controls` `0.66s`, `startup_gfx2hlsl_compute_c-unpredicated_warp` `0.36s`, `startup_gfx2hlsl_compute_g-swapped-offsets_warp` `0.39s`, `startup_gfx2hlsl_compute_swapped-axes_warp` `0.38s`, `startup_gfx2hlsl_compute_dropped-store_warp` `0.37s`, `startup_gfx2hlsl_compute_k-block-entered_hardware` `0.39s`, `startup_gfx2hlsl_compute_j-scalar-dropped_warp` `0.39s`, `startup_gfx2hlsl_join_symbols_controls` `0.33s`, `startup_gfx2hlsl_compute_j-scalar-dropped_hardware` `0.40s`, `startup_gfx2hlsl_compute_h-inner-unpredicated_warp` `0.39s`, `startup_gfx2hlsl_compute_f-broadcast_hardware` `0.39s`, `startup_gfx2hlsl_compute_g-overlap_hardware` `0.40s`, `startup_gfx2hlsl_compute_f-peer_hardware` `0.39s`, `startup_gfx2hlsl_compute_g-swapped-offsets_hardware` `0.36s`, `startup_gfx2hlsl_compute_h-inner-unpredicated_hardware` `0.38s`, `startup_gfx2hlsl_compute_swapped-axes_hardware` `0.35s`, `startup_gfx2hlsl_compute_c-unpredicated_hardware` `0.37s`, `startup_gfx2hlsl_cmp16_controls` `0.41s`, `startup_gfx2hlsl_compute_f-peer_warp` `0.36s`, `startup_gfx2hlsl_compute_b-offset_hardware` `0.36s`, `startup_gfx2hlsl_swap` `0.32s`, `startup_gfx2hlsl_scalar_shift64_bfe_controls` `0.30s`, `startup_gfx2hlsl_compute_k-block-entered_warp` `0.36s`, `startup_gfx2hlsl_compute_dropped-store_hardware` `0.36s`, `startup_gfx2hlsl_join_symbols_folded_hardware` `0.28s`, `startup_gfx2hlsl_dpp_quad_swap_controls` `0.20s`, `startup_gfx2hlsl_compute_f-broadcast_warp` `0.38s`, `startup_gfx2hlsl_sdwa_cvt` `0.43s`, `startup_gfx2hlsl_interp_f16_controls` `0.29s`, `startup_gfx2hlsl_cvt_alu_controls` `0.22s`, `startup_gfx2hlsl_join_symbols_folded_warp` `0.27s`, `startup_gfx2hlsl_sample_c_lz_mip` `0.26s`, `startup_gfx2hlsl_shift64_controls` `0.22s`, `startup_gfx2hlsl_dpp_pair` `0.20s`, `startup_gfx2hlsl_operand_count` `0.39s`, `startup_gfx2hlsl_cndmask_neg` `0.14s`, `startup_gfx2hlsl_sopk_signext` `0.22s`, `startup_gfx2hlsl_scalar_m0_controls` `0.16s`, `startup_gfx2hlsl_vcvt_omod` `0.13s`, `startup_gfx2hlsl_mul_hi_controls` `0.17s`, `startup_gfx2hlsl_readfirstlane_uniform` `0.19s`, `startup_gfx2hlsl_opsel` `0.15s`, `startup_gfx2hlsl_dpp_quad_broadcast` `0.21s`, `startup_gfx2hlsl_sgpr_spill_controls` `0.19s`, `startup_gfx2hlsl_smem_offset` `0.14s`, `startup_gfx2hlsl_b64_shift` `0.14s`, `startup_gfx2hlsl_cvt_pk_u8_controls` `0.18s`, `startup_gfx2hlsl_tbuffer_16f` `0.16s`, `startup_gfx2hlsl_mad_controls` `0.21s`, `startup_gfx2hlsl_export_mask_drop_control` `0.22s`, `startup_gfx2hlsl_export_mask` `0.22s`, `startup_gfx2hlsl_int_med3_controls` `0.21s`, `startup_gfx2hlsl_s_sext_cmov` `0.15s`, `startup_gfx2hlsl_op_refusals` `0.15s`, `startup_gfx2hlsl_add_sub_co_controls` `0.20s`, `startup_gfx2hlsl_image_get_lod_controls` `0.17s`, `startup_gfx2hlsl_scalar_brev_fold` `0.19s`, `startup_gfx2hlsl_calculated_target` `0.18s`, `startup_gfx2hlsl_s_bitcmp` `0.18s`, `startup_gfx2hlsl_mask_overwrite_controls` `0.17s`, `startup_gfx2hlsl_cselect_mask_controls` `0.16s`, `startup_gfx2hlsl_handler_arity` `0.15s`, `startup_gfx2hlsl_saveexec_same_reg_controls` `0.17s`, `startup_gfx2hlsl_image_arity` `0.14s`, `startup_gfx2hlsl_readfirstlane_recompute` `0.16s`, `startup_gfx2hlsl_loop_constants` `0.15s`, `startup_gfx2hlsl_neg_operand` `0.13s`, `startup_gfx2hlsl_compare_dst_controls` `0.14s`) - **Windows Python checks**: `tests/mesh_heap_sampler_check.py` ok (`0.6s`), `tests/startup_buffer_address_check.py` ok (`0.4s`), `tests/startup_compute_request_offline_check.py` ok (`0.4s`), `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_bit_alu_check.py` ok (`0.6s`), `tests/startup_gfx2hlsl_capture_check.py` ok (`0.9s`), `tests/startup_gfx2hlsl_cmp16_check.py` ok (`0.2s`), `tests/startup_gfx2hlsl_compare_dst_check.py` ok (`0.1s`), `tests/startup_gfx2hlsl_compute_check.py` ok (`0.3s`), `tests/startup_gfx2hlsl_cselect_mask_check.py` ok (`0.1s`), `tests/startup_gfx2hlsl_cvt_alu_check.py` ok (`0.1s`), `tests/startup_gfx2hlsl_f32_lg_check.py` ok (`1.2s`), `tests/startup_gfx2hlsl_f32_nan_check.py` ok (`4.5s`), `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.4s`), `tests/startup_gfx2hlsl_root_check.py` ok (`0.6s`), `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.2s`), `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 (`3.8s`), `tests/startup_gfx2hlsl_sopk_accum_check.py` ok (`0.7s`), `tests/startup_gfx2hlsl_sopk_signext_check.py` ok (`0.1s`), `tests/startup_gfx2hlsl_swap_check.py` ok (`0.2s`), `tests/startup_gfx2hlsl_vopc_sdwa_check.py` ok (`4.0s`), `tests/startup_gfx2hlsl_watch_check.py` ok (`4.0s`), `tests/startup_image_2d_array_check.py` ok (`0.9s`), `tests/startup_image_3d_check.py` ok (`0.6s`), `tests/startup_image_gather_lz_check.py` ok (`1.3s`), `tests/startup_image_load_d16_check.py` ok (`2.3s`), `tests/startup_image_sample_a16_check.py` ok (`0.6s`), `tests/startup_image_sample_b_check.py` ok (`0.9s`), `tests/startup_image_sample_c_check.py` ok (`0.5s`), `tests/startup_image_sample_l_check.py` ok (`0.3s`), `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 (`37.0s`), `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.3s`), `tests/startup_translator_check.py` ok (`0.6s`) - `sccache`: 0/4 hits; wall `166.4s`
tedin7 commented 2026-11-25 18:01:21 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by tedin7 on 2026-11-25T17:46:06Z.


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

  • Debug (--preset dev):
    • Build (cmake --build --preset dev --target d3d12_xs_device_obj d3d12_xs_shim -- -j 2): 0.45s (configure 0.00s)
    • Test (ctest --preset dev -R '^startup_gfx2hlsl_' --parallel 6 --no-tests=error --output-on-failure): 131/131 passed (36.20s: startup_gfx2hlsl_cvt_alu_warp 7.78s, startup_gfx2hlsl_f32_nan 8.87s, startup_gfx2hlsl_f32_lg_hardware 4.86s, startup_gfx2hlsl_f32_nan_warp 14.49s, startup_gfx2hlsl_f32_nan_hardware 14.49s, startup_gfx2hlsl_bit_alu_warp 6.80s, startup_gfx2hlsl_f32_lg_warp 4.79s, startup_gfx2hlsl_f32_sdwa_warp 19.43s, startup_gfx2hlsl_f32_sdwa_hardware 19.67s, startup_gfx2hlsl_sop2_complement 6.05s, startup_gfx2hlsl_cvt_alu_hardware 5.78s, startup_gfx2hlsl_bit_alu_hardware 6.56s, startup_gfx2hlsl_shift64_hardware 3.26s, startup_gfx2hlsl_s_lshl_add 4.24s, startup_gfx2hlsl_shift64_warp 3.14s, startup_gfx2hlsl_cmp_class_f16 5.01s, startup_gfx2hlsl_vopc_sdwa 5.51s, startup_gfx2hlsl_cmp_class 5.41s, startup_gfx2hlsl_sdwa_cvt_warp 1.90s, startup_gfx2hlsl_dpp_pair_warp 1.98s, startup_gfx2hlsl_dpp_pair_hardware 2.01s, startup_gfx2hlsl_compute_hardware 2.21s, startup_gfx2hlsl_sdwa_cvt_hardware 2.00s, startup_gfx2hlsl_f32_sdwa 3.03s, startup_gfx2hlsl_dpp_quad_swap_hardware 2.10s, startup_gfx2hlsl_cmp16_hardware 2.08s, startup_gfx2hlsl_mad_dispatch_hardware 1.63s, startup_gfx2hlsl_cmp16_warp 2.01s, startup_gfx2hlsl_dpp_quad_swap_warp 2.02s, startup_gfx2hlsl_watch 2.70s, startup_gfx2hlsl_mad_dispatch_warp 1.54s, startup_gfx2hlsl_mul_hi_hardware 1.03s, startup_gfx2hlsl_mad_preserve_hardware 1.04s, startup_gfx2hlsl_vopc_sdwa_hardware 1.33s, startup_gfx2hlsl_compute_warp 2.13s, startup_gfx2hlsl_vopc_sdwa_warp 1.35s, startup_gfx2hlsl_f32_lg 1.73s, startup_gfx2hlsl_sgpr_spill_hardware 1.00s, startup_gfx2hlsl_mad_preserve_warp 1.04s, startup_gfx2hlsl_scalar_m0_warp 1.16s, startup_gfx2hlsl_scalar_m0_hardware 1.19s, startup_gfx2hlsl_dpp_quad_broadcast_hardware 0.96s, startup_gfx2hlsl_interp_f16_hardware 0.92s, startup_gfx2hlsl_mul_hi_warp 1.03s, startup_gfx2hlsl_sgpr_spill_warp 0.98s, startup_gfx2hlsl_dpp_quad_broadcast_warp 0.97s, startup_gfx2hlsl_interp_f16_warp 0.91s, startup_gfx2hlsl_cvt_pk_u8_warp 0.81s, startup_gfx2hlsl_capture 1.21s, startup_gfx2hlsl_compute_dropped-store_warp 0.39s, startup_gfx2hlsl_compute_mbcnt_warp 0.93s, startup_gfx2hlsl_root 0.79s, startup_gfx2hlsl_compute_c-unpredicated_warp 0.39s, startup_gfx2hlsl_sopk_accum 1.07s, startup_gfx2hlsl_compute_b-offset_warp 0.29s, startup_gfx2hlsl_cvt_pk_u8_hardware 1.02s, startup_gfx2hlsl_compute_dropped-store_hardware 0.30s, startup_gfx2hlsl_bit_alu_controls 0.97s, startup_gfx2hlsl_compute_swapped-axes_hardware 0.30s, startup_gfx2hlsl_compute_swapped-axes_warp 0.28s, startup_gfx2hlsl_compute_b-offset_hardware 0.29s, startup_gfx2hlsl_compute_controls 0.43s, startup_gfx2hlsl_compute_c-unpredicated_hardware 0.29s, startup_gfx2hlsl_join_symbols_warp 0.39s, startup_gfx2hlsl_sdwa 0.20s, startup_gfx2hlsl_compute_mbcnt_hardware 0.70s, startup_gfx2hlsl_join_symbols_controls 0.24s, startup_gfx2hlsl_refusals 0.53s, startup_gfx2hlsl_draw_skip 0.48s, startup_gfx2hlsl_sample_c_lz_mip 0.20s, startup_gfx2hlsl_buffer_store 0.56s, startup_gfx2hlsl_join_symbols_hardware 0.38s, startup_gfx2hlsl_swap 0.28s, startup_gfx2hlsl_compute_g-overlap_warp 0.27s, startup_gfx2hlsl_compute_g-swapped-offsets_warp 0.29s, startup_gfx2hlsl_compute_j-scalar-dropped_warp 0.30s, startup_gfx2hlsl_sdwa_cvt 0.33s, startup_gfx2hlsl_compute_k-block-entered_warp 0.29s, startup_gfx2hlsl_compute_j-scalar-dropped_hardware 0.29s, startup_gfx2hlsl_compute_g-overlap_hardware 0.29s, startup_gfx2hlsl_compute_h-inner-unpredicated_warp 0.29s, startup_gfx2hlsl_compute_f-peer_hardware 0.28s, startup_gfx2hlsl_compute_f-broadcast_hardware 0.29s, startup_gfx2hlsl_compute_k-block-entered_hardware 0.29s, startup_gfx2hlsl_compute_h-inner-unpredicated_hardware 0.28s, startup_gfx2hlsl_compute_g-swapped-offsets_hardware 0.30s, startup_gfx2hlsl_compute_f-peer_warp 0.30s, startup_gfx2hlsl_compute_f-broadcast_warp 0.28s, startup_gfx2hlsl_cvt_alu_controls 0.19s, startup_gfx2hlsl_cmp16_controls 0.28s, startup_gfx2hlsl_interp_f16_controls 0.21s, startup_gfx2hlsl_dpp_quad_swap_controls 0.13s, startup_gfx2hlsl_join_symbols_folded_warp 0.20s, startup_gfx2hlsl_scalar_shift64_bfe_controls 0.24s, startup_gfx2hlsl_join_symbols_folded_hardware 0.21s, startup_gfx2hlsl_shift64_controls 0.15s, startup_gfx2hlsl_operand_count 0.31s, startup_gfx2hlsl_sopk_signext 0.18s, startup_gfx2hlsl_export_mask 0.15s, startup_gfx2hlsl_export_mask_drop_control 0.14s, startup_gfx2hlsl_sgpr_spill_controls 0.11s, startup_gfx2hlsl_dpp_pair 0.13s, startup_gfx2hlsl_readfirstlane_uniform 0.14s, startup_gfx2hlsl_scalar_m0_controls 0.11s, startup_gfx2hlsl_add_sub_co_controls 0.14s, startup_gfx2hlsl_s_sext_cmov 0.11s, startup_gfx2hlsl_vcvt_omod 0.10s, startup_gfx2hlsl_cvt_pk_u8_controls 0.13s, startup_gfx2hlsl_dpp_quad_broadcast 0.14s, startup_gfx2hlsl_calculated_target 0.12s, startup_gfx2hlsl_int_med3_controls 0.14s, startup_gfx2hlsl_cndmask_neg 0.10s, startup_gfx2hlsl_smem_offset 0.10s, startup_gfx2hlsl_opsel 0.11s, startup_gfx2hlsl_tbuffer_16f 0.10s, startup_gfx2hlsl_mul_hi_controls 0.14s, startup_gfx2hlsl_mask_overwrite_controls 0.12s, startup_gfx2hlsl_cselect_mask_controls 0.11s, startup_gfx2hlsl_readfirstlane_recompute 0.12s, startup_gfx2hlsl_b64_shift 0.12s, startup_gfx2hlsl_s_bitcmp 0.14s, startup_gfx2hlsl_op_refusals 0.11s, startup_gfx2hlsl_handler_arity 0.11s, startup_gfx2hlsl_loop_constants 0.10s, startup_gfx2hlsl_neg_operand 0.10s, startup_gfx2hlsl_compare_dst_controls 0.10s, startup_gfx2hlsl_mad_controls 0.14s, startup_gfx2hlsl_scalar_brev_fold 0.11s, startup_gfx2hlsl_image_get_lod_controls 0.12s, startup_gfx2hlsl_saveexec_same_reg_controls 0.10s, startup_gfx2hlsl_image_arity 0.08s)
  • Release /O2 (--preset release):
    • Build (cmake --build --preset release --target d3d12_xs_device_obj d3d12_xs_shim -- -j 2): 36.21s (configure 0.00s)
    • Test (ctest --preset release -R '^startup_gfx2hlsl_' --parallel 6 --no-tests=error --output-on-failure): 131/131 passed (36.03s: startup_gfx2hlsl_vopc_sdwa 7.86s, startup_gfx2hlsl_f32_nan 8.52s, startup_gfx2hlsl_f32_nan_warp 14.05s, startup_gfx2hlsl_f32_nan_hardware 14.16s, startup_gfx2hlsl_cvt_alu_warp 5.97s, startup_gfx2hlsl_bit_alu_hardware 6.96s, startup_gfx2hlsl_f32_sdwa_warp 18.88s, startup_gfx2hlsl_f32_sdwa_hardware 18.89s, startup_gfx2hlsl_cvt_alu_hardware 5.63s, startup_gfx2hlsl_cmp_class_f16 5.75s, startup_gfx2hlsl_cmp_class 6.16s, startup_gfx2hlsl_bit_alu_warp 6.42s, startup_gfx2hlsl_s_lshl_add 4.73s, startup_gfx2hlsl_shift64_hardware 3.26s, startup_gfx2hlsl_f32_lg_warp 4.41s, startup_gfx2hlsl_sop2_complement 5.52s, startup_gfx2hlsl_f32_lg_hardware 4.48s, startup_gfx2hlsl_shift64_warp 3.33s, startup_gfx2hlsl_dpp_quad_swap_hardware 1.97s, startup_gfx2hlsl_compute_hardware 2.15s, startup_gfx2hlsl_mad_dispatch_hardware 1.59s, startup_gfx2hlsl_dpp_quad_swap_warp 1.94s, startup_gfx2hlsl_f32_sdwa 3.00s, startup_gfx2hlsl_watch 2.70s, startup_gfx2hlsl_dpp_pair_hardware 1.88s, startup_gfx2hlsl_cmp16_warp 1.91s, startup_gfx2hlsl_dpp_pair_warp 1.92s, startup_gfx2hlsl_sdwa_cvt_hardware 1.84s, startup_gfx2hlsl_cmp16_hardware 1.96s, startup_gfx2hlsl_sdwa_cvt_warp 1.98s, startup_gfx2hlsl_vopc_sdwa_hardware 1.31s, startup_gfx2hlsl_mad_dispatch_warp 1.58s, startup_gfx2hlsl_f32_lg 1.74s, startup_gfx2hlsl_vopc_sdwa_warp 1.30s, startup_gfx2hlsl_compute_warp 2.14s, startup_gfx2hlsl_scalar_m0_hardware 1.21s, startup_gfx2hlsl_scalar_m0_warp 1.15s, startup_gfx2hlsl_mad_preserve_hardware 0.98s, startup_gfx2hlsl_sopk_accum 1.04s, startup_gfx2hlsl_capture 1.23s, startup_gfx2hlsl_sgpr_spill_warp 0.96s, startup_gfx2hlsl_mad_preserve_warp 1.02s, startup_gfx2hlsl_sgpr_spill_hardware 0.98s, startup_gfx2hlsl_mul_hi_warp 1.02s, startup_gfx2hlsl_dpp_quad_broadcast_warp 0.98s, startup_gfx2hlsl_dpp_quad_broadcast_hardware 0.99s, startup_gfx2hlsl_mul_hi_hardware 1.16s, startup_gfx2hlsl_interp_f16_hardware 1.01s, startup_gfx2hlsl_cvt_pk_u8_warp 0.94s, startup_gfx2hlsl_interp_f16_warp 1.04s, startup_gfx2hlsl_bit_alu_controls 0.93s, startup_gfx2hlsl_cvt_pk_u8_hardware 1.00s, startup_gfx2hlsl_compute_mbcnt_warp 0.85s, startup_gfx2hlsl_root 0.83s, startup_gfx2hlsl_buffer_store 0.68s, startup_gfx2hlsl_compute_mbcnt_hardware 0.84s, startup_gfx2hlsl_draw_skip 0.58s, startup_gfx2hlsl_refusals 0.60s, startup_gfx2hlsl_compute_controls 0.46s, startup_gfx2hlsl_join_symbols_warp 0.40s, startup_gfx2hlsl_sdwa 0.22s, startup_gfx2hlsl_compute_g-overlap_warp 0.30s, startup_gfx2hlsl_join_symbols_hardware 0.40s, startup_gfx2hlsl_compute_b-offset_warp 0.29s, startup_gfx2hlsl_compute_c-unpredicated_warp 0.28s, startup_gfx2hlsl_compute_swapped-axes_warp 0.31s, startup_gfx2hlsl_compute_dropped-store_warp 0.31s, startup_gfx2hlsl_compute_g-swapped-offsets_warp 0.29s, startup_gfx2hlsl_compute_j-scalar-dropped_hardware 0.30s, startup_gfx2hlsl_compute_k-block-entered_hardware 0.30s, startup_gfx2hlsl_compute_j-scalar-dropped_warp 0.31s, startup_gfx2hlsl_compute_h-inner-unpredicated_warp 0.31s, startup_gfx2hlsl_compute_f-broadcast_hardware 0.30s, startup_gfx2hlsl_compute_g-overlap_hardware 0.32s, startup_gfx2hlsl_compute_h-inner-unpredicated_hardware 0.31s, startup_gfx2hlsl_compute_f-peer_hardware 0.31s, startup_gfx2hlsl_compute_g-swapped-offsets_hardware 0.29s, startup_gfx2hlsl_join_symbols_controls 0.27s, startup_gfx2hlsl_cmp16_controls 0.32s, startup_gfx2hlsl_compute_c-unpredicated_hardware 0.30s, startup_gfx2hlsl_compute_b-offset_hardware 0.28s, startup_gfx2hlsl_compute_swapped-axes_hardware 0.28s, startup_gfx2hlsl_swap 0.30s, startup_gfx2hlsl_compute_f-peer_warp 0.31s, startup_gfx2hlsl_compute_dropped-store_hardware 0.32s, startup_gfx2hlsl_join_symbols_folded_hardware 0.20s, startup_gfx2hlsl_compute_f-broadcast_warp 0.31s, startup_gfx2hlsl_scalar_shift64_bfe_controls 0.24s, startup_gfx2hlsl_compute_k-block-entered_warp 0.32s, startup_gfx2hlsl_sdwa_cvt 0.32s, startup_gfx2hlsl_dpp_quad_swap_controls 0.16s, startup_gfx2hlsl_interp_f16_controls 0.21s, startup_gfx2hlsl_cvt_alu_controls 0.17s, startup_gfx2hlsl_join_symbols_folded_warp 0.20s, startup_gfx2hlsl_sample_c_lz_mip 0.20s, startup_gfx2hlsl_shift64_controls 0.14s, startup_gfx2hlsl_operand_count 0.30s, startup_gfx2hlsl_cndmask_neg 0.10s, startup_gfx2hlsl_dpp_pair 0.14s, startup_gfx2hlsl_sopk_signext 0.15s, startup_gfx2hlsl_readfirstlane_uniform 0.13s, startup_gfx2hlsl_vcvt_omod 0.11s, startup_gfx2hlsl_export_mask_drop_control 0.13s, startup_gfx2hlsl_scalar_m0_controls 0.11s, startup_gfx2hlsl_dpp_quad_broadcast 0.14s, startup_gfx2hlsl_sgpr_spill_controls 0.12s, startup_gfx2hlsl_export_mask 0.14s, startup_gfx2hlsl_smem_offset 0.10s, startup_gfx2hlsl_mad_controls 0.15s, startup_gfx2hlsl_cvt_pk_u8_controls 0.12s, startup_gfx2hlsl_opsel 0.10s, startup_gfx2hlsl_mul_hi_controls 0.14s, startup_gfx2hlsl_int_med3_controls 0.12s, startup_gfx2hlsl_b64_shift 0.10s, startup_gfx2hlsl_tbuffer_16f 0.11s, startup_gfx2hlsl_add_sub_co_controls 0.14s, startup_gfx2hlsl_s_sext_cmov 0.12s, startup_gfx2hlsl_scalar_brev_fold 0.12s, startup_gfx2hlsl_s_bitcmp 0.11s, startup_gfx2hlsl_image_get_lod_controls 0.12s, startup_gfx2hlsl_op_refusals 0.10s, startup_gfx2hlsl_calculated_target 0.12s, startup_gfx2hlsl_mask_overwrite_controls 0.11s, startup_gfx2hlsl_cselect_mask_controls 0.12s, startup_gfx2hlsl_saveexec_same_reg_controls 0.12s, startup_gfx2hlsl_handler_arity 0.10s, startup_gfx2hlsl_image_arity 0.09s, startup_gfx2hlsl_readfirstlane_recompute 0.12s, startup_gfx2hlsl_loop_constants 0.10s, startup_gfx2hlsl_neg_operand 0.09s, startup_gfx2hlsl_compare_dst_controls 0.09s)
  • Windows Python checks: tests/mesh_heap_sampler_check.py ok (0.6s), tests/startup_buffer_address_check.py ok (0.3s), tests/startup_compute_request_offline_check.py ok (0.3s), 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_bit_alu_check.py ok (0.6s), tests/startup_gfx2hlsl_capture_check.py ok (0.7s), tests/startup_gfx2hlsl_cmp16_check.py ok (0.2s), tests/startup_gfx2hlsl_compare_dst_check.py ok (0.1s), tests/startup_gfx2hlsl_compute_check.py ok (0.3s), tests/startup_gfx2hlsl_cselect_mask_check.py ok (0.1s), tests/startup_gfx2hlsl_cvt_alu_check.py ok (0.1s), tests/startup_gfx2hlsl_f32_lg_check.py ok (1.0s), tests/startup_gfx2hlsl_f32_nan_check.py ok (4.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.1s), 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.3s), tests/startup_gfx2hlsl_root_check.py ok (0.5s), 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.2s), 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 (3.3s), tests/startup_gfx2hlsl_sopk_accum_check.py ok (0.6s), tests/startup_gfx2hlsl_sopk_signext_check.py ok (0.1s), tests/startup_gfx2hlsl_swap_check.py ok (0.2s), tests/startup_gfx2hlsl_vopc_sdwa_check.py ok (3.6s), tests/startup_gfx2hlsl_watch_check.py ok (2.2s), tests/startup_image_2d_array_check.py ok (0.1s), 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.7s), tests/startup_image_sample_a16_check.py ok (0.1s), tests/startup_image_sample_b_check.py ok (0.1s), tests/startup_image_sample_c_check.py ok (0.2s), tests/startup_image_sample_l_check.py ok (0.1s), tests/startup_image_sample_lod_check.py ok (0.1s), tests/startup_inline_sampler_check.py ok (0.1s), tests/startup_run_ps1_check.py ok (7.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.3s)
  • sccache: 0/2 hits; wall 107.4s

AI-assisted; commands listed were executed locally.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:comment:7169971348 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/2396#issuecomment-7169971348). Originally posted by [tedin7](https://github.com/tedin7) on 2026-11-25T17:46:06Z. --- Verified on Windows Server 2025 (Build 26100, MSVC 14.44.35207 + D3D12 WARP) at commit `4554b79cc410e550d0cdc66babb1b971fdb05380`: - **Debug (`--preset dev`)**: - Build (`cmake --build --preset dev --target d3d12_xs_device_obj d3d12_xs_shim -- -j 2`): `0.45s` (configure `0.00s`) - Test (`ctest --preset dev -R '^startup_gfx2hlsl_' --parallel 6 --no-tests=error --output-on-failure`): **131/131 passed** (`36.20s`: `startup_gfx2hlsl_cvt_alu_warp` `7.78s`, `startup_gfx2hlsl_f32_nan` `8.87s`, `startup_gfx2hlsl_f32_lg_hardware` `4.86s`, `startup_gfx2hlsl_f32_nan_warp` `14.49s`, `startup_gfx2hlsl_f32_nan_hardware` `14.49s`, `startup_gfx2hlsl_bit_alu_warp` `6.80s`, `startup_gfx2hlsl_f32_lg_warp` `4.79s`, `startup_gfx2hlsl_f32_sdwa_warp` `19.43s`, `startup_gfx2hlsl_f32_sdwa_hardware` `19.67s`, `startup_gfx2hlsl_sop2_complement` `6.05s`, `startup_gfx2hlsl_cvt_alu_hardware` `5.78s`, `startup_gfx2hlsl_bit_alu_hardware` `6.56s`, `startup_gfx2hlsl_shift64_hardware` `3.26s`, `startup_gfx2hlsl_s_lshl_add` `4.24s`, `startup_gfx2hlsl_shift64_warp` `3.14s`, `startup_gfx2hlsl_cmp_class_f16` `5.01s`, `startup_gfx2hlsl_vopc_sdwa` `5.51s`, `startup_gfx2hlsl_cmp_class` `5.41s`, `startup_gfx2hlsl_sdwa_cvt_warp` `1.90s`, `startup_gfx2hlsl_dpp_pair_warp` `1.98s`, `startup_gfx2hlsl_dpp_pair_hardware` `2.01s`, `startup_gfx2hlsl_compute_hardware` `2.21s`, `startup_gfx2hlsl_sdwa_cvt_hardware` `2.00s`, `startup_gfx2hlsl_f32_sdwa` `3.03s`, `startup_gfx2hlsl_dpp_quad_swap_hardware` `2.10s`, `startup_gfx2hlsl_cmp16_hardware` `2.08s`, `startup_gfx2hlsl_mad_dispatch_hardware` `1.63s`, `startup_gfx2hlsl_cmp16_warp` `2.01s`, `startup_gfx2hlsl_dpp_quad_swap_warp` `2.02s`, `startup_gfx2hlsl_watch` `2.70s`, `startup_gfx2hlsl_mad_dispatch_warp` `1.54s`, `startup_gfx2hlsl_mul_hi_hardware` `1.03s`, `startup_gfx2hlsl_mad_preserve_hardware` `1.04s`, `startup_gfx2hlsl_vopc_sdwa_hardware` `1.33s`, `startup_gfx2hlsl_compute_warp` `2.13s`, `startup_gfx2hlsl_vopc_sdwa_warp` `1.35s`, `startup_gfx2hlsl_f32_lg` `1.73s`, `startup_gfx2hlsl_sgpr_spill_hardware` `1.00s`, `startup_gfx2hlsl_mad_preserve_warp` `1.04s`, `startup_gfx2hlsl_scalar_m0_warp` `1.16s`, `startup_gfx2hlsl_scalar_m0_hardware` `1.19s`, `startup_gfx2hlsl_dpp_quad_broadcast_hardware` `0.96s`, `startup_gfx2hlsl_interp_f16_hardware` `0.92s`, `startup_gfx2hlsl_mul_hi_warp` `1.03s`, `startup_gfx2hlsl_sgpr_spill_warp` `0.98s`, `startup_gfx2hlsl_dpp_quad_broadcast_warp` `0.97s`, `startup_gfx2hlsl_interp_f16_warp` `0.91s`, `startup_gfx2hlsl_cvt_pk_u8_warp` `0.81s`, `startup_gfx2hlsl_capture` `1.21s`, `startup_gfx2hlsl_compute_dropped-store_warp` `0.39s`, `startup_gfx2hlsl_compute_mbcnt_warp` `0.93s`, `startup_gfx2hlsl_root` `0.79s`, `startup_gfx2hlsl_compute_c-unpredicated_warp` `0.39s`, `startup_gfx2hlsl_sopk_accum` `1.07s`, `startup_gfx2hlsl_compute_b-offset_warp` `0.29s`, `startup_gfx2hlsl_cvt_pk_u8_hardware` `1.02s`, `startup_gfx2hlsl_compute_dropped-store_hardware` `0.30s`, `startup_gfx2hlsl_bit_alu_controls` `0.97s`, `startup_gfx2hlsl_compute_swapped-axes_hardware` `0.30s`, `startup_gfx2hlsl_compute_swapped-axes_warp` `0.28s`, `startup_gfx2hlsl_compute_b-offset_hardware` `0.29s`, `startup_gfx2hlsl_compute_controls` `0.43s`, `startup_gfx2hlsl_compute_c-unpredicated_hardware` `0.29s`, `startup_gfx2hlsl_join_symbols_warp` `0.39s`, `startup_gfx2hlsl_sdwa` `0.20s`, `startup_gfx2hlsl_compute_mbcnt_hardware` `0.70s`, `startup_gfx2hlsl_join_symbols_controls` `0.24s`, `startup_gfx2hlsl_refusals` `0.53s`, `startup_gfx2hlsl_draw_skip` `0.48s`, `startup_gfx2hlsl_sample_c_lz_mip` `0.20s`, `startup_gfx2hlsl_buffer_store` `0.56s`, `startup_gfx2hlsl_join_symbols_hardware` `0.38s`, `startup_gfx2hlsl_swap` `0.28s`, `startup_gfx2hlsl_compute_g-overlap_warp` `0.27s`, `startup_gfx2hlsl_compute_g-swapped-offsets_warp` `0.29s`, `startup_gfx2hlsl_compute_j-scalar-dropped_warp` `0.30s`, `startup_gfx2hlsl_sdwa_cvt` `0.33s`, `startup_gfx2hlsl_compute_k-block-entered_warp` `0.29s`, `startup_gfx2hlsl_compute_j-scalar-dropped_hardware` `0.29s`, `startup_gfx2hlsl_compute_g-overlap_hardware` `0.29s`, `startup_gfx2hlsl_compute_h-inner-unpredicated_warp` `0.29s`, `startup_gfx2hlsl_compute_f-peer_hardware` `0.28s`, `startup_gfx2hlsl_compute_f-broadcast_hardware` `0.29s`, `startup_gfx2hlsl_compute_k-block-entered_hardware` `0.29s`, `startup_gfx2hlsl_compute_h-inner-unpredicated_hardware` `0.28s`, `startup_gfx2hlsl_compute_g-swapped-offsets_hardware` `0.30s`, `startup_gfx2hlsl_compute_f-peer_warp` `0.30s`, `startup_gfx2hlsl_compute_f-broadcast_warp` `0.28s`, `startup_gfx2hlsl_cvt_alu_controls` `0.19s`, `startup_gfx2hlsl_cmp16_controls` `0.28s`, `startup_gfx2hlsl_interp_f16_controls` `0.21s`, `startup_gfx2hlsl_dpp_quad_swap_controls` `0.13s`, `startup_gfx2hlsl_join_symbols_folded_warp` `0.20s`, `startup_gfx2hlsl_scalar_shift64_bfe_controls` `0.24s`, `startup_gfx2hlsl_join_symbols_folded_hardware` `0.21s`, `startup_gfx2hlsl_shift64_controls` `0.15s`, `startup_gfx2hlsl_operand_count` `0.31s`, `startup_gfx2hlsl_sopk_signext` `0.18s`, `startup_gfx2hlsl_export_mask` `0.15s`, `startup_gfx2hlsl_export_mask_drop_control` `0.14s`, `startup_gfx2hlsl_sgpr_spill_controls` `0.11s`, `startup_gfx2hlsl_dpp_pair` `0.13s`, `startup_gfx2hlsl_readfirstlane_uniform` `0.14s`, `startup_gfx2hlsl_scalar_m0_controls` `0.11s`, `startup_gfx2hlsl_add_sub_co_controls` `0.14s`, `startup_gfx2hlsl_s_sext_cmov` `0.11s`, `startup_gfx2hlsl_vcvt_omod` `0.10s`, `startup_gfx2hlsl_cvt_pk_u8_controls` `0.13s`, `startup_gfx2hlsl_dpp_quad_broadcast` `0.14s`, `startup_gfx2hlsl_calculated_target` `0.12s`, `startup_gfx2hlsl_int_med3_controls` `0.14s`, `startup_gfx2hlsl_cndmask_neg` `0.10s`, `startup_gfx2hlsl_smem_offset` `0.10s`, `startup_gfx2hlsl_opsel` `0.11s`, `startup_gfx2hlsl_tbuffer_16f` `0.10s`, `startup_gfx2hlsl_mul_hi_controls` `0.14s`, `startup_gfx2hlsl_mask_overwrite_controls` `0.12s`, `startup_gfx2hlsl_cselect_mask_controls` `0.11s`, `startup_gfx2hlsl_readfirstlane_recompute` `0.12s`, `startup_gfx2hlsl_b64_shift` `0.12s`, `startup_gfx2hlsl_s_bitcmp` `0.14s`, `startup_gfx2hlsl_op_refusals` `0.11s`, `startup_gfx2hlsl_handler_arity` `0.11s`, `startup_gfx2hlsl_loop_constants` `0.10s`, `startup_gfx2hlsl_neg_operand` `0.10s`, `startup_gfx2hlsl_compare_dst_controls` `0.10s`, `startup_gfx2hlsl_mad_controls` `0.14s`, `startup_gfx2hlsl_scalar_brev_fold` `0.11s`, `startup_gfx2hlsl_image_get_lod_controls` `0.12s`, `startup_gfx2hlsl_saveexec_same_reg_controls` `0.10s`, `startup_gfx2hlsl_image_arity` `0.08s`) - **Release `/O2` (`--preset release`)**: - Build (`cmake --build --preset release --target d3d12_xs_device_obj d3d12_xs_shim -- -j 2`): `36.21s` (configure `0.00s`) - Test (`ctest --preset release -R '^startup_gfx2hlsl_' --parallel 6 --no-tests=error --output-on-failure`): **131/131 passed** (`36.03s`: `startup_gfx2hlsl_vopc_sdwa` `7.86s`, `startup_gfx2hlsl_f32_nan` `8.52s`, `startup_gfx2hlsl_f32_nan_warp` `14.05s`, `startup_gfx2hlsl_f32_nan_hardware` `14.16s`, `startup_gfx2hlsl_cvt_alu_warp` `5.97s`, `startup_gfx2hlsl_bit_alu_hardware` `6.96s`, `startup_gfx2hlsl_f32_sdwa_warp` `18.88s`, `startup_gfx2hlsl_f32_sdwa_hardware` `18.89s`, `startup_gfx2hlsl_cvt_alu_hardware` `5.63s`, `startup_gfx2hlsl_cmp_class_f16` `5.75s`, `startup_gfx2hlsl_cmp_class` `6.16s`, `startup_gfx2hlsl_bit_alu_warp` `6.42s`, `startup_gfx2hlsl_s_lshl_add` `4.73s`, `startup_gfx2hlsl_shift64_hardware` `3.26s`, `startup_gfx2hlsl_f32_lg_warp` `4.41s`, `startup_gfx2hlsl_sop2_complement` `5.52s`, `startup_gfx2hlsl_f32_lg_hardware` `4.48s`, `startup_gfx2hlsl_shift64_warp` `3.33s`, `startup_gfx2hlsl_dpp_quad_swap_hardware` `1.97s`, `startup_gfx2hlsl_compute_hardware` `2.15s`, `startup_gfx2hlsl_mad_dispatch_hardware` `1.59s`, `startup_gfx2hlsl_dpp_quad_swap_warp` `1.94s`, `startup_gfx2hlsl_f32_sdwa` `3.00s`, `startup_gfx2hlsl_watch` `2.70s`, `startup_gfx2hlsl_dpp_pair_hardware` `1.88s`, `startup_gfx2hlsl_cmp16_warp` `1.91s`, `startup_gfx2hlsl_dpp_pair_warp` `1.92s`, `startup_gfx2hlsl_sdwa_cvt_hardware` `1.84s`, `startup_gfx2hlsl_cmp16_hardware` `1.96s`, `startup_gfx2hlsl_sdwa_cvt_warp` `1.98s`, `startup_gfx2hlsl_vopc_sdwa_hardware` `1.31s`, `startup_gfx2hlsl_mad_dispatch_warp` `1.58s`, `startup_gfx2hlsl_f32_lg` `1.74s`, `startup_gfx2hlsl_vopc_sdwa_warp` `1.30s`, `startup_gfx2hlsl_compute_warp` `2.14s`, `startup_gfx2hlsl_scalar_m0_hardware` `1.21s`, `startup_gfx2hlsl_scalar_m0_warp` `1.15s`, `startup_gfx2hlsl_mad_preserve_hardware` `0.98s`, `startup_gfx2hlsl_sopk_accum` `1.04s`, `startup_gfx2hlsl_capture` `1.23s`, `startup_gfx2hlsl_sgpr_spill_warp` `0.96s`, `startup_gfx2hlsl_mad_preserve_warp` `1.02s`, `startup_gfx2hlsl_sgpr_spill_hardware` `0.98s`, `startup_gfx2hlsl_mul_hi_warp` `1.02s`, `startup_gfx2hlsl_dpp_quad_broadcast_warp` `0.98s`, `startup_gfx2hlsl_dpp_quad_broadcast_hardware` `0.99s`, `startup_gfx2hlsl_mul_hi_hardware` `1.16s`, `startup_gfx2hlsl_interp_f16_hardware` `1.01s`, `startup_gfx2hlsl_cvt_pk_u8_warp` `0.94s`, `startup_gfx2hlsl_interp_f16_warp` `1.04s`, `startup_gfx2hlsl_bit_alu_controls` `0.93s`, `startup_gfx2hlsl_cvt_pk_u8_hardware` `1.00s`, `startup_gfx2hlsl_compute_mbcnt_warp` `0.85s`, `startup_gfx2hlsl_root` `0.83s`, `startup_gfx2hlsl_buffer_store` `0.68s`, `startup_gfx2hlsl_compute_mbcnt_hardware` `0.84s`, `startup_gfx2hlsl_draw_skip` `0.58s`, `startup_gfx2hlsl_refusals` `0.60s`, `startup_gfx2hlsl_compute_controls` `0.46s`, `startup_gfx2hlsl_join_symbols_warp` `0.40s`, `startup_gfx2hlsl_sdwa` `0.22s`, `startup_gfx2hlsl_compute_g-overlap_warp` `0.30s`, `startup_gfx2hlsl_join_symbols_hardware` `0.40s`, `startup_gfx2hlsl_compute_b-offset_warp` `0.29s`, `startup_gfx2hlsl_compute_c-unpredicated_warp` `0.28s`, `startup_gfx2hlsl_compute_swapped-axes_warp` `0.31s`, `startup_gfx2hlsl_compute_dropped-store_warp` `0.31s`, `startup_gfx2hlsl_compute_g-swapped-offsets_warp` `0.29s`, `startup_gfx2hlsl_compute_j-scalar-dropped_hardware` `0.30s`, `startup_gfx2hlsl_compute_k-block-entered_hardware` `0.30s`, `startup_gfx2hlsl_compute_j-scalar-dropped_warp` `0.31s`, `startup_gfx2hlsl_compute_h-inner-unpredicated_warp` `0.31s`, `startup_gfx2hlsl_compute_f-broadcast_hardware` `0.30s`, `startup_gfx2hlsl_compute_g-overlap_hardware` `0.32s`, `startup_gfx2hlsl_compute_h-inner-unpredicated_hardware` `0.31s`, `startup_gfx2hlsl_compute_f-peer_hardware` `0.31s`, `startup_gfx2hlsl_compute_g-swapped-offsets_hardware` `0.29s`, `startup_gfx2hlsl_join_symbols_controls` `0.27s`, `startup_gfx2hlsl_cmp16_controls` `0.32s`, `startup_gfx2hlsl_compute_c-unpredicated_hardware` `0.30s`, `startup_gfx2hlsl_compute_b-offset_hardware` `0.28s`, `startup_gfx2hlsl_compute_swapped-axes_hardware` `0.28s`, `startup_gfx2hlsl_swap` `0.30s`, `startup_gfx2hlsl_compute_f-peer_warp` `0.31s`, `startup_gfx2hlsl_compute_dropped-store_hardware` `0.32s`, `startup_gfx2hlsl_join_symbols_folded_hardware` `0.20s`, `startup_gfx2hlsl_compute_f-broadcast_warp` `0.31s`, `startup_gfx2hlsl_scalar_shift64_bfe_controls` `0.24s`, `startup_gfx2hlsl_compute_k-block-entered_warp` `0.32s`, `startup_gfx2hlsl_sdwa_cvt` `0.32s`, `startup_gfx2hlsl_dpp_quad_swap_controls` `0.16s`, `startup_gfx2hlsl_interp_f16_controls` `0.21s`, `startup_gfx2hlsl_cvt_alu_controls` `0.17s`, `startup_gfx2hlsl_join_symbols_folded_warp` `0.20s`, `startup_gfx2hlsl_sample_c_lz_mip` `0.20s`, `startup_gfx2hlsl_shift64_controls` `0.14s`, `startup_gfx2hlsl_operand_count` `0.30s`, `startup_gfx2hlsl_cndmask_neg` `0.10s`, `startup_gfx2hlsl_dpp_pair` `0.14s`, `startup_gfx2hlsl_sopk_signext` `0.15s`, `startup_gfx2hlsl_readfirstlane_uniform` `0.13s`, `startup_gfx2hlsl_vcvt_omod` `0.11s`, `startup_gfx2hlsl_export_mask_drop_control` `0.13s`, `startup_gfx2hlsl_scalar_m0_controls` `0.11s`, `startup_gfx2hlsl_dpp_quad_broadcast` `0.14s`, `startup_gfx2hlsl_sgpr_spill_controls` `0.12s`, `startup_gfx2hlsl_export_mask` `0.14s`, `startup_gfx2hlsl_smem_offset` `0.10s`, `startup_gfx2hlsl_mad_controls` `0.15s`, `startup_gfx2hlsl_cvt_pk_u8_controls` `0.12s`, `startup_gfx2hlsl_opsel` `0.10s`, `startup_gfx2hlsl_mul_hi_controls` `0.14s`, `startup_gfx2hlsl_int_med3_controls` `0.12s`, `startup_gfx2hlsl_b64_shift` `0.10s`, `startup_gfx2hlsl_tbuffer_16f` `0.11s`, `startup_gfx2hlsl_add_sub_co_controls` `0.14s`, `startup_gfx2hlsl_s_sext_cmov` `0.12s`, `startup_gfx2hlsl_scalar_brev_fold` `0.12s`, `startup_gfx2hlsl_s_bitcmp` `0.11s`, `startup_gfx2hlsl_image_get_lod_controls` `0.12s`, `startup_gfx2hlsl_op_refusals` `0.10s`, `startup_gfx2hlsl_calculated_target` `0.12s`, `startup_gfx2hlsl_mask_overwrite_controls` `0.11s`, `startup_gfx2hlsl_cselect_mask_controls` `0.12s`, `startup_gfx2hlsl_saveexec_same_reg_controls` `0.12s`, `startup_gfx2hlsl_handler_arity` `0.10s`, `startup_gfx2hlsl_image_arity` `0.09s`, `startup_gfx2hlsl_readfirstlane_recompute` `0.12s`, `startup_gfx2hlsl_loop_constants` `0.10s`, `startup_gfx2hlsl_neg_operand` `0.09s`, `startup_gfx2hlsl_compare_dst_controls` `0.09s`) - **Windows Python checks**: `tests/mesh_heap_sampler_check.py` ok (`0.6s`), `tests/startup_buffer_address_check.py` ok (`0.3s`), `tests/startup_compute_request_offline_check.py` ok (`0.3s`), `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_bit_alu_check.py` ok (`0.6s`), `tests/startup_gfx2hlsl_capture_check.py` ok (`0.7s`), `tests/startup_gfx2hlsl_cmp16_check.py` ok (`0.2s`), `tests/startup_gfx2hlsl_compare_dst_check.py` ok (`0.1s`), `tests/startup_gfx2hlsl_compute_check.py` ok (`0.3s`), `tests/startup_gfx2hlsl_cselect_mask_check.py` ok (`0.1s`), `tests/startup_gfx2hlsl_cvt_alu_check.py` ok (`0.1s`), `tests/startup_gfx2hlsl_f32_lg_check.py` ok (`1.0s`), `tests/startup_gfx2hlsl_f32_nan_check.py` ok (`4.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.1s`), `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.3s`), `tests/startup_gfx2hlsl_root_check.py` ok (`0.5s`), `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.2s`), `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 (`3.3s`), `tests/startup_gfx2hlsl_sopk_accum_check.py` ok (`0.6s`), `tests/startup_gfx2hlsl_sopk_signext_check.py` ok (`0.1s`), `tests/startup_gfx2hlsl_swap_check.py` ok (`0.2s`), `tests/startup_gfx2hlsl_vopc_sdwa_check.py` ok (`3.6s`), `tests/startup_gfx2hlsl_watch_check.py` ok (`2.2s`), `tests/startup_image_2d_array_check.py` ok (`0.1s`), `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.7s`), `tests/startup_image_sample_a16_check.py` ok (`0.1s`), `tests/startup_image_sample_b_check.py` ok (`0.1s`), `tests/startup_image_sample_c_check.py` ok (`0.2s`), `tests/startup_image_sample_l_check.py` ok (`0.1s`), `tests/startup_image_sample_lod_check.py` ok (`0.1s`), `tests/startup_inline_sampler_check.py` ok (`0.1s`), `tests/startup_run_ps1_check.py` ok (`7.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.3s`) - `sccache`: 0/2 hits; wall `107.4s` AI-assisted; commands listed were executed locally.
ChazY11 commented 2026-11-25 18:01:22 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by ChazY11 on 2026-11-25T17:59:32Z.


Thank you — 131/131 in both dev and release at 4554b79c is exactly the receipt I could not produce here, and that
head is still the branch tip, so nothing has moved since you verified it.

Two notes so the log is unambiguous:

  • startup_run_sh_check.py FAIL in your Windows list is the POSIX launcher check that exits 77 (capability skip), as you
    flagged in the earlier receipt. It is not a failure of this branch; the check is in the Linux CI list and skips on
    Windows by design.
  • The startup_image.*_warp and startup_gfx2hlsl.*_warp subsets I ran locally (10/10 and 34/34) are a strict subset of
    your 131/131, so nothing I measured contradicts the WARP results.

Nothing outstanding from my side on this PR. If the split offer matters for merge order, #2408 (7 image forms) and #2469
(44 SCA entries, reducible to the 18 that crashed) are independent of it.

AI-assisted.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:comment:7170285556 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/2396#issuecomment-7170285556). Originally posted by [ChazY11](https://github.com/ChazY11) on 2026-11-25T17:59:32Z. --- Thank you — 131/131 in both `dev` and `release` at `4554b79c` is exactly the receipt I could not produce here, and that head is still the branch tip, so nothing has moved since you verified it. Two notes so the log is unambiguous: - `startup_run_sh_check.py` FAIL in your Windows list is the POSIX launcher check that exits 77 (capability skip), as you flagged in the earlier receipt. It is not a failure of this branch; the check is in the Linux CI list and skips on Windows by design. - The `startup_image.*_warp` and `startup_gfx2hlsl.*_warp` subsets I ran locally (10/10 and 34/34) are a strict subset of your 131/131, so nothing I measured contradicts the WARP results. Nothing outstanding from my side on this PR. If the split offer matters for merge order, #2408 (7 image forms) and #2469 (44 `SCA` entries, reducible to the 18 that crashed) are independent of it. AI-assisted.
upstream-sync closed this pull request 2026-11-25 19:03:35 +00:00
ChazY11 commented 2026-11-25 19:04:12 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by ChazY11 on 2026-11-25T18:15:25Z.


A process question rather than a code one, since the code side is settled: both of your reviews here and on #2408 are
COMMENTED with no blocking findings, and the heads have moved since (this one is now 37f9c0a5, #2408 is 983380f8,
both rebased onto a6c8d80d with CI green). If the merge flow needs an approving review rather than a comment, say so
and I will re-request one at the current heads — I would rather ask than assume the silence means "not wanted".

For a re-review at the new heads, nothing in the diffs changed by the rebase: the same guards, the same fixture text, the
same three-way registration. The measured numbers are unchanged too (this branch: the guard-removed fixture exits 1 and the
restored one exits 0; the whole startup_gfx2hlsl_* family is green).

If instead there is a reason these are being held — size, ordering behind #2469, or something in the description that reads
wrong — name it and I will change it. I am not asking for a merge date.

AI-assisted.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:comment:7170658715 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/2396#issuecomment-7170658715). Originally posted by [ChazY11](https://github.com/ChazY11) on 2026-11-25T18:15:25Z. --- A process question rather than a code one, since the code side is settled: both of your reviews here and on #2408 are `COMMENTED` with no blocking findings, and the heads have moved since (this one is now `37f9c0a5`, #2408 is `983380f8`, both rebased onto `a6c8d80d` with CI green). If the merge flow needs an approving review rather than a comment, say so and I will re-request one at the current heads — I would rather ask than assume the silence means "not wanted". For a re-review at the new heads, nothing in the diffs changed by the rebase: the same guards, the same fixture text, the same three-way registration. The measured numbers are unchanged too (this branch: the guard-removed fixture exits 1 and the restored one exits 0; the whole `startup_gfx2hlsl_*` family is green). If instead there is a reason these are being held — size, ordering behind #2469, or something in the description that reads wrong — name it and I will change it. I am not asking for a merge date. AI-assisted.
ChazY11 commented 2026-11-25 19:04:16 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by ChazY11 on 2026-11-25T18:52:08Z.


Self-audit of my own branch, with the same method I have been applying to other PRs: I mutated the five guards this PR adds and checked whether my own fixture notices.

Two of them were not caught:

s_bfm_b32      ... expected 3  ->  expected 4     NOT caught
v_cvt_i32_f32  ... expected 2  ->  expected 3     NOT caught

The reason is that the fixture only asserted that a refusal happens, not what it says. For the table-driven handlers the count in the message is derived from the arity, so it cannot drift — but these five are hand-written bodies with the number as a literal, and the refusal census prints that text to the reader as the requirement. A literal that no longer matches the condition that raises it would be published as fact.

Fixed in 04eb7808: the fixture now also asserts the trailing count for each body handler that refuses, on both sides where a refusal occurs.

python -B tests/startup_gfx2hlsl_operand_count_check.py
operand count checks: 0 failed

Re-running the four mutations afterwards:

mutation before after
s_bfm_b32 ... expected 3 → expected 4 NOT caught caught
v_cvt_i32_f32 ... expected 2 → expected 3 NOT caught caught
v_cndmask_b32 ... expected 3 or 4 → expected 3 — caught
v_mov_b32 ... expected 2 → expected 1 — caught

One detail worth recording: v_cndmask_b32 accepts a fourth operand, so the "too many" side does not refuse and has no message to check. The assertion therefore only runs where a refusal actually happens, and a separate check pins that the short side always does — otherwise the loop could pass vacuously for a handler whose guard stopped firing on the short side too.

Still one commit; the production guard is unchanged, so the behaviour under review is the same. AI-assisted.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:comment:7171512686 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/2396#issuecomment-7171512686). Originally posted by [ChazY11](https://github.com/ChazY11) on 2026-11-25T18:52:08Z. --- Self-audit of my own branch, with the same method I have been applying to other PRs: I mutated the five guards this PR adds and checked whether my own fixture notices. Two of them were **not** caught: ```text s_bfm_b32 ... expected 3 -> expected 4 NOT caught v_cvt_i32_f32 ... expected 2 -> expected 3 NOT caught ``` The reason is that the fixture only asserted *that* a refusal happens, not what it says. For the table-driven handlers the count in the message is derived from the arity, so it cannot drift — but these five are hand-written bodies with the number as a literal, and the refusal census prints that text to the reader as the requirement. A literal that no longer matches the condition that raises it would be published as fact. Fixed in `04eb7808`: the fixture now also asserts the trailing count for each body handler that refuses, on both sides where a refusal occurs. ```text python -B tests/startup_gfx2hlsl_operand_count_check.py operand count checks: 0 failed ``` Re-running the four mutations afterwards: | mutation | before | after | |---|---|---| | `s_bfm_b32 ... expected 3` → `expected 4` | NOT caught | **caught** | | `v_cvt_i32_f32 ... expected 2` → `expected 3` | NOT caught | **caught** | | `v_cndmask_b32 ... expected 3 or 4` → `expected 3` | — | **caught** | | `v_mov_b32 ... expected 2` → `expected 1` | — | **caught** | One detail worth recording: `v_cndmask_b32` accepts a fourth operand, so the "too many" side does not refuse and has no message to check. The assertion therefore only runs where a refusal actually happens, and a separate check pins that the short side always does — otherwise the loop could pass vacuously for a handler whose guard stopped firing on the short side too. Still one commit; the production guard is unchanged, so the behaviour under review is the same. AI-assisted.
ChazY11 commented 2026-11-25 19:04:16 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by ChazY11 on 2026-11-25T18:53:01Z.


Correction to my previous comment: 04eb7808 landed on the branch after #2396 had already merged
(53dce4d4 → main dc18d446), so the strengthened assertions are not in main. I opened them
separately as #2506, a test-only follow-up on top of the merged commit.

Everything else in the comment above still describes what I measured on 53dce4d4; the four mutation
results are re-verified against the merged tree in #2506.

AI-assisted.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:comment:7171532630 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/2396#issuecomment-7171532630). Originally posted by [ChazY11](https://github.com/ChazY11) on 2026-11-25T18:53:01Z. --- Correction to my previous comment: `04eb7808` landed on the branch **after** #2396 had already merged (`53dce4d4` → main `dc18d446`), so the strengthened assertions are not in `main`. I opened them separately as #2506, a test-only follow-up on top of the merged commit. Everything else in the comment above still describes what I measured on `53dce4d4`; the four mutation results are re-verified against the merged tree in #2506. AI-assisted.
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!2388
No description provided.