startup: refuse a short operand list in four single-body handlers #2388
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/2396"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from R0Y00/Xbox2Windows. Originally posted by ChazY11 on 2026-11-25T15:10:50Z.
What
Five single-body handlers read
opswithout checking the count, so a short list came back astranslator 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.v_mov_b32v_mov_b32 with N operands, expected 2v_cvt_i32_f32v_cvt_i32_f32 with N operands, expected 2v_cndmask_b32v_cndmask_b32 with N operands, expected 3 or 4s_bfm_b32s_bfm_b32 with N operands, expected 3v_cvt_pkrtz_f16_f32v_cvt_pkrtz_f16_f32 with N operands, expected 3The count is checked before
ops[0]is read, which is what makes the difference:s_bfm_b32may takem0as its destination andv_cndmask_b32may take a fourth mask operand, and both readops[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
Stageentry pointand 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.pyis 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:The controls disable each new condition in a copy of the module and require
IndexErrorto come back — the same shape the file already uses for the VEC_F guard, so these five cannot pass by being no-ops.Verification
exit 0, and all 59
tests/startup_gfx2hlsl_*_check.pyexit 0 on this branch. Of the registered ctest suite, 114 of 116 pass locally; the two that fail arestartup_gfx2hlsl_sdwa_cvt_hardwareandstartup_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
mainand re-pushed.Not in this PR
v_swap_b32already 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.
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
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
--timeoutat 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.
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_f32doing it too:It went into the same
BODY_HANDLERStable and is covered by the same control shape (disabling the conditionin a copy of the module must bring
IndexErrorback), so the branch now asserts five handlers and five controls:All 59
tests/startup_gfx2hlsl_*_check.pyexit 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_f32is 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.
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 tov_mov_b32(2),v_cvt_i32_f32(2),v_cndmask_b32(3 or 4),s_bfm_b32(3), and alsov_cvt_pkrtz_f16_f32(3; the diff has five guards, the description lists four). Each guard runs before the firstops[...]read and raisesUnsupported, so a short list is a refusal and no longertranslator crash ... IndexError. The accepted shapes still reach the same code.tests/startup_gfx2hlsl_operand_count_check.pyruns throughStage, 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.Commands run locally:
git diff --stat origin/main...HEADpython3 -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_f32to the PR description. Next: update with main, CI, Win2025 WARP dev+release receipt.AI-assisted; commands listed were executed locally.
Imported from R0Y00/Xbox2Windows. Originally posted by tedin7 on 2026-11-25T16:39:06Z.
Win2025 WARP receipt for head
f257d639after 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:--preset dev):cmake --build --preset dev --target d3d12_xs_device_obj d3d12_xs_shim -- -j 2):3.08s(configure1.68s)/O2(--preset release):cmake --build --preset release --target d3d12_xs_device_obj d3d12_xs_shim -- -j 2):0.78s(configure1.68s)tests/mesh_heap_sampler_check.pyok (0.6s),tests/startup_buffer_address_check.pyok (0.3s),tests/startup_compute_request_offline_check.pyok (0.3s),tests/startup_compute_translate_check.pyok (0.2s),tests/startup_flat_param_check.pyok (0.1s),tests/startup_gfx2hlsl_add_sub_co_check.pyok (0.1s),tests/startup_gfx2hlsl_bit_alu_check.pyok (0.5s),tests/startup_gfx2hlsl_capture_check.pyok (0.7s),tests/startup_gfx2hlsl_cmp16_check.pyok (0.2s),tests/startup_gfx2hlsl_compare_dst_check.pyok (0.1s),tests/startup_gfx2hlsl_compute_check.pyok (0.3s),tests/startup_gfx2hlsl_cselect_mask_check.pyok (0.1s),tests/startup_gfx2hlsl_cvt_alu_check.pyok (0.1s),tests/startup_gfx2hlsl_f32_lg_check.pyok (1.0s),tests/startup_gfx2hlsl_f32_nan_check.pyok (3.9s),tests/startup_gfx2hlsl_handler_arity_check.pyok (0.1s),tests/startup_gfx2hlsl_image_arity_check.pyok (0.1s),tests/startup_gfx2hlsl_image_get_lod_check.pyok (0.1s),tests/startup_gfx2hlsl_int_med3_check.pyok (0.1s),tests/startup_gfx2hlsl_join_symbols_check.pyok (0.1s),tests/startup_gfx2hlsl_loop_constants_check.pyok (0.1s),tests/startup_gfx2hlsl_mask_overwrite_check.pyok (0.1s),tests/startup_gfx2hlsl_operand_count_check.pyok (0.2s),tests/startup_gfx2hlsl_readfirstlane_recompute_check.pyok (0.1s),tests/startup_gfx2hlsl_readfirstlane_uniform_check.pyok (0.1s),tests/startup_gfx2hlsl_refusals_check.pyok (0.3s),tests/startup_gfx2hlsl_root_check.pyok (0.5s),tests/startup_gfx2hlsl_saveexec_same_reg_check.pyok (0.1s),tests/startup_gfx2hlsl_scalar_brev_fold_check.pyok (0.1s),tests/startup_gfx2hlsl_scalar_m0_check.pyok (0.1s),tests/startup_gfx2hlsl_sdwa_cvt_check.pyok (0.2s),tests/startup_gfx2hlsl_sgpr_spill_check.pyok (0.1s),tests/startup_gfx2hlsl_shift64_check.pyok (0.1s),tests/startup_gfx2hlsl_smem_offset_check.pyok (0.1s),tests/startup_gfx2hlsl_sop2_complement_check.pyok (3.2s),tests/startup_gfx2hlsl_sopk_accum_check.pyok (0.6s),tests/startup_gfx2hlsl_sopk_signext_check.pyok (0.1s),tests/startup_gfx2hlsl_swap_check.pyok (0.2s),tests/startup_gfx2hlsl_vopc_sdwa_check.pyok (3.5s),tests/startup_gfx2hlsl_watch_check.pyok (2.2s),tests/startup_image_2d_array_check.pyok (0.1s),tests/startup_image_3d_check.pyok (0.1s),tests/startup_image_gather_lz_check.pyok (0.5s),tests/startup_image_load_d16_check.pyok (0.7s),tests/startup_image_sample_a16_check.pyok (0.1s),tests/startup_image_sample_b_check.pyok (0.1s),tests/startup_image_sample_c_check.pyok (0.2s),tests/startup_image_sample_l_check.pyok (0.1s),tests/startup_image_sample_lod_check.pyok (0.1s),tests/startup_inline_sampler_check.pyok (0.1s),tests/startup_run_ps1_check.pyok (7.8s),tests/startup_sampler_heap_check.pyok (0.1s),tests/startup_smem_address_check.pyok (0.1s),tests/startup_stream_fetch_check.pyok (0.2s),tests/startup_stream_interface_check.pyok (0.2s),tests/startup_translator_check.pyok (0.3s)46.0sAI-assisted; commands listed were executed locally.
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 arev_mov_b32,v_cvt_i32_f32,v_cndmask_b32,s_bfm_b32andv_cvt_pkrtz_f16_f32, each with its own control.Updated with main: rebased onto
e06aca8band force-pushed asd07ff055;tests/startup_gfx2hlsl_operand_count_check.pystill reportsoperand count checks: 0 failedand all 59tests/startup_gfx2hlsl_*_check.pyexit 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 againstout/build/dev/offscreen_check.exeon 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_hardwareandstartup_gfx2hlsl_f32_lg_warpreported 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.
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 ontoe06aca8b), built withcmake --build --preset dev --target offscreen_check, DXC10.0.26100.0, Windows 11 build 26300.9974:The adapter is selected by the fixture's own
warpargument, 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 sameStagestill pass with the five guards in place — which is the part aStage-level refusal check cannot show.For completeness, the same two subsets on
mainate06aca8bare 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.
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:
a96874a6, current head4554b79c,operand count checks: 0 failed, all 62tests/startup_gfx2hlsl_*_check.pyexit 0;startup_gfx2hlsl.*_warp34/34 andstartup_image.*_warp10/10 on this head,offscreen_checkrebuilt from it.CI: 3 pass, 0 fail, 0 pending (the two
skippingentries 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.
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:--preset dev):cmake --build --preset dev --target d3d12_xs_device_obj d3d12_xs_shim -- -j 2):0.57s(configure0.00s)ctest --preset dev -R '^startup_gfx2hlsl_' --parallel 6 --no-tests=error --output-on-failure): 131/131 passed (45.04s:startup_gfx2hlsl_cvt_alu_warp9.26s,startup_gfx2hlsl_f32_nan10.71s,startup_gfx2hlsl_f32_lg_warp5.77s,startup_gfx2hlsl_f32_nan_hardware17.24s,startup_gfx2hlsl_f32_nan_warp17.34s,startup_gfx2hlsl_bit_alu_warp8.26s,startup_gfx2hlsl_f32_sdwa_hardware23.28s,startup_gfx2hlsl_f32_sdwa_warp23.32s,startup_gfx2hlsl_cvt_alu_hardware6.87s,startup_gfx2hlsl_sop2_complement7.86s,startup_gfx2hlsl_cmp_class_f168.16s,startup_gfx2hlsl_bit_alu_hardware8.54s,startup_gfx2hlsl_sdwa_cvt_warp2.37s,startup_gfx2hlsl_shift64_warp3.98s,startup_gfx2hlsl_f32_lg_hardware5.46s,startup_gfx2hlsl_s_lshl_add6.26s,startup_gfx2hlsl_vopc_sdwa8.15s,startup_gfx2hlsl_cmp_class8.35s,startup_gfx2hlsl_f32_sdwa3.75s,startup_gfx2hlsl_dpp_pair_warp2.45s,startup_gfx2hlsl_watch2.85s,startup_gfx2hlsl_dpp_pair_hardware2.32s,startup_gfx2hlsl_shift64_hardware4.14s,startup_gfx2hlsl_dpp_quad_swap_warp2.36s,startup_gfx2hlsl_dpp_quad_swap_hardware2.35s,startup_gfx2hlsl_compute_hardware2.58s,startup_gfx2hlsl_mad_dispatch_warp2.00s,startup_gfx2hlsl_cmp16_warp2.45s,startup_gfx2hlsl_mad_dispatch_hardware2.01s,startup_gfx2hlsl_cmp16_hardware2.45s,startup_gfx2hlsl_sdwa_cvt_hardware2.48s,startup_gfx2hlsl_compute_warp2.68s,startup_gfx2hlsl_scalar_m0_warp1.44s,startup_gfx2hlsl_f32_lg2.44s,startup_gfx2hlsl_mad_preserve_hardware1.20s,startup_gfx2hlsl_vopc_sdwa_warp1.52s,startup_gfx2hlsl_vopc_sdwa_hardware1.61s,startup_gfx2hlsl_mad_preserve_warp1.25s,startup_gfx2hlsl_sgpr_spill_warp1.22s,startup_gfx2hlsl_compute_mbcnt_warp0.85s,startup_gfx2hlsl_dpp_quad_broadcast_warp1.19s,startup_gfx2hlsl_capture1.42s,startup_gfx2hlsl_scalar_m0_hardware1.48s,startup_gfx2hlsl_interp_f16_warp1.13s,startup_gfx2hlsl_dpp_quad_broadcast_hardware1.11s,startup_gfx2hlsl_mul_hi_warp1.22s,startup_gfx2hlsl_sgpr_spill_hardware1.22s,startup_gfx2hlsl_compute_dropped-store_hardware0.36s,startup_gfx2hlsl_cvt_pk_u8_warp0.95s,startup_gfx2hlsl_sopk_accum1.28s,startup_gfx2hlsl_compute_swapped-axes_hardware0.37s,startup_gfx2hlsl_compute_b-offset_hardware0.37s,startup_gfx2hlsl_compute_b-offset_warp0.47s,startup_gfx2hlsl_compute_dropped-store_warp0.58s,startup_gfx2hlsl_compute_c-unpredicated_warp0.56s,startup_gfx2hlsl_compute_c-unpredicated_hardware0.54s,startup_gfx2hlsl_root0.98s,startup_gfx2hlsl_compute_swapped-axes_warp0.42s,startup_gfx2hlsl_compute_controls0.58s,startup_gfx2hlsl_interp_f16_hardware1.39s,startup_gfx2hlsl_join_symbols_warp0.47s,startup_gfx2hlsl_cvt_pk_u8_hardware0.97s,startup_gfx2hlsl_bit_alu_controls1.20s,startup_gfx2hlsl_compute_mbcnt_hardware0.87s,startup_gfx2hlsl_refusals0.71s,startup_gfx2hlsl_sdwa0.24s,startup_gfx2hlsl_buffer_store0.73s,startup_gfx2hlsl_join_symbols_controls0.29s,startup_gfx2hlsl_sample_c_lz_mip0.26s,startup_gfx2hlsl_compute_g-overlap_warp0.34s,startup_gfx2hlsl_swap0.37s,startup_gfx2hlsl_mul_hi_hardware1.18s,startup_gfx2hlsl_draw_skip0.65s,startup_gfx2hlsl_compute_g-swapped-offsets_warp0.36s,startup_gfx2hlsl_cvt_alu_controls0.23s,startup_gfx2hlsl_join_symbols_hardware0.47s,startup_gfx2hlsl_compute_j-scalar-dropped_warp0.36s,startup_gfx2hlsl_sdwa_cvt0.45s,startup_gfx2hlsl_compute_g-overlap_hardware0.35s,startup_gfx2hlsl_compute_h-inner-unpredicated_warp0.35s,startup_gfx2hlsl_compute_j-scalar-dropped_hardware0.36s,startup_gfx2hlsl_compute_k-block-entered_warp0.37s,startup_gfx2hlsl_compute_f-peer_hardware0.36s,startup_gfx2hlsl_compute_h-inner-unpredicated_hardware0.36s,startup_gfx2hlsl_compute_k-block-entered_hardware0.36s,startup_gfx2hlsl_interp_f16_controls0.28s,startup_gfx2hlsl_compute_f-broadcast_hardware0.36s,startup_gfx2hlsl_compute_f-broadcast_warp0.36s,startup_gfx2hlsl_compute_g-swapped-offsets_hardware0.37s,startup_gfx2hlsl_dpp_quad_swap_controls0.18s,startup_gfx2hlsl_join_symbols_folded_warp0.26s,startup_gfx2hlsl_compute_f-peer_warp0.36s,startup_gfx2hlsl_sopk_signext0.19s,startup_gfx2hlsl_cmp16_controls0.37s,startup_gfx2hlsl_operand_count0.39s,startup_gfx2hlsl_join_symbols_folded_hardware0.26s,startup_gfx2hlsl_shift64_controls0.20s,startup_gfx2hlsl_export_mask0.19s,startup_gfx2hlsl_dpp_pair0.18s,startup_gfx2hlsl_scalar_shift64_bfe_controls0.29s,startup_gfx2hlsl_readfirstlane_uniform0.16s,startup_gfx2hlsl_export_mask_drop_control0.19s,startup_gfx2hlsl_sgpr_spill_controls0.17s,startup_gfx2hlsl_scalar_m0_controls0.16s,startup_gfx2hlsl_add_sub_co_controls0.19s,startup_gfx2hlsl_s_sext_cmov0.16s,startup_gfx2hlsl_vcvt_omod0.12s,startup_gfx2hlsl_cvt_pk_u8_controls0.16s,startup_gfx2hlsl_calculated_target0.16s,startup_gfx2hlsl_dpp_quad_broadcast0.19s,startup_gfx2hlsl_opsel0.14s,startup_gfx2hlsl_cndmask_neg0.14s,startup_gfx2hlsl_tbuffer_16f0.13s,startup_gfx2hlsl_smem_offset0.13s,startup_gfx2hlsl_mul_hi_controls0.18s,startup_gfx2hlsl_mask_overwrite_controls0.15s,startup_gfx2hlsl_int_med3_controls0.17s,startup_gfx2hlsl_cselect_mask_controls0.16s,startup_gfx2hlsl_b64_shift0.13s,startup_gfx2hlsl_s_bitcmp0.16s,startup_gfx2hlsl_readfirstlane_recompute0.16s,startup_gfx2hlsl_op_refusals0.14s,startup_gfx2hlsl_neg_operand0.13s,startup_gfx2hlsl_handler_arity0.15s,startup_gfx2hlsl_loop_constants0.14s,startup_gfx2hlsl_compare_dst_controls0.13s,startup_gfx2hlsl_saveexec_same_reg_controls0.13s,startup_gfx2hlsl_scalar_brev_fold0.16s,startup_gfx2hlsl_mad_controls0.17s,startup_gfx2hlsl_image_get_lod_controls0.15s,startup_gfx2hlsl_image_arity0.12s)/O2(--preset release):cmake --build --preset release --target d3d12_xs_device_obj d3d12_xs_shim -- -j 2):45.04s(configure0.00s)ctest --preset release -R '^startup_gfx2hlsl_' --parallel 6 --no-tests=error --output-on-failure): 131/131 passed (46.49s:startup_gfx2hlsl_vopc_sdwa10.23s,startup_gfx2hlsl_f32_nan10.88s,startup_gfx2hlsl_f32_nan_warp16.95s,startup_gfx2hlsl_f32_nan_hardware17.31s,startup_gfx2hlsl_cvt_alu_warp7.19s,startup_gfx2hlsl_cvt_alu_hardware7.25s,startup_gfx2hlsl_f32_sdwa_hardware22.60s,startup_gfx2hlsl_f32_sdwa_warp22.75s,startup_gfx2hlsl_bit_alu_hardware8.19s,startup_gfx2hlsl_bit_alu_warp7.95s,startup_gfx2hlsl_cmp_class_f168.09s,startup_gfx2hlsl_sop2_complement7.95s,startup_gfx2hlsl_compute_hardware2.78s,startup_gfx2hlsl_shift64_hardware4.33s,startup_gfx2hlsl_s_lshl_add7.13s,startup_gfx2hlsl_f32_lg_warp5.69s,startup_gfx2hlsl_f32_lg_hardware5.60s,startup_gfx2hlsl_cmp_class9.29s,startup_gfx2hlsl_mad_dispatch_hardware2.14s,startup_gfx2hlsl_shift64_warp4.46s,startup_gfx2hlsl_dpp_quad_swap_hardware2.65s,startup_gfx2hlsl_dpp_quad_swap_warp2.58s,startup_gfx2hlsl_f32_sdwa4.49s,startup_gfx2hlsl_cmp16_warp2.59s,startup_gfx2hlsl_watch3.06s,startup_gfx2hlsl_dpp_pair_hardware2.45s,startup_gfx2hlsl_dpp_pair_warp2.39s,startup_gfx2hlsl_sdwa_cvt_hardware2.43s,startup_gfx2hlsl_cmp16_hardware2.62s,startup_gfx2hlsl_sdwa_cvt_warp2.68s,startup_gfx2hlsl_f32_lg2.82s,startup_gfx2hlsl_vopc_sdwa_hardware1.78s,startup_gfx2hlsl_mad_dispatch_warp2.08s,startup_gfx2hlsl_mad_preserve_hardware1.39s,startup_gfx2hlsl_compute_warp2.89s,startup_gfx2hlsl_scalar_m0_hardware1.56s,startup_gfx2hlsl_scalar_m0_warp1.55s,startup_gfx2hlsl_sgpr_spill_warp1.23s,startup_gfx2hlsl_vopc_sdwa_warp1.72s,startup_gfx2hlsl_capture1.67s,startup_gfx2hlsl_mad_preserve_warp1.34s,startup_gfx2hlsl_sopk_accum1.49s,startup_gfx2hlsl_sgpr_spill_hardware1.33s,startup_gfx2hlsl_dpp_quad_broadcast_hardware1.21s,startup_gfx2hlsl_interp_f16_hardware1.26s,startup_gfx2hlsl_mul_hi_warp1.36s,startup_gfx2hlsl_interp_f16_warp1.26s,startup_gfx2hlsl_compute_mbcnt_warp0.84s,startup_gfx2hlsl_dpp_quad_broadcast_warp1.68s,startup_gfx2hlsl_root1.09s,startup_gfx2hlsl_cvt_pk_u8_warp1.51s,startup_gfx2hlsl_cvt_pk_u8_hardware1.46s,startup_gfx2hlsl_compute_mbcnt_hardware0.98s,startup_gfx2hlsl_draw_skip0.75s,startup_gfx2hlsl_bit_alu_controls1.61s,startup_gfx2hlsl_buffer_store0.84s,startup_gfx2hlsl_refusals0.80s,startup_gfx2hlsl_join_symbols_warp0.50s,startup_gfx2hlsl_sdwa0.26s,startup_gfx2hlsl_mul_hi_hardware1.27s,startup_gfx2hlsl_compute_g-overlap_warp0.38s,startup_gfx2hlsl_join_symbols_hardware0.49s,startup_gfx2hlsl_compute_b-offset_warp0.38s,startup_gfx2hlsl_compute_controls0.66s,startup_gfx2hlsl_compute_c-unpredicated_warp0.36s,startup_gfx2hlsl_compute_g-swapped-offsets_warp0.39s,startup_gfx2hlsl_compute_swapped-axes_warp0.38s,startup_gfx2hlsl_compute_dropped-store_warp0.37s,startup_gfx2hlsl_compute_k-block-entered_hardware0.39s,startup_gfx2hlsl_compute_j-scalar-dropped_warp0.39s,startup_gfx2hlsl_join_symbols_controls0.33s,startup_gfx2hlsl_compute_j-scalar-dropped_hardware0.40s,startup_gfx2hlsl_compute_h-inner-unpredicated_warp0.39s,startup_gfx2hlsl_compute_f-broadcast_hardware0.39s,startup_gfx2hlsl_compute_g-overlap_hardware0.40s,startup_gfx2hlsl_compute_f-peer_hardware0.39s,startup_gfx2hlsl_compute_g-swapped-offsets_hardware0.36s,startup_gfx2hlsl_compute_h-inner-unpredicated_hardware0.38s,startup_gfx2hlsl_compute_swapped-axes_hardware0.35s,startup_gfx2hlsl_compute_c-unpredicated_hardware0.37s,startup_gfx2hlsl_cmp16_controls0.41s,startup_gfx2hlsl_compute_f-peer_warp0.36s,startup_gfx2hlsl_compute_b-offset_hardware0.36s,startup_gfx2hlsl_swap0.32s,startup_gfx2hlsl_scalar_shift64_bfe_controls0.30s,startup_gfx2hlsl_compute_k-block-entered_warp0.36s,startup_gfx2hlsl_compute_dropped-store_hardware0.36s,startup_gfx2hlsl_join_symbols_folded_hardware0.28s,startup_gfx2hlsl_dpp_quad_swap_controls0.20s,startup_gfx2hlsl_compute_f-broadcast_warp0.38s,startup_gfx2hlsl_sdwa_cvt0.43s,startup_gfx2hlsl_interp_f16_controls0.29s,startup_gfx2hlsl_cvt_alu_controls0.22s,startup_gfx2hlsl_join_symbols_folded_warp0.27s,startup_gfx2hlsl_sample_c_lz_mip0.26s,startup_gfx2hlsl_shift64_controls0.22s,startup_gfx2hlsl_dpp_pair0.20s,startup_gfx2hlsl_operand_count0.39s,startup_gfx2hlsl_cndmask_neg0.14s,startup_gfx2hlsl_sopk_signext0.22s,startup_gfx2hlsl_scalar_m0_controls0.16s,startup_gfx2hlsl_vcvt_omod0.13s,startup_gfx2hlsl_mul_hi_controls0.17s,startup_gfx2hlsl_readfirstlane_uniform0.19s,startup_gfx2hlsl_opsel0.15s,startup_gfx2hlsl_dpp_quad_broadcast0.21s,startup_gfx2hlsl_sgpr_spill_controls0.19s,startup_gfx2hlsl_smem_offset0.14s,startup_gfx2hlsl_b64_shift0.14s,startup_gfx2hlsl_cvt_pk_u8_controls0.18s,startup_gfx2hlsl_tbuffer_16f0.16s,startup_gfx2hlsl_mad_controls0.21s,startup_gfx2hlsl_export_mask_drop_control0.22s,startup_gfx2hlsl_export_mask0.22s,startup_gfx2hlsl_int_med3_controls0.21s,startup_gfx2hlsl_s_sext_cmov0.15s,startup_gfx2hlsl_op_refusals0.15s,startup_gfx2hlsl_add_sub_co_controls0.20s,startup_gfx2hlsl_image_get_lod_controls0.17s,startup_gfx2hlsl_scalar_brev_fold0.19s,startup_gfx2hlsl_calculated_target0.18s,startup_gfx2hlsl_s_bitcmp0.18s,startup_gfx2hlsl_mask_overwrite_controls0.17s,startup_gfx2hlsl_cselect_mask_controls0.16s,startup_gfx2hlsl_handler_arity0.15s,startup_gfx2hlsl_saveexec_same_reg_controls0.17s,startup_gfx2hlsl_image_arity0.14s,startup_gfx2hlsl_readfirstlane_recompute0.16s,startup_gfx2hlsl_loop_constants0.15s,startup_gfx2hlsl_neg_operand0.13s,startup_gfx2hlsl_compare_dst_controls0.14s)tests/mesh_heap_sampler_check.pyok (0.6s),tests/startup_buffer_address_check.pyok (0.4s),tests/startup_compute_request_offline_check.pyok (0.4s),tests/startup_compute_translate_check.pyok (0.2s),tests/startup_flat_param_check.pyok (0.1s),tests/startup_gfx2hlsl_add_sub_co_check.pyok (0.1s),tests/startup_gfx2hlsl_bit_alu_check.pyok (0.6s),tests/startup_gfx2hlsl_capture_check.pyok (0.9s),tests/startup_gfx2hlsl_cmp16_check.pyok (0.2s),tests/startup_gfx2hlsl_compare_dst_check.pyok (0.1s),tests/startup_gfx2hlsl_compute_check.pyok (0.3s),tests/startup_gfx2hlsl_cselect_mask_check.pyok (0.1s),tests/startup_gfx2hlsl_cvt_alu_check.pyok (0.1s),tests/startup_gfx2hlsl_f32_lg_check.pyok (1.2s),tests/startup_gfx2hlsl_f32_nan_check.pyok (4.5s),tests/startup_gfx2hlsl_handler_arity_check.pyok (0.1s),tests/startup_gfx2hlsl_image_arity_check.pyok (0.1s),tests/startup_gfx2hlsl_image_get_lod_check.pyok (0.1s),tests/startup_gfx2hlsl_int_med3_check.pyok (0.1s),tests/startup_gfx2hlsl_join_symbols_check.pyok (0.2s),tests/startup_gfx2hlsl_loop_constants_check.pyok (0.1s),tests/startup_gfx2hlsl_mask_overwrite_check.pyok (0.1s),tests/startup_gfx2hlsl_operand_count_check.pyok (0.2s),tests/startup_gfx2hlsl_readfirstlane_recompute_check.pyok (0.1s),tests/startup_gfx2hlsl_readfirstlane_uniform_check.pyok (0.1s),tests/startup_gfx2hlsl_refusals_check.pyok (0.4s),tests/startup_gfx2hlsl_root_check.pyok (0.6s),tests/startup_gfx2hlsl_saveexec_same_reg_check.pyok (0.1s),tests/startup_gfx2hlsl_scalar_brev_fold_check.pyok (0.1s),tests/startup_gfx2hlsl_scalar_m0_check.pyok (0.1s),tests/startup_gfx2hlsl_sdwa_cvt_check.pyok (0.2s),tests/startup_gfx2hlsl_sgpr_spill_check.pyok (0.1s),tests/startup_gfx2hlsl_shift64_check.pyok (0.1s),tests/startup_gfx2hlsl_smem_offset_check.pyok (0.1s),tests/startup_gfx2hlsl_sop2_complement_check.pyok (3.8s),tests/startup_gfx2hlsl_sopk_accum_check.pyok (0.7s),tests/startup_gfx2hlsl_sopk_signext_check.pyok (0.1s),tests/startup_gfx2hlsl_swap_check.pyok (0.2s),tests/startup_gfx2hlsl_vopc_sdwa_check.pyok (4.0s),tests/startup_gfx2hlsl_watch_check.pyok (4.0s),tests/startup_image_2d_array_check.pyok (0.9s),tests/startup_image_3d_check.pyok (0.6s),tests/startup_image_gather_lz_check.pyok (1.3s),tests/startup_image_load_d16_check.pyok (2.3s),tests/startup_image_sample_a16_check.pyok (0.6s),tests/startup_image_sample_b_check.pyok (0.9s),tests/startup_image_sample_c_check.pyok (0.5s),tests/startup_image_sample_l_check.pyok (0.3s),tests/startup_image_sample_lod_check.pyok (0.1s),tests/startup_inline_sampler_check.pyok (0.2s),tests/startup_run_ps1_check.pyok (37.0s),tests/startup_run_sh_check.pyFAIL (0.1s),tests/startup_sampler_heap_check.pyok (0.1s),tests/startup_smem_address_check.pyok (0.1s),tests/startup_stream_fetch_check.pyok (0.2s),tests/startup_stream_interface_check.pyok (0.3s),tests/startup_translator_check.pyok (0.6s)sccache: 0/4 hits; wall166.4sImported 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:--preset dev):cmake --build --preset dev --target d3d12_xs_device_obj d3d12_xs_shim -- -j 2):0.45s(configure0.00s)ctest --preset dev -R '^startup_gfx2hlsl_' --parallel 6 --no-tests=error --output-on-failure): 131/131 passed (36.20s:startup_gfx2hlsl_cvt_alu_warp7.78s,startup_gfx2hlsl_f32_nan8.87s,startup_gfx2hlsl_f32_lg_hardware4.86s,startup_gfx2hlsl_f32_nan_warp14.49s,startup_gfx2hlsl_f32_nan_hardware14.49s,startup_gfx2hlsl_bit_alu_warp6.80s,startup_gfx2hlsl_f32_lg_warp4.79s,startup_gfx2hlsl_f32_sdwa_warp19.43s,startup_gfx2hlsl_f32_sdwa_hardware19.67s,startup_gfx2hlsl_sop2_complement6.05s,startup_gfx2hlsl_cvt_alu_hardware5.78s,startup_gfx2hlsl_bit_alu_hardware6.56s,startup_gfx2hlsl_shift64_hardware3.26s,startup_gfx2hlsl_s_lshl_add4.24s,startup_gfx2hlsl_shift64_warp3.14s,startup_gfx2hlsl_cmp_class_f165.01s,startup_gfx2hlsl_vopc_sdwa5.51s,startup_gfx2hlsl_cmp_class5.41s,startup_gfx2hlsl_sdwa_cvt_warp1.90s,startup_gfx2hlsl_dpp_pair_warp1.98s,startup_gfx2hlsl_dpp_pair_hardware2.01s,startup_gfx2hlsl_compute_hardware2.21s,startup_gfx2hlsl_sdwa_cvt_hardware2.00s,startup_gfx2hlsl_f32_sdwa3.03s,startup_gfx2hlsl_dpp_quad_swap_hardware2.10s,startup_gfx2hlsl_cmp16_hardware2.08s,startup_gfx2hlsl_mad_dispatch_hardware1.63s,startup_gfx2hlsl_cmp16_warp2.01s,startup_gfx2hlsl_dpp_quad_swap_warp2.02s,startup_gfx2hlsl_watch2.70s,startup_gfx2hlsl_mad_dispatch_warp1.54s,startup_gfx2hlsl_mul_hi_hardware1.03s,startup_gfx2hlsl_mad_preserve_hardware1.04s,startup_gfx2hlsl_vopc_sdwa_hardware1.33s,startup_gfx2hlsl_compute_warp2.13s,startup_gfx2hlsl_vopc_sdwa_warp1.35s,startup_gfx2hlsl_f32_lg1.73s,startup_gfx2hlsl_sgpr_spill_hardware1.00s,startup_gfx2hlsl_mad_preserve_warp1.04s,startup_gfx2hlsl_scalar_m0_warp1.16s,startup_gfx2hlsl_scalar_m0_hardware1.19s,startup_gfx2hlsl_dpp_quad_broadcast_hardware0.96s,startup_gfx2hlsl_interp_f16_hardware0.92s,startup_gfx2hlsl_mul_hi_warp1.03s,startup_gfx2hlsl_sgpr_spill_warp0.98s,startup_gfx2hlsl_dpp_quad_broadcast_warp0.97s,startup_gfx2hlsl_interp_f16_warp0.91s,startup_gfx2hlsl_cvt_pk_u8_warp0.81s,startup_gfx2hlsl_capture1.21s,startup_gfx2hlsl_compute_dropped-store_warp0.39s,startup_gfx2hlsl_compute_mbcnt_warp0.93s,startup_gfx2hlsl_root0.79s,startup_gfx2hlsl_compute_c-unpredicated_warp0.39s,startup_gfx2hlsl_sopk_accum1.07s,startup_gfx2hlsl_compute_b-offset_warp0.29s,startup_gfx2hlsl_cvt_pk_u8_hardware1.02s,startup_gfx2hlsl_compute_dropped-store_hardware0.30s,startup_gfx2hlsl_bit_alu_controls0.97s,startup_gfx2hlsl_compute_swapped-axes_hardware0.30s,startup_gfx2hlsl_compute_swapped-axes_warp0.28s,startup_gfx2hlsl_compute_b-offset_hardware0.29s,startup_gfx2hlsl_compute_controls0.43s,startup_gfx2hlsl_compute_c-unpredicated_hardware0.29s,startup_gfx2hlsl_join_symbols_warp0.39s,startup_gfx2hlsl_sdwa0.20s,startup_gfx2hlsl_compute_mbcnt_hardware0.70s,startup_gfx2hlsl_join_symbols_controls0.24s,startup_gfx2hlsl_refusals0.53s,startup_gfx2hlsl_draw_skip0.48s,startup_gfx2hlsl_sample_c_lz_mip0.20s,startup_gfx2hlsl_buffer_store0.56s,startup_gfx2hlsl_join_symbols_hardware0.38s,startup_gfx2hlsl_swap0.28s,startup_gfx2hlsl_compute_g-overlap_warp0.27s,startup_gfx2hlsl_compute_g-swapped-offsets_warp0.29s,startup_gfx2hlsl_compute_j-scalar-dropped_warp0.30s,startup_gfx2hlsl_sdwa_cvt0.33s,startup_gfx2hlsl_compute_k-block-entered_warp0.29s,startup_gfx2hlsl_compute_j-scalar-dropped_hardware0.29s,startup_gfx2hlsl_compute_g-overlap_hardware0.29s,startup_gfx2hlsl_compute_h-inner-unpredicated_warp0.29s,startup_gfx2hlsl_compute_f-peer_hardware0.28s,startup_gfx2hlsl_compute_f-broadcast_hardware0.29s,startup_gfx2hlsl_compute_k-block-entered_hardware0.29s,startup_gfx2hlsl_compute_h-inner-unpredicated_hardware0.28s,startup_gfx2hlsl_compute_g-swapped-offsets_hardware0.30s,startup_gfx2hlsl_compute_f-peer_warp0.30s,startup_gfx2hlsl_compute_f-broadcast_warp0.28s,startup_gfx2hlsl_cvt_alu_controls0.19s,startup_gfx2hlsl_cmp16_controls0.28s,startup_gfx2hlsl_interp_f16_controls0.21s,startup_gfx2hlsl_dpp_quad_swap_controls0.13s,startup_gfx2hlsl_join_symbols_folded_warp0.20s,startup_gfx2hlsl_scalar_shift64_bfe_controls0.24s,startup_gfx2hlsl_join_symbols_folded_hardware0.21s,startup_gfx2hlsl_shift64_controls0.15s,startup_gfx2hlsl_operand_count0.31s,startup_gfx2hlsl_sopk_signext0.18s,startup_gfx2hlsl_export_mask0.15s,startup_gfx2hlsl_export_mask_drop_control0.14s,startup_gfx2hlsl_sgpr_spill_controls0.11s,startup_gfx2hlsl_dpp_pair0.13s,startup_gfx2hlsl_readfirstlane_uniform0.14s,startup_gfx2hlsl_scalar_m0_controls0.11s,startup_gfx2hlsl_add_sub_co_controls0.14s,startup_gfx2hlsl_s_sext_cmov0.11s,startup_gfx2hlsl_vcvt_omod0.10s,startup_gfx2hlsl_cvt_pk_u8_controls0.13s,startup_gfx2hlsl_dpp_quad_broadcast0.14s,startup_gfx2hlsl_calculated_target0.12s,startup_gfx2hlsl_int_med3_controls0.14s,startup_gfx2hlsl_cndmask_neg0.10s,startup_gfx2hlsl_smem_offset0.10s,startup_gfx2hlsl_opsel0.11s,startup_gfx2hlsl_tbuffer_16f0.10s,startup_gfx2hlsl_mul_hi_controls0.14s,startup_gfx2hlsl_mask_overwrite_controls0.12s,startup_gfx2hlsl_cselect_mask_controls0.11s,startup_gfx2hlsl_readfirstlane_recompute0.12s,startup_gfx2hlsl_b64_shift0.12s,startup_gfx2hlsl_s_bitcmp0.14s,startup_gfx2hlsl_op_refusals0.11s,startup_gfx2hlsl_handler_arity0.11s,startup_gfx2hlsl_loop_constants0.10s,startup_gfx2hlsl_neg_operand0.10s,startup_gfx2hlsl_compare_dst_controls0.10s,startup_gfx2hlsl_mad_controls0.14s,startup_gfx2hlsl_scalar_brev_fold0.11s,startup_gfx2hlsl_image_get_lod_controls0.12s,startup_gfx2hlsl_saveexec_same_reg_controls0.10s,startup_gfx2hlsl_image_arity0.08s)/O2(--preset release):cmake --build --preset release --target d3d12_xs_device_obj d3d12_xs_shim -- -j 2):36.21s(configure0.00s)ctest --preset release -R '^startup_gfx2hlsl_' --parallel 6 --no-tests=error --output-on-failure): 131/131 passed (36.03s:startup_gfx2hlsl_vopc_sdwa7.86s,startup_gfx2hlsl_f32_nan8.52s,startup_gfx2hlsl_f32_nan_warp14.05s,startup_gfx2hlsl_f32_nan_hardware14.16s,startup_gfx2hlsl_cvt_alu_warp5.97s,startup_gfx2hlsl_bit_alu_hardware6.96s,startup_gfx2hlsl_f32_sdwa_warp18.88s,startup_gfx2hlsl_f32_sdwa_hardware18.89s,startup_gfx2hlsl_cvt_alu_hardware5.63s,startup_gfx2hlsl_cmp_class_f165.75s,startup_gfx2hlsl_cmp_class6.16s,startup_gfx2hlsl_bit_alu_warp6.42s,startup_gfx2hlsl_s_lshl_add4.73s,startup_gfx2hlsl_shift64_hardware3.26s,startup_gfx2hlsl_f32_lg_warp4.41s,startup_gfx2hlsl_sop2_complement5.52s,startup_gfx2hlsl_f32_lg_hardware4.48s,startup_gfx2hlsl_shift64_warp3.33s,startup_gfx2hlsl_dpp_quad_swap_hardware1.97s,startup_gfx2hlsl_compute_hardware2.15s,startup_gfx2hlsl_mad_dispatch_hardware1.59s,startup_gfx2hlsl_dpp_quad_swap_warp1.94s,startup_gfx2hlsl_f32_sdwa3.00s,startup_gfx2hlsl_watch2.70s,startup_gfx2hlsl_dpp_pair_hardware1.88s,startup_gfx2hlsl_cmp16_warp1.91s,startup_gfx2hlsl_dpp_pair_warp1.92s,startup_gfx2hlsl_sdwa_cvt_hardware1.84s,startup_gfx2hlsl_cmp16_hardware1.96s,startup_gfx2hlsl_sdwa_cvt_warp1.98s,startup_gfx2hlsl_vopc_sdwa_hardware1.31s,startup_gfx2hlsl_mad_dispatch_warp1.58s,startup_gfx2hlsl_f32_lg1.74s,startup_gfx2hlsl_vopc_sdwa_warp1.30s,startup_gfx2hlsl_compute_warp2.14s,startup_gfx2hlsl_scalar_m0_hardware1.21s,startup_gfx2hlsl_scalar_m0_warp1.15s,startup_gfx2hlsl_mad_preserve_hardware0.98s,startup_gfx2hlsl_sopk_accum1.04s,startup_gfx2hlsl_capture1.23s,startup_gfx2hlsl_sgpr_spill_warp0.96s,startup_gfx2hlsl_mad_preserve_warp1.02s,startup_gfx2hlsl_sgpr_spill_hardware0.98s,startup_gfx2hlsl_mul_hi_warp1.02s,startup_gfx2hlsl_dpp_quad_broadcast_warp0.98s,startup_gfx2hlsl_dpp_quad_broadcast_hardware0.99s,startup_gfx2hlsl_mul_hi_hardware1.16s,startup_gfx2hlsl_interp_f16_hardware1.01s,startup_gfx2hlsl_cvt_pk_u8_warp0.94s,startup_gfx2hlsl_interp_f16_warp1.04s,startup_gfx2hlsl_bit_alu_controls0.93s,startup_gfx2hlsl_cvt_pk_u8_hardware1.00s,startup_gfx2hlsl_compute_mbcnt_warp0.85s,startup_gfx2hlsl_root0.83s,startup_gfx2hlsl_buffer_store0.68s,startup_gfx2hlsl_compute_mbcnt_hardware0.84s,startup_gfx2hlsl_draw_skip0.58s,startup_gfx2hlsl_refusals0.60s,startup_gfx2hlsl_compute_controls0.46s,startup_gfx2hlsl_join_symbols_warp0.40s,startup_gfx2hlsl_sdwa0.22s,startup_gfx2hlsl_compute_g-overlap_warp0.30s,startup_gfx2hlsl_join_symbols_hardware0.40s,startup_gfx2hlsl_compute_b-offset_warp0.29s,startup_gfx2hlsl_compute_c-unpredicated_warp0.28s,startup_gfx2hlsl_compute_swapped-axes_warp0.31s,startup_gfx2hlsl_compute_dropped-store_warp0.31s,startup_gfx2hlsl_compute_g-swapped-offsets_warp0.29s,startup_gfx2hlsl_compute_j-scalar-dropped_hardware0.30s,startup_gfx2hlsl_compute_k-block-entered_hardware0.30s,startup_gfx2hlsl_compute_j-scalar-dropped_warp0.31s,startup_gfx2hlsl_compute_h-inner-unpredicated_warp0.31s,startup_gfx2hlsl_compute_f-broadcast_hardware0.30s,startup_gfx2hlsl_compute_g-overlap_hardware0.32s,startup_gfx2hlsl_compute_h-inner-unpredicated_hardware0.31s,startup_gfx2hlsl_compute_f-peer_hardware0.31s,startup_gfx2hlsl_compute_g-swapped-offsets_hardware0.29s,startup_gfx2hlsl_join_symbols_controls0.27s,startup_gfx2hlsl_cmp16_controls0.32s,startup_gfx2hlsl_compute_c-unpredicated_hardware0.30s,startup_gfx2hlsl_compute_b-offset_hardware0.28s,startup_gfx2hlsl_compute_swapped-axes_hardware0.28s,startup_gfx2hlsl_swap0.30s,startup_gfx2hlsl_compute_f-peer_warp0.31s,startup_gfx2hlsl_compute_dropped-store_hardware0.32s,startup_gfx2hlsl_join_symbols_folded_hardware0.20s,startup_gfx2hlsl_compute_f-broadcast_warp0.31s,startup_gfx2hlsl_scalar_shift64_bfe_controls0.24s,startup_gfx2hlsl_compute_k-block-entered_warp0.32s,startup_gfx2hlsl_sdwa_cvt0.32s,startup_gfx2hlsl_dpp_quad_swap_controls0.16s,startup_gfx2hlsl_interp_f16_controls0.21s,startup_gfx2hlsl_cvt_alu_controls0.17s,startup_gfx2hlsl_join_symbols_folded_warp0.20s,startup_gfx2hlsl_sample_c_lz_mip0.20s,startup_gfx2hlsl_shift64_controls0.14s,startup_gfx2hlsl_operand_count0.30s,startup_gfx2hlsl_cndmask_neg0.10s,startup_gfx2hlsl_dpp_pair0.14s,startup_gfx2hlsl_sopk_signext0.15s,startup_gfx2hlsl_readfirstlane_uniform0.13s,startup_gfx2hlsl_vcvt_omod0.11s,startup_gfx2hlsl_export_mask_drop_control0.13s,startup_gfx2hlsl_scalar_m0_controls0.11s,startup_gfx2hlsl_dpp_quad_broadcast0.14s,startup_gfx2hlsl_sgpr_spill_controls0.12s,startup_gfx2hlsl_export_mask0.14s,startup_gfx2hlsl_smem_offset0.10s,startup_gfx2hlsl_mad_controls0.15s,startup_gfx2hlsl_cvt_pk_u8_controls0.12s,startup_gfx2hlsl_opsel0.10s,startup_gfx2hlsl_mul_hi_controls0.14s,startup_gfx2hlsl_int_med3_controls0.12s,startup_gfx2hlsl_b64_shift0.10s,startup_gfx2hlsl_tbuffer_16f0.11s,startup_gfx2hlsl_add_sub_co_controls0.14s,startup_gfx2hlsl_s_sext_cmov0.12s,startup_gfx2hlsl_scalar_brev_fold0.12s,startup_gfx2hlsl_s_bitcmp0.11s,startup_gfx2hlsl_image_get_lod_controls0.12s,startup_gfx2hlsl_op_refusals0.10s,startup_gfx2hlsl_calculated_target0.12s,startup_gfx2hlsl_mask_overwrite_controls0.11s,startup_gfx2hlsl_cselect_mask_controls0.12s,startup_gfx2hlsl_saveexec_same_reg_controls0.12s,startup_gfx2hlsl_handler_arity0.10s,startup_gfx2hlsl_image_arity0.09s,startup_gfx2hlsl_readfirstlane_recompute0.12s,startup_gfx2hlsl_loop_constants0.10s,startup_gfx2hlsl_neg_operand0.09s,startup_gfx2hlsl_compare_dst_controls0.09s)tests/mesh_heap_sampler_check.pyok (0.6s),tests/startup_buffer_address_check.pyok (0.3s),tests/startup_compute_request_offline_check.pyok (0.3s),tests/startup_compute_translate_check.pyok (0.2s),tests/startup_flat_param_check.pyok (0.1s),tests/startup_gfx2hlsl_add_sub_co_check.pyok (0.1s),tests/startup_gfx2hlsl_bit_alu_check.pyok (0.6s),tests/startup_gfx2hlsl_capture_check.pyok (0.7s),tests/startup_gfx2hlsl_cmp16_check.pyok (0.2s),tests/startup_gfx2hlsl_compare_dst_check.pyok (0.1s),tests/startup_gfx2hlsl_compute_check.pyok (0.3s),tests/startup_gfx2hlsl_cselect_mask_check.pyok (0.1s),tests/startup_gfx2hlsl_cvt_alu_check.pyok (0.1s),tests/startup_gfx2hlsl_f32_lg_check.pyok (1.0s),tests/startup_gfx2hlsl_f32_nan_check.pyok (4.0s),tests/startup_gfx2hlsl_handler_arity_check.pyok (0.1s),tests/startup_gfx2hlsl_image_arity_check.pyok (0.1s),tests/startup_gfx2hlsl_image_get_lod_check.pyok (0.1s),tests/startup_gfx2hlsl_int_med3_check.pyok (0.1s),tests/startup_gfx2hlsl_join_symbols_check.pyok (0.1s),tests/startup_gfx2hlsl_loop_constants_check.pyok (0.1s),tests/startup_gfx2hlsl_mask_overwrite_check.pyok (0.1s),tests/startup_gfx2hlsl_operand_count_check.pyok (0.2s),tests/startup_gfx2hlsl_readfirstlane_recompute_check.pyok (0.1s),tests/startup_gfx2hlsl_readfirstlane_uniform_check.pyok (0.1s),tests/startup_gfx2hlsl_refusals_check.pyok (0.3s),tests/startup_gfx2hlsl_root_check.pyok (0.5s),tests/startup_gfx2hlsl_saveexec_same_reg_check.pyok (0.1s),tests/startup_gfx2hlsl_scalar_brev_fold_check.pyok (0.1s),tests/startup_gfx2hlsl_scalar_m0_check.pyok (0.1s),tests/startup_gfx2hlsl_sdwa_cvt_check.pyok (0.2s),tests/startup_gfx2hlsl_sgpr_spill_check.pyok (0.1s),tests/startup_gfx2hlsl_shift64_check.pyok (0.1s),tests/startup_gfx2hlsl_smem_offset_check.pyok (0.1s),tests/startup_gfx2hlsl_sop2_complement_check.pyok (3.3s),tests/startup_gfx2hlsl_sopk_accum_check.pyok (0.6s),tests/startup_gfx2hlsl_sopk_signext_check.pyok (0.1s),tests/startup_gfx2hlsl_swap_check.pyok (0.2s),tests/startup_gfx2hlsl_vopc_sdwa_check.pyok (3.6s),tests/startup_gfx2hlsl_watch_check.pyok (2.2s),tests/startup_image_2d_array_check.pyok (0.1s),tests/startup_image_3d_check.pyok (0.1s),tests/startup_image_gather_lz_check.pyok (0.5s),tests/startup_image_load_d16_check.pyok (0.7s),tests/startup_image_sample_a16_check.pyok (0.1s),tests/startup_image_sample_b_check.pyok (0.1s),tests/startup_image_sample_c_check.pyok (0.2s),tests/startup_image_sample_l_check.pyok (0.1s),tests/startup_image_sample_lod_check.pyok (0.1s),tests/startup_inline_sampler_check.pyok (0.1s),tests/startup_run_ps1_check.pyok (7.8s),tests/startup_run_sh_check.pyFAIL (0.1s),tests/startup_sampler_heap_check.pyok (0.1s),tests/startup_smem_address_check.pyok (0.1s),tests/startup_stream_fetch_check.pyok (0.2s),tests/startup_stream_interface_check.pyok (0.2s),tests/startup_translator_check.pyok (0.3s)sccache: 0/2 hits; wall107.4sAI-assisted; commands listed were executed locally.
Imported from R0Y00/Xbox2Windows. Originally posted by ChazY11 on 2026-11-25T17:59:32Z.
Thank you — 131/131 in both
devandreleaseat4554b79cis exactly the receipt I could not produce here, and thathead is still the branch tip, so nothing has moved since you verified it.
Two notes so the log is unambiguous:
startup_run_sh_check.pyFAIL in your Windows list is the POSIX launcher check that exits 77 (capability skip), as youflagged 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.
startup_image.*_warpandstartup_gfx2hlsl.*_warpsubsets I ran locally (10/10 and 34/34) are a strict subset ofyour 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
SCAentries, reducible to the 18 that crashed) are independent of it.AI-assisted.
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
COMMENTEDwith no blocking findings, and the heads have moved since (this one is now37f9c0a5, #2408 is983380f8,both rebased onto
a6c8d80dwith CI green). If the merge flow needs an approving review rather than a comment, say soand 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.
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:
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.Re-running the four mutations afterwards:
s_bfm_b32 ... expected 3→expected 4v_cvt_i32_f32 ... expected 2→expected 3v_cndmask_b32 ... expected 3 or 4→expected 3v_mov_b32 ... expected 2→expected 1One detail worth recording:
v_cndmask_b32accepts 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.
Imported from R0Y00/Xbox2Windows. Originally posted by ChazY11 on 2026-11-25T18:53:01Z.
Correction to my previous comment:
04eb7808landed on the branch after #2396 had already merged(
53dce4d4→ maindc18d446), so the strengthened assertions are not inmain. I opened themseparately 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 mutationresults are re-verified against the merged tree in #2506.
AI-assisted.