startup: accept a null-export-only pixel stage in the slot 57 role check #2421

Manually merged
github merged 2 commits from gh-pr/2421/head into gh-pr/2421/base 2026-11-27 00:50:42 +00:00
Owner

@⁠NiiRoZz on GitHub · 2026-11-25 16:09 UTC · original
NiiRoZz:startup/mesh57-null-export-pixel → main · +9 −1 · 2 files · 2 commits · merged 2026-11-25 18:30 UTC

Refs #2413 (T5)

What changed

inspect_mesh57_request refused a slot 57 request when the pixel stage did not classify as ps. A pixel stage whose only exports target null classifies as other, so it was refused with "slot 57 pixel stage has an incompatible export or termination". The role check now also accepts a pixel stage whose exports are exclusively null-target exports, as a depth-only pixel stage. classify_decoded is unchanged, so the vertex/pixel pipeline path classifies exactly as before. Any other non-colour target (position, parameter, a null export mixed with one) still gets the existing refusal.

This only removes a pre-check. The request still ends in "slot 57 mesh code emission is unavailable"; no mesh stage is translated.

Why a null export is depth-only

On a pixel shader the null target is the "no colour output" export, emitted so the hardware sees an export with done and the valid-mask bit and no enabled channels:

  • LLVM llvm/lib/Target/AMDGPU/SILateBranchLowering.cpp: emits EXP_DONE to the null target with vm=1, compr=0, en=0 when a pixel shader must export.
  • Mesa ACO src/amd/compiler/instruction_selection/aco_select_ps_epilog.cpp, create_fs_null_export: "FS must always have exports. So when there are none, we need to add a null export", with enabled_mask 0, done and vm.

A stage with no colour exports is already the depth-only case in classify_decoded.

Tests

  • python -B tests/startup_gfx2hlsl_watch_check.py -> startup_gfx2hlsl_watch_check passed
  • New cases (hand-assembled words, no external bytes): a null-only pixel stage is accepted by the role check and the request reports "slot 57 mesh code emission is unavailable".
  • Negative controls: a pixel stage with a position export, and one with a null export plus a position export, are still refused with the incompatible-export message.
  • Existing slot 57 cases unchanged and passing.

Local observation (not reproducible from the repository)

On 298 locally requested slot 57 pairs, counts of first refusal reasons:

reason before after
pixel stage incompatible export or termination 18 0
mesh workgroup memory (ds_*) 276 294
v_interp_p2_f16 with op_sel 4 4

Of 224 non-empty pixel stages, all 18 that classified other have only exp null off, off, off, off done vm. No game or executable data is in the repository.

What this does not do

It does not emit mesh code or translate any mesh pipeline, and it does not change how null exports are handled in the vertex/pixel path. It does not show that any title runs.

🤖 Generated with Claude Code

**@⁠NiiRoZz** on GitHub · 2026-11-25 16:09 UTC · [original](https://github.com/R0Y00/Xbox2Windows/pull/2421) `NiiRoZz:startup/mesh57-null-export-pixel` → `main` · +9 −1 · 2 files · 2 commits · merged 2026-11-25 18:30 UTC Refs #2413 (T5) ## What changed `inspect_mesh57_request` refused a slot 57 request when the pixel stage did not classify as `ps`. A pixel stage whose only exports target `null` classifies as `other`, so it was refused with "slot 57 pixel stage has an incompatible export or termination". The role check now also accepts a pixel stage whose exports are exclusively `null`-target exports, as a depth-only pixel stage. `classify_decoded` is unchanged, so the vertex/pixel pipeline path classifies exactly as before. Any other non-colour target (position, parameter, a null export mixed with one) still gets the existing refusal. This only removes a pre-check. The request still ends in "slot 57 mesh code emission is unavailable"; no mesh stage is translated. ## Why a null export is depth-only On a pixel shader the null target is the "no colour output" export, emitted so the hardware sees an export with `done` and the valid-mask bit and no enabled channels: - LLVM `llvm/lib/Target/AMDGPU/SILateBranchLowering.cpp`: emits `EXP_DONE` to the null target with vm=1, compr=0, en=0 when a pixel shader must export. - Mesa ACO `src/amd/compiler/instruction_selection/aco_select_ps_epilog.cpp`, `create_fs_null_export`: "FS must always have exports. So when there are none, we need to add a null export", with enabled_mask 0, done and vm. A stage with no colour exports is already the depth-only case in `classify_decoded`. ## Tests - `python -B tests/startup_gfx2hlsl_watch_check.py` -> `startup_gfx2hlsl_watch_check passed` - New cases (hand-assembled words, no external bytes): a null-only pixel stage is accepted by the role check and the request reports "slot 57 mesh code emission is unavailable". - Negative controls: a pixel stage with a position export, and one with a null export plus a position export, are still refused with the incompatible-export message. - Existing slot 57 cases unchanged and passing. ## Local observation (not reproducible from the repository) On 298 locally requested slot 57 pairs, counts of first refusal reasons: | reason | before | after | |---|---|---| | pixel stage incompatible export or termination | 18 | 0 | | mesh workgroup memory (ds_*) | 276 | 294 | | v_interp_p2_f16 with op_sel | 4 | 4 | Of 224 non-empty pixel stages, all 18 that classified `other` have only `exp null off, off, off, off done vm`. No game or executable data is in the repository. ## What this does not do It does not emit mesh code or translate any mesh pipeline, and it does not change how null exports are handled in the vertex/pixel path. It does not show that any title runs. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
A pixel stage whose only export is the null target carries no colour output
(LLVM SILateBranchLowering emits "exp null ... done vm" for such shaders; Mesa
ACO create_fs_null_export does the same when there are no other exports), so
the slot 57 role check treats it as depth-only. Any other non-colour target
stays refused. The shared classify_decoded is unchanged. The request still ends
in "slot 57 mesh code emission is unavailable".

Co-Authored-By: Claude Fable 5.2 <[email protected]>
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-27 00:50:41 +00:00
github manually merged commit dfee3cc5da into gh-pr/2421/base 2026-11-27 00:50:42 +00:00
Author
Owner

@⁠KelboLive on GitHub · 2026-11-25 16:11 UTC · original

APPROVED. Accepts null-export-only pixel stage in slot 57 role check. Relaxes constraint appropriately.

**@⁠KelboLive** on GitHub · 2026-11-25 16:11 UTC · [original](https://github.com/R0Y00/Xbox2Windows/pull/2421#issuecomment-7167676298) APPROVED. Accepts null-export-only pixel stage in slot 57 role check. Relaxes constraint appropriately.
Author
Owner

@⁠tedin7 on GitHub · 2026-11-25 16:49 UTC · original · reviewed

Review of head 7ad3cfc8.

Checked:

  • The change is one line in inspect_mesh57_request (tools/startup/gfx2hlsl.py): a pixel stage whose exports are all null target now passes the role check. classify_decoded is untouched, so the vertex/pixel path classifies as before.
  • Controls hold: a position export, and a null export mixed with a position export, are still refused with the existing message. The request still ends in "slot 57 mesh code emission is unavailable", so nothing new is translated.
  • Tests in tests/startup_gfx2hlsl_watch_check.py use hand-assembled words, with one positive case and two negative controls. No shader math is lowered here, so no WARP readback is needed.
  • Scope is small and additive. No other open or merged PR covers this check (searched "slot 57 pixel null export").
  • Note, not a blocker: a.split()[1] relies on the decoded exp operand text having the target as its second token. The positive and negative tests would fail if that were wrong, so the format is covered.

Commands run: merge_check.py 2421, gh pr diff 2421, gh pr list --state all --search ..., python3 -B tests/startup_gfx2hlsl_watch_check.py in a worktree at the PR head (passed).

AI-assisted; commands listed were executed locally.

**@⁠tedin7** on GitHub · 2026-11-25 16:49 UTC · [original](https://github.com/R0Y00/Xbox2Windows/pull/2421#pullrequestreview-6061505059) · **reviewed** Review of head 7ad3cfc8. Checked: - The change is one line in `inspect_mesh57_request` (`tools/startup/gfx2hlsl.py`): a pixel stage whose exports are all `null` target now passes the role check. `classify_decoded` is untouched, so the vertex/pixel path classifies as before. - Controls hold: a position export, and a null export mixed with a position export, are still refused with the existing message. The request still ends in "slot 57 mesh code emission is unavailable", so nothing new is translated. - Tests in `tests/startup_gfx2hlsl_watch_check.py` use hand-assembled words, with one positive case and two negative controls. No shader math is lowered here, so no WARP readback is needed. - Scope is small and additive. No other open or merged PR covers this check (searched "slot 57 pixel null export"). - Note, not a blocker: `a.split()[1]` relies on the decoded `exp` operand text having the target as its second token. The positive and negative tests would fail if that were wrong, so the format is covered. Commands run: `merge_check.py 2421`, `gh pr diff 2421`, `gh pr list --state all --search ...`, `python3 -B tests/startup_gfx2hlsl_watch_check.py` in a worktree at the PR head (passed). AI-assisted; commands listed were executed locally.
Author
Owner

@⁠tedin7 on GitHub · 2026-11-25 16:54 UTC · original

Win2025 WARP receipt for head dfee3cc5 after updating with main.

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

  • Debug (--preset dev):
    • Build (cmake --build --preset dev --target d3d12_xs_device_obj d3d12_xs_shim -- -j 2): 3.08s (configure 1.71s)
  • Release /O2 (--preset release):
    • Build (cmake --build --preset release --target d3d12_xs_device_obj d3d12_xs_shim -- -j 2): 0.79s (configure 1.69s)
  • Windows Python checks: tests/mesh_heap_sampler_check.py ok (1.0s), tests/startup_buffer_address_check.py ok (0.6s), tests/startup_compute_request_offline_check.py ok (0.6s), tests/startup_compute_translate_check.py ok (0.3s), tests/startup_flat_param_check.py ok (0.1s), tests/startup_gfx2hlsl_add_sub_co_check.py ok (0.2s), tests/startup_gfx2hlsl_bit_alu_check.py ok (1.1s), tests/startup_gfx2hlsl_capture_check.py ok (1.4s), tests/startup_gfx2hlsl_cmp16_check.py ok (0.4s), tests/startup_gfx2hlsl_compare_dst_check.py ok (0.1s), tests/startup_gfx2hlsl_compute_check.py ok (0.5s), tests/startup_gfx2hlsl_cselect_mask_check.py ok (0.1s), tests/startup_gfx2hlsl_cvt_alu_check.py ok (0.2s), tests/startup_gfx2hlsl_f32_lg_check.py ok (2.0s), tests/startup_gfx2hlsl_f32_nan_check.py ok (7.8s), tests/startup_gfx2hlsl_handler_arity_check.py ok (0.1s), tests/startup_gfx2hlsl_image_arity_check.py ok (0.2s), tests/startup_gfx2hlsl_image_get_lod_check.py ok (0.2s), tests/startup_gfx2hlsl_int_med3_check.py ok (0.2s), tests/startup_gfx2hlsl_join_symbols_check.py ok (0.2s), tests/startup_gfx2hlsl_loop_constants_check.py ok (0.1s), tests/startup_gfx2hlsl_mask_overwrite_check.py ok (0.1s), tests/startup_gfx2hlsl_operand_count_check.py ok (0.2s), tests/startup_gfx2hlsl_readfirstlane_recompute_check.py ok (0.1s), tests/startup_gfx2hlsl_readfirstlane_uniform_check.py ok (0.1s), tests/startup_gfx2hlsl_refusals_check.py ok (0.6s), tests/startup_gfx2hlsl_root_check.py ok (0.8s), tests/startup_gfx2hlsl_saveexec_same_reg_check.py ok (0.1s), tests/startup_gfx2hlsl_scalar_brev_fold_check.py ok (0.2s), tests/startup_gfx2hlsl_scalar_m0_check.py ok (0.1s), tests/startup_gfx2hlsl_sdwa_cvt_check.py ok (0.4s), tests/startup_gfx2hlsl_sgpr_spill_check.py ok (0.2s), tests/startup_gfx2hlsl_shift64_check.py ok (0.2s), tests/startup_gfx2hlsl_smem_offset_check.py ok (0.1s), tests/startup_gfx2hlsl_sop2_complement_check.py ok (6.2s), tests/startup_gfx2hlsl_sopk_accum_check.py ok (1.1s), tests/startup_gfx2hlsl_sopk_signext_check.py ok (0.2s), tests/startup_gfx2hlsl_swap_check.py ok (0.4s), tests/startup_gfx2hlsl_vopc_sdwa_check.py ok (6.9s), tests/startup_gfx2hlsl_watch_check.py ok (2.7s), tests/startup_image_2d_array_check.py ok (0.2s), tests/startup_image_3d_check.py ok (0.1s), tests/startup_image_gather_lz_check.py ok (0.5s), tests/startup_image_load_d16_check.py ok (0.8s), 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.2s), 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)
  • Wall: 63.3s

AI-assisted; commands listed were executed locally.

**@⁠tedin7** on GitHub · 2026-11-25 16:54 UTC · [original](https://github.com/R0Y00/Xbox2Windows/pull/2421#issuecomment-7168716008) Win2025 WARP receipt for head dfee3cc5 after updating with main. Verified on Windows Server 2025 (Build 26100, MSVC 14.44.35207 + D3D12 WARP) at commit `dfee3cc5da0987b83b4c81cb351b873321c635d9`: - **Debug (`--preset dev`)**: - Build (`cmake --build --preset dev --target d3d12_xs_device_obj d3d12_xs_shim -- -j 2`): `3.08s` (configure `1.71s`) - **Release `/O2` (`--preset release`)**: - Build (`cmake --build --preset release --target d3d12_xs_device_obj d3d12_xs_shim -- -j 2`): `0.79s` (configure `1.69s`) - **Windows Python checks**: `tests/mesh_heap_sampler_check.py` ok (`1.0s`), `tests/startup_buffer_address_check.py` ok (`0.6s`), `tests/startup_compute_request_offline_check.py` ok (`0.6s`), `tests/startup_compute_translate_check.py` ok (`0.3s`), `tests/startup_flat_param_check.py` ok (`0.1s`), `tests/startup_gfx2hlsl_add_sub_co_check.py` ok (`0.2s`), `tests/startup_gfx2hlsl_bit_alu_check.py` ok (`1.1s`), `tests/startup_gfx2hlsl_capture_check.py` ok (`1.4s`), `tests/startup_gfx2hlsl_cmp16_check.py` ok (`0.4s`), `tests/startup_gfx2hlsl_compare_dst_check.py` ok (`0.1s`), `tests/startup_gfx2hlsl_compute_check.py` ok (`0.5s`), `tests/startup_gfx2hlsl_cselect_mask_check.py` ok (`0.1s`), `tests/startup_gfx2hlsl_cvt_alu_check.py` ok (`0.2s`), `tests/startup_gfx2hlsl_f32_lg_check.py` ok (`2.0s`), `tests/startup_gfx2hlsl_f32_nan_check.py` ok (`7.8s`), `tests/startup_gfx2hlsl_handler_arity_check.py` ok (`0.1s`), `tests/startup_gfx2hlsl_image_arity_check.py` ok (`0.2s`), `tests/startup_gfx2hlsl_image_get_lod_check.py` ok (`0.2s`), `tests/startup_gfx2hlsl_int_med3_check.py` ok (`0.2s`), `tests/startup_gfx2hlsl_join_symbols_check.py` ok (`0.2s`), `tests/startup_gfx2hlsl_loop_constants_check.py` ok (`0.1s`), `tests/startup_gfx2hlsl_mask_overwrite_check.py` ok (`0.1s`), `tests/startup_gfx2hlsl_operand_count_check.py` ok (`0.2s`), `tests/startup_gfx2hlsl_readfirstlane_recompute_check.py` ok (`0.1s`), `tests/startup_gfx2hlsl_readfirstlane_uniform_check.py` ok (`0.1s`), `tests/startup_gfx2hlsl_refusals_check.py` ok (`0.6s`), `tests/startup_gfx2hlsl_root_check.py` ok (`0.8s`), `tests/startup_gfx2hlsl_saveexec_same_reg_check.py` ok (`0.1s`), `tests/startup_gfx2hlsl_scalar_brev_fold_check.py` ok (`0.2s`), `tests/startup_gfx2hlsl_scalar_m0_check.py` ok (`0.1s`), `tests/startup_gfx2hlsl_sdwa_cvt_check.py` ok (`0.4s`), `tests/startup_gfx2hlsl_sgpr_spill_check.py` ok (`0.2s`), `tests/startup_gfx2hlsl_shift64_check.py` ok (`0.2s`), `tests/startup_gfx2hlsl_smem_offset_check.py` ok (`0.1s`), `tests/startup_gfx2hlsl_sop2_complement_check.py` ok (`6.2s`), `tests/startup_gfx2hlsl_sopk_accum_check.py` ok (`1.1s`), `tests/startup_gfx2hlsl_sopk_signext_check.py` ok (`0.2s`), `tests/startup_gfx2hlsl_swap_check.py` ok (`0.4s`), `tests/startup_gfx2hlsl_vopc_sdwa_check.py` ok (`6.9s`), `tests/startup_gfx2hlsl_watch_check.py` ok (`2.7s`), `tests/startup_image_2d_array_check.py` ok (`0.2s`), `tests/startup_image_3d_check.py` ok (`0.1s`), `tests/startup_image_gather_lz_check.py` ok (`0.5s`), `tests/startup_image_load_d16_check.py` ok (`0.8s`), `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.2s`), `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`) - Wall: `63.3s` AI-assisted; commands listed were executed locally.
Author
Owner

@⁠tedin7 on GitHub · 2026-11-25 16:56 UTC · original

Win2025 WARP receipt for head dfee3cc5 after updating with main (CTest run of the test this PR touches).

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

  • Debug (--preset dev):
    • Build (cmake --build --preset dev --target d3d12_xs_device_obj d3d12_xs_shim -- -j 2): 2.72s (configure 1.63s)
    • Test (ctest --preset dev -R '^startup_gfx2hlsl_watch$' --parallel 6 --no-tests=error --output-on-failure): 1/1 passed (2.42s: startup_gfx2hlsl_watch 2.32s)
  • Release /O2 (--preset release):
    • Build (cmake --build --preset release --target d3d12_xs_device_obj d3d12_xs_shim -- -j 2): 2.43s (configure 1.63s)
    • Test (ctest --preset release -R '^startup_gfx2hlsl_watch$' --parallel 6 --no-tests=error --output-on-failure): 1/1 passed (2.35s: startup_gfx2hlsl_watch 2.26s)
  • 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.8s), 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.1s), tests/startup_gfx2hlsl_readfirstlane_recompute_check.py ok (0.1s), tests/startup_gfx2hlsl_readfirstlane_uniform_check.py ok (0.1s), tests/startup_gfx2hlsl_refusals_check.py ok (0.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.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.7s), tests/startup_run_sh_check.py FAIL (0.1s), tests/startup_sampler_heap_check.py ok (0.1s), tests/startup_smem_address_check.py ok (0.1s), tests/startup_stream_fetch_check.py ok (0.2s), tests/startup_stream_interface_check.py ok (0.2s), tests/startup_translator_check.py ok (0.3s)
  • sccache: 0/2 hits; wall 49.3s

AI-assisted; commands listed were executed locally.

**@⁠tedin7** on GitHub · 2026-11-25 16:56 UTC · [original](https://github.com/R0Y00/Xbox2Windows/pull/2421#issuecomment-7168764931) Win2025 WARP receipt for head dfee3cc5 after updating with main (CTest run of the test this PR touches). Verified on Windows Server 2025 (Build 26100, MSVC 14.44.35207 + D3D12 WARP) at commit `dfee3cc5da0987b83b4c81cb351b873321c635d9`: - **Debug (`--preset dev`)**: - Build (`cmake --build --preset dev --target d3d12_xs_device_obj d3d12_xs_shim -- -j 2`): `2.72s` (configure `1.63s`) - Test (`ctest --preset dev -R '^startup_gfx2hlsl_watch$' --parallel 6 --no-tests=error --output-on-failure`): **1/1 passed** (`2.42s`: `startup_gfx2hlsl_watch` `2.32s`) - **Release `/O2` (`--preset release`)**: - Build (`cmake --build --preset release --target d3d12_xs_device_obj d3d12_xs_shim -- -j 2`): `2.43s` (configure `1.63s`) - Test (`ctest --preset release -R '^startup_gfx2hlsl_watch$' --parallel 6 --no-tests=error --output-on-failure`): **1/1 passed** (`2.35s`: `startup_gfx2hlsl_watch` `2.26s`) - **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.8s`), `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.1s`), `tests/startup_gfx2hlsl_readfirstlane_recompute_check.py` ok (`0.1s`), `tests/startup_gfx2hlsl_readfirstlane_uniform_check.py` ok (`0.1s`), `tests/startup_gfx2hlsl_refusals_check.py` ok (`0.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.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.7s`), `tests/startup_run_sh_check.py` FAIL (`0.1s`), `tests/startup_sampler_heap_check.py` ok (`0.1s`), `tests/startup_smem_address_check.py` ok (`0.1s`), `tests/startup_stream_fetch_check.py` ok (`0.2s`), `tests/startup_stream_interface_check.py` ok (`0.2s`), `tests/startup_translator_check.py` ok (`0.3s`) - `sccache`: 0/2 hits; wall `49.3s` AI-assisted; commands listed were executed locally.
This discussion has been locked. Commenting is limited to contributors.
No description provided.