startup: refuse an image instruction without dim: or dmask: #2408

Manually merged
github merged 1 commit from gh-pr/2408/head into gh-pr/2408/base 2026-11-27 00:49:29 +00:00
Owner

@⁠ChazY11 on GitHub · 2026-11-25 15:35 UTC · original
ChazY11:startup/image-modifiers → main · +30 −16 · 2 files · 1 commits · merged 2026-11-25 18:51 UTC

What

image() reads its dimension and dmask with [0] after filtering the modifier list:

dim = [m for m in mods if m.startswith('dim:')][0][4:]
dmask = int([m for m in mods if m.startswith('dmask:')][0][6:], 0)

so a form that omits either one reaches that index and comes back as translator crash in <op>: IndexError — the batch translator's marker for a translator defect — even with a complete operand list. Seven handlers share the body: image_sample, image_sample_l, image_sample_lz, image_sample_b, image_get_lod, image_load, image_load_mip.

Measured through the real Stage entry point

image_sample v[8:11], v0, s[16:19], s[20:23]                     before: translator crash: IndexError
                                                                 after:  image instruction without dim:
image_sample v[8:11], v0, s[16:19], s[20:23] dim:SQ_RSRC_IMG_2D  before: translator crash: IndexError
                                                                 after:  image instruction without dmask:
image_load v[8:11], v0, s[16:19]                                 before: translator crash: IndexError
                                                                 after:  image instruction without dim:

Both modifiers are required by the lowering — dim: selects the emitted texture type, dmask: the register span — and the disassembler prints both on every image instruction, so a missing one means the text entry rather than the ISA.

Fail-first

Removing exactly the guard:

AssertionError: ('image_sample', ('v[8:11]', 'v0', 's[16:19]', 's[20:23]'), '',
                 [('translator crash in image_sample: IndexError', 'ps')])

restoring it returns startup gfx2hlsl image arity: 7 forms refused at 1 and 2 operands and without dim/dmask, exit 0.

The check

tests/startup_gfx2hlsl_image_arity_check.py (merged with #2373) gains three assertions per form beside the operand-count ones: no modifiers, dim: only, dmask: only. Its translate()/refuse() helpers gained a mods argument for this, which is why the diff also touches those two functions.

Verification

out/pe-env/Scripts/python.exe -B tests/startup_gfx2hlsl_image_arity_check.py

exit 0, and all 59 tests/startup_gfx2hlsl_*_check.py exit 0 on this branch.

For the "did it break anything" question, since most startup_* checks need a renderer and fail with no arguments: the failing set of all 157 tests/startup_*_check.py run with no arguments is identical on this branch and on main — 54 each, none added. That matters here because the guard changes a precondition of every image form, and a fixture that built its asm without dim: would have started refusing.

Found but not in this PR

The same scan turns up s_buffer_load_dword failing with AttributeError and buffer_load_format_xy/xyz and v_fma_mix*/v_cvt_pkrtz_f16_f32 with other crashes on shapes I passed. Those are separate bodies and separate messages; I have not diagnosed them and would not fold them in here.

AI-assisted.

**@⁠ChazY11** on GitHub · 2026-11-25 15:35 UTC · [original](https://github.com/R0Y00/Xbox2Windows/pull/2408) `ChazY11:startup/image-modifiers` → `main` · +30 −16 · 2 files · 1 commits · merged 2026-11-25 18:51 UTC ## What `image()` reads its dimension and dmask with `[0]` after filtering the modifier list: ```python dim = [m for m in mods if m.startswith('dim:')][0][4:] dmask = int([m for m in mods if m.startswith('dmask:')][0][6:], 0) ``` so a form that omits either one reaches that index and comes back as `translator crash in <op>: IndexError` — the batch translator's marker for a translator defect — **even with a complete operand list**. Seven handlers share the body: `image_sample`, `image_sample_l`, `image_sample_lz`, `image_sample_b`, `image_get_lod`, `image_load`, `image_load_mip`. ## Measured through the real `Stage` entry point ```text image_sample v[8:11], v0, s[16:19], s[20:23] before: translator crash: IndexError after: image instruction without dim: image_sample v[8:11], v0, s[16:19], s[20:23] dim:SQ_RSRC_IMG_2D before: translator crash: IndexError after: image instruction without dmask: image_load v[8:11], v0, s[16:19] before: translator crash: IndexError after: image instruction without dim: ``` Both modifiers are required by the lowering — `dim:` selects the emitted texture type, `dmask:` the register span — and the disassembler prints both on every image instruction, so a missing one means the text entry rather than the ISA. ## Fail-first Removing exactly the guard: ```text AssertionError: ('image_sample', ('v[8:11]', 'v0', 's[16:19]', 's[20:23]'), '', [('translator crash in image_sample: IndexError', 'ps')]) ``` restoring it returns `startup gfx2hlsl image arity: 7 forms refused at 1 and 2 operands and without dim/dmask`, exit 0. ## The check `tests/startup_gfx2hlsl_image_arity_check.py` (merged with #2373) gains three assertions per form beside the operand-count ones: no modifiers, `dim:` only, `dmask:` only. Its `translate()`/`refuse()` helpers gained a `mods` argument for this, which is why the diff also touches those two functions. ## Verification ```powershell out/pe-env/Scripts/python.exe -B tests/startup_gfx2hlsl_image_arity_check.py ``` exit 0, and all 59 `tests/startup_gfx2hlsl_*_check.py` exit 0 on this branch. For the "did it break anything" question, since most `startup_*` checks need a renderer and fail with no arguments: the failing set of all 157 `tests/startup_*_check.py` run with no arguments is **identical** on this branch and on `main` — 54 each, none added. That matters here because the guard changes a precondition of every image form, and a fixture that built its asm without `dim:` would have started refusing. ## Found but not in this PR The same scan turns up `s_buffer_load_dword` failing with `AttributeError` and `buffer_load_format_xy`/`xyz` and `v_fma_mix*`/`v_cvt_pkrtz_f16_f32` with other crashes on shapes I passed. Those are separate bodies and separate messages; I have not diagnosed them and would not fold them in here. AI-assisted.
`image()` reads its dimension and dmask with `[0]` after filtering the modifier list, so a form that omits
either one reached that index and came back as `translator crash in <op>: IndexError` instead of a refusal —
even with a full operand list. Seven handlers share the body: `image_sample`, `image_sample_l`,
`image_sample_lz`, `image_sample_b`, `image_get_lod`, `image_load`, `image_load_mip`.

Measured through the real `Stage` entry point, on a form with all four operands present:

    image_sample v[8:11], v0, s[16:19], s[20:23]                    before: translator crash: IndexError
                                                                   after:  image instruction without dim:
    image_sample v[8:11], v0, s[16:19], s[20:23] dim:SQ_RSRC_IMG_2D before: translator crash: IndexError
                                                                   after:  image instruction without dmask:
    image_load v[8:11], v0, s[16:19]                               before: translator crash: IndexError
                                                                   after:  image instruction without dim:

Both modifiers are required by the lowering — `dim:` selects the emitted texture type and `dmask:` the register
span — and the disassembler prints both on every image instruction, so a missing one means the text entry, not
the ISA.

`tests/startup_gfx2hlsl_image_arity_check.py` gains three assertions per form (no modifiers, `dim:` only,
`dmask:` only) beside the operand-count ones it already had. Fail-first: removing exactly the guard fails the
check with

    ('image_sample', ('v[8:11]', 'v0', 's[16:19]', 's[20:23]'), '', [('translator crash in image_sample: IndexError', 'ps')])

and restoring it returns exit 0. All 59 `tests/startup_gfx2hlsl_*_check.py` exit 0, and the failing set of all
157 `tests/startup_*_check.py` run with no arguments is identical to `main` (54 each, none added).
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-27 00:49:28 +00:00
github manually merged commit f1cbe69f83 into gh-pr/2408/base 2026-11-27 00:49:29 +00:00
Author
Owner

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

Review: PR #2408 -- startup: refuse an image instruction without dim: or dmask:

Decision: APPROVED

Small bugfix replacing direct [0] indexing with safe filtered-list + guard in tools/startup/gfx2hlsl.py image() method.

Correctness:

  • Bug: dim = [...][0][4:] and dmask = [...][0][6:] indexed filtered modifier lists without checking non-empty, causing IndexError for text-format entries missing either modifier.
  • Fix: Filters to dims/dmasks lists, checks if not dims or not dmasks, raises Unsupported with clear message. Safe ternary logic.
  • Full-form paths use same code path as before -- no regression.

Test Coverage:

  • 7 image forms x 3 new cases (no modifiers, dim-only, dmask-only) = 21 new assertion paths
  • All 59 startup_gfx2hlsl checks pass; 157 startup check failing set identical to main.

Consistency: Follows existing raise Unsupported(...) patterns. Test helpers updated with new mods argument.

No blocking issues found.

**@⁠KelboLive** on GitHub · 2026-11-25 15:51 UTC · [original](https://github.com/R0Y00/Xbox2Windows/pull/2408#issuecomment-7167380451) ## Review: PR #2408 -- startup: refuse an image instruction without dim: or dmask: **Decision: APPROVED** Small bugfix replacing direct [0] indexing with safe filtered-list + guard in tools/startup/gfx2hlsl.py image() method. Correctness: - Bug: dim = [...][0][4:] and dmask = [...][0][6:] indexed filtered modifier lists without checking non-empty, causing IndexError for text-format entries missing either modifier. - Fix: Filters to dims/dmasks lists, checks if not dims or not dmasks, raises Unsupported with clear message. Safe ternary logic. - Full-form paths use same code path as before -- no regression. Test Coverage: - 7 image forms x 3 new cases (no modifiers, dim-only, dmask-only) = 21 new assertion paths - All 59 startup_gfx2hlsl checks pass; 157 startup check failing set identical to main. Consistency: Follows existing raise Unsupported(...) patterns. Test helpers updated with new mods argument. No blocking issues found.
Author
Owner

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

Review of head e85d92bd (comment only).

Checked:

  • tools/startup/gfx2hlsl.py image(): the two [...][0] reads become guarded lookups that raise Unsupported, so a form without dim: or dmask: is a refusal and no longer a translator crash ... IndexError. Accepted forms take the same path as before (first matching modifier).
  • Scope: 2 files, additive, refusal side only. Seven image handlers share this body, so one guard covers all of them.
  • Test: tests/startup_gfx2hlsl_image_arity_check.py goes through the real Stage entry point for all 7 forms, with no dim, no dmask, and dmask only. It asserts exactly one refusal, no blocks, and no "translator crash" text. This is a refusal path, so no shader output changes and no GPU readback is needed.
  • Duplicates: searched open and merged PRs for image dim/dmask. #1878 covers the comparison-sample forms only. Nothing else covers this body.

Commands run locally:

  • git diff --stat origin/main...HEAD
  • python3 -I tests/startup_gfx2hlsl_image_arity_check.py (passes)
  • gh pr list --repo R0Y00/Xbox2Windows --state all --search "image dim dmask"

No blocking findings. Next: update with main, CI, Win2025 WARP dev+release receipt.

AI-assisted; commands listed were executed locally.

**@⁠tedin7** on GitHub · 2026-11-25 16:07 UTC · [original](https://github.com/R0Y00/Xbox2Windows/pull/2408#pullrequestreview-6060940609) · **reviewed** Review of head e85d92bd (comment only). Checked: - `tools/startup/gfx2hlsl.py` `image()`: the two `[...][0]` reads become guarded lookups that raise `Unsupported`, so a form without `dim:` or `dmask:` is a refusal and no longer a `translator crash ... IndexError`. Accepted forms take the same path as before (first matching modifier). - Scope: 2 files, additive, refusal side only. Seven image handlers share this body, so one guard covers all of them. - Test: `tests/startup_gfx2hlsl_image_arity_check.py` goes through the real `Stage` entry point for all 7 forms, with no dim, no dmask, and dmask only. It asserts exactly one refusal, no blocks, and no "translator crash" text. This is a refusal path, so no shader output changes and no GPU readback is needed. - Duplicates: searched open and merged PRs for image dim/dmask. #1878 covers the comparison-sample forms only. Nothing else covers this body. Commands run locally: - `git diff --stat origin/main...HEAD` - `python3 -I tests/startup_gfx2hlsl_image_arity_check.py` (passes) - `gh pr list --repo R0Y00/Xbox2Windows --state all --search "image dim dmask"` No blocking findings. Next: update with main, CI, Win2025 WARP dev+release receipt. AI-assisted; commands listed were executed locally.
Author
Owner

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

Win2025 WARP receipt for head e85d92bd 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 of the rerun; every other check ran.

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

  • Debug (--preset dev):
    • Build (cmake --build --preset dev --target d3d12_xs_device_obj d3d12_xs_shim -- -j 2): 28.21s (configure 1.85s)
  • Release /O2 (--preset release):
    • Build (cmake --build --preset release --target d3d12_xs_device_obj d3d12_xs_shim -- -j 2): 50.29s (configure 2.17s)
  • 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 (1.1s), 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.1s), tests/startup_gfx2hlsl_f32_nan_check.py ok (4.1s), 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.3s), 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 (3.8s), tests/startup_gfx2hlsl_watch_check.py ok (2.3s), 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 (8.6s), 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.4s)
  • sccache: 602/643 hits; wall 122.3s

AI-assisted; commands listed were executed locally.

**@⁠tedin7** on GitHub · 2026-11-25 16:20 UTC · [original](https://github.com/R0Y00/Xbox2Windows/pull/2408#issuecomment-7167795693) Win2025 WARP receipt for head e85d92bd 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 of the rerun; every other check ran. Verified on Windows Server 2025 (Build 26100, MSVC 14.44.35207 + D3D12 WARP) at commit `e85d92bd62673fc0ff66f14f8aff2b49dda39a40`: - **Debug (`--preset dev`)**: - Build (`cmake --build --preset dev --target d3d12_xs_device_obj d3d12_xs_shim -- -j 2`): `28.21s` (configure `1.85s`) - **Release `/O2` (`--preset release`)**: - Build (`cmake --build --preset release --target d3d12_xs_device_obj d3d12_xs_shim -- -j 2`): `50.29s` (configure `2.17s`) - **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 (`1.1s`), `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.1s`), `tests/startup_gfx2hlsl_f32_nan_check.py` ok (`4.1s`), `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.3s`), `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 (`3.8s`), `tests/startup_gfx2hlsl_watch_check.py` ok (`2.3s`), `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 (`8.6s`), `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.4s`) - `sccache`: 602/643 hits; wall `122.3s` AI-assisted; commands listed were executed locally.
Author
Owner

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

Updated with main: rebased onto e06aca8b, force-pushed as 6543c969, and tests/startup_gfx2hlsl_image_arity_check.py passes on the new head (7 forms refused at 1 and 2 operands and without dim/dmask), as do all 59 tests/startup_gfx2hlsl_*_check.py.

Same point as on #2396 about the WARP receipt: the diff only turns two [...][0] reads into guarded lookups, so no accepted form changes its emitted text. If you want a device receipt, name the WARP-marked test and I will run it on this head and paste the adapter line rather than claim a GPU result for a refusal-path change.

For the duplicate search you ran, one adjacent fact that may be useful: #1878 covers the comparison-sample forms, and the same image() body also serves image_sample_l, _lz, _b, image_get_lod, image_load and image_load_mip, so the single guard reaches all seven — the check asserts each of the seven separately rather than sampling one.

AI-assisted.

**@⁠ChazY11** on GitHub · 2026-11-25 16:58 UTC · [original](https://github.com/R0Y00/Xbox2Windows/pull/2408#issuecomment-7168803751) Updated with main: rebased onto `e06aca8b`, force-pushed as `6543c969`, and `tests/startup_gfx2hlsl_image_arity_check.py` passes on the new head (`7 forms refused at 1 and 2 operands and without dim/dmask`), as do all 59 `tests/startup_gfx2hlsl_*_check.py`. Same point as on #2396 about the WARP receipt: the diff only turns two `[...][0]` reads into guarded lookups, so no accepted form changes its emitted text. If you want a device receipt, name the WARP-marked test and I will run it on this head and paste the adapter line rather than claim a GPU result for a refusal-path change. For the duplicate search you ran, one adjacent fact that may be useful: `#1878` covers the comparison-sample forms, and the same `image()` body also serves `image_sample_l`, `_lz`, `_b`, `image_get_lod`, `image_load` and `image_load_mip`, so the single guard reaches all seven — the check asserts each of the seven separately rather than sampling one. AI-assisted.
Author
Owner

@⁠ChazY11 on GitHub · 2026-11-25 17:05 UTC · original

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

Same treatment as on #2396: I ran the device-side subsets that would notice if the guard changed an accepted form, on 6543c969 (this branch rebased onto e06aca8b), offscreen_check rebuilt from this head, DXC 10.0.26100.0, Windows 11 build 26300.9974:

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

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

The ten image tests are the ones this diff could plausibly disturb — startup_image_load_d16_warp, startup_image_gather_lz_warp, startup_image_gather_c_lz_warp and the rest of the startup_image*_warp set — and they all pass, which is the evidence that the guarded lookups take the same path for every accepted form.

The adapter is chosen by the fixture's warp argument and the fixtures do not print the WARP driver version, so I am reporting the selector rather than quoting a version I did not read.

AI-assisted.

**@⁠ChazY11** on GitHub · 2026-11-25 17:05 UTC · [original](https://github.com/R0Y00/Xbox2Windows/pull/2408#issuecomment-7169001699) ## WARP receipts on the rebased head, since you asked for them Same treatment as on #2396: I ran the device-side subsets that would notice if the guard changed an accepted form, on `6543c969` (this branch rebased onto `e06aca8b`), `offscreen_check` rebuilt from this head, DXC `10.0.26100.0`, Windows 11 build 26300.9974: ```text ctest --preset dev --no-tests=error -R 'startup_image.*_warp$' --timeout 300 100% tests passed, 0 tests failed out of 10 ( 52.57 s) ctest --preset dev --no-tests=error -R 'startup_gfx2hlsl.*_warp$' --timeout 300 100% tests passed, 0 tests failed out of 34 ``` The ten image tests are the ones this diff could plausibly disturb — `startup_image_load_d16_warp`, `startup_image_gather_lz_warp`, `startup_image_gather_c_lz_warp` and the rest of the `startup_image*_warp` set — and they all pass, which is the evidence that the guarded lookups take the same path for every accepted form. The adapter is chosen by the fixture's `warp` argument and the fixtures do not print the WARP driver version, so I am reporting the selector rather than quoting a version I did not read. AI-assisted.
Author
Owner

@⁠tedin7 on GitHub · 2026-11-25 17:30 UTC · original

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

  • Debug (--preset dev):
    • Build (cmake --build --preset dev --target d3d12_xs_device_obj d3d12_xs_shim -- -j 2): 2.75s (configure 0.00s)
    • Test (ctest --preset dev -R '^startup_gfx2hlsl_' --parallel 6 --no-tests=error --output-on-failure): 131/131 passed (36.71s: startup_gfx2hlsl_cvt_alu_warp 7.71s, startup_gfx2hlsl_f32_nan 8.92s, startup_gfx2hlsl_f32_lg_warp 4.88s, startup_gfx2hlsl_f32_nan_warp 14.53s, startup_gfx2hlsl_f32_nan_hardware 14.53s, startup_gfx2hlsl_bit_alu_warp 6.84s, startup_gfx2hlsl_f32_sdwa_hardware 19.28s, startup_gfx2hlsl_f32_sdwa_warp 19.47s, startup_gfx2hlsl_sop2_complement 5.78s, startup_gfx2hlsl_cvt_alu_hardware 5.72s, startup_gfx2hlsl_cmp_class_f16 5.73s, startup_gfx2hlsl_bit_alu_hardware 6.36s, startup_gfx2hlsl_sdwa_cvt_warp 1.92s, startup_gfx2hlsl_shift64_warp 3.22s, startup_gfx2hlsl_s_lshl_add 4.47s, startup_gfx2hlsl_dpp_pair_warp 1.84s, startup_gfx2hlsl_f32_lg_hardware 4.44s, startup_gfx2hlsl_vopc_sdwa 5.71s, startup_gfx2hlsl_cmp_class 5.59s, startup_gfx2hlsl_f32_sdwa 2.87s, startup_gfx2hlsl_dpp_pair_hardware 2.05s, startup_gfx2hlsl_dpp_quad_swap_warp 2.15s, startup_gfx2hlsl_dpp_quad_swap_hardware 2.12s, startup_gfx2hlsl_watch 2.73s, startup_gfx2hlsl_shift64_hardware 3.46s, startup_gfx2hlsl_mad_dispatch_warp 1.56s, startup_gfx2hlsl_compute_hardware 2.14s, startup_gfx2hlsl_mad_dispatch_hardware 1.59s, startup_gfx2hlsl_cmp16_warp 2.01s, startup_gfx2hlsl_cmp16_hardware 1.99s, startup_gfx2hlsl_sdwa_cvt_hardware 2.02s, startup_gfx2hlsl_scalar_m0_warp 1.16s, startup_gfx2hlsl_f32_lg 1.76s, startup_gfx2hlsl_mad_preserve_hardware 1.02s, startup_gfx2hlsl_compute_warp 2.14s, startup_gfx2hlsl_vopc_sdwa_warp 1.32s, startup_gfx2hlsl_vopc_sdwa_hardware 1.37s, startup_gfx2hlsl_mad_preserve_warp 1.04s, startup_gfx2hlsl_sgpr_spill_warp 1.00s, startup_gfx2hlsl_compute_dropped-store_hardware 0.31s, startup_gfx2hlsl_capture 1.21s, startup_gfx2hlsl_compute_mbcnt_warp 0.69s, startup_gfx2hlsl_dpp_quad_broadcast_warp 0.98s, startup_gfx2hlsl_compute_swapped-axes_hardware 0.32s, startup_gfx2hlsl_compute_b-offset_hardware 0.31s, startup_gfx2hlsl_interp_f16_warp 0.90s, startup_gfx2hlsl_compute_c-unpredicated_hardware 0.33s, startup_gfx2hlsl_scalar_m0_hardware 1.17s, startup_gfx2hlsl_dpp_quad_broadcast_hardware 0.96s, startup_gfx2hlsl_cvt_pk_u8_warp 0.92s, startup_gfx2hlsl_compute_dropped-store_warp 0.40s, startup_gfx2hlsl_sgpr_spill_hardware 1.15s, startup_gfx2hlsl_root 0.83s, startup_gfx2hlsl_compute_c-unpredicated_warp 0.35s, startup_gfx2hlsl_mul_hi_warp 1.23s, startup_gfx2hlsl_compute_b-offset_warp 0.32s, startup_gfx2hlsl_sopk_accum 1.15s, startup_gfx2hlsl_compute_swapped-axes_warp 0.28s, startup_gfx2hlsl_compute_controls 0.44s, startup_gfx2hlsl_join_symbols_warp 0.38s, startup_gfx2hlsl_interp_f16_hardware 0.87s, startup_gfx2hlsl_compute_mbcnt_hardware 0.69s, startup_gfx2hlsl_join_symbols_controls 0.23s, startup_gfx2hlsl_bit_alu_controls 0.85s, startup_gfx2hlsl_cvt_pk_u8_hardware 0.79s, startup_gfx2hlsl_refusals 0.56s, startup_gfx2hlsl_buffer_store 0.55s, startup_gfx2hlsl_sdwa 0.18s, startup_gfx2hlsl_sample_c_lz_mip 0.20s, startup_gfx2hlsl_compute_g-overlap_warp 0.26s, startup_gfx2hlsl_swap 0.28s, startup_gfx2hlsl_compute_g-swapped-offsets_warp 0.29s, startup_gfx2hlsl_cvt_alu_controls 0.17s, startup_gfx2hlsl_compute_j-scalar-dropped_warp 0.30s, startup_gfx2hlsl_draw_skip 0.48s, startup_gfx2hlsl_join_symbols_hardware 0.39s, startup_gfx2hlsl_compute_h-inner-unpredicated_warp 0.28s, startup_gfx2hlsl_compute_f-peer_hardware 0.28s, startup_gfx2hlsl_compute_k-block-entered_warp 0.29s, startup_gfx2hlsl_compute_j-scalar-dropped_hardware 0.30s, startup_gfx2hlsl_sdwa_cvt 0.34s, startup_gfx2hlsl_compute_g-overlap_hardware 0.30s, startup_gfx2hlsl_compute_h-inner-unpredicated_hardware 0.29s, startup_gfx2hlsl_compute_f-broadcast_hardware 0.29s, startup_gfx2hlsl_compute_g-swapped-offsets_hardware 0.27s, startup_gfx2hlsl_interp_f16_controls 0.24s, startup_gfx2hlsl_compute_k-block-entered_hardware 0.29s, startup_gfx2hlsl_compute_f-broadcast_warp 0.29s, startup_gfx2hlsl_join_symbols_folded_warp 0.21s, startup_gfx2hlsl_dpp_quad_swap_controls 0.14s, startup_gfx2hlsl_compute_f-peer_warp 0.30s, startup_gfx2hlsl_cmp16_controls 0.27s, startup_gfx2hlsl_sopk_signext 0.16s, startup_gfx2hlsl_operand_count 0.22s, startup_gfx2hlsl_shift64_controls 0.16s, startup_gfx2hlsl_join_symbols_folded_hardware 0.23s, startup_gfx2hlsl_mul_hi_controls 0.14s, startup_gfx2hlsl_export_mask_drop_control 0.14s, startup_gfx2hlsl_dpp_pair 0.14s, startup_gfx2hlsl_scalar_shift64_bfe_controls 0.22s, startup_gfx2hlsl_readfirstlane_uniform 0.15s, startup_gfx2hlsl_export_mask 0.17s, startup_gfx2hlsl_scalar_m0_controls 0.11s, startup_gfx2hlsl_sgpr_spill_controls 0.15s, startup_gfx2hlsl_add_sub_co_controls 0.13s, startup_gfx2hlsl_s_sext_cmov 0.13s, startup_gfx2hlsl_cvt_pk_u8_controls 0.12s, startup_gfx2hlsl_calculated_target 0.11s, startup_gfx2hlsl_vcvt_omod 0.11s, startup_gfx2hlsl_opsel 0.10s, startup_gfx2hlsl_tbuffer_16f 0.10s, startup_gfx2hlsl_dpp_quad_broadcast 0.14s, startup_gfx2hlsl_cndmask_neg 0.10s, startup_gfx2hlsl_smem_offset 0.10s, startup_gfx2hlsl_mask_overwrite_controls 0.11s, startup_gfx2hlsl_cselect_mask_controls 0.11s, startup_gfx2hlsl_s_bitcmp 0.11s, startup_gfx2hlsl_int_med3_controls 0.15s, startup_gfx2hlsl_b64_shift 0.11s, startup_gfx2hlsl_op_refusals 0.10s, startup_gfx2hlsl_readfirstlane_recompute 0.12s, startup_gfx2hlsl_loop_constants 0.10s, startup_gfx2hlsl_handler_arity 0.11s, startup_gfx2hlsl_neg_operand 0.11s, startup_gfx2hlsl_compare_dst_controls 0.10s, startup_gfx2hlsl_scalar_brev_fold 0.12s, startup_gfx2hlsl_mad_controls 0.13s, startup_gfx2hlsl_image_get_lod_controls 0.11s, startup_gfx2hlsl_image_arity 0.10s, startup_gfx2hlsl_saveexec_same_reg_controls 0.12s, startup_gfx2hlsl_mul_hi_hardware 0.69s)
  • Release /O2 (--preset release):
    • Build (cmake --build --preset release --target d3d12_xs_device_obj d3d12_xs_shim -- -j 2): 36.72s (configure 0.00s)
    • Test (ctest --preset release -R '^startup_gfx2hlsl_' --parallel 6 --no-tests=error --output-on-failure): 131/131 passed (43.76s: startup_gfx2hlsl_vopc_sdwa 7.52s, startup_gfx2hlsl_f32_nan 8.25s, startup_gfx2hlsl_cvt_alu_warp 6.51s, startup_gfx2hlsl_cvt_alu_hardware 6.58s, startup_gfx2hlsl_f32_nan_warp 14.86s, startup_gfx2hlsl_f32_nan_hardware 15.09s, startup_gfx2hlsl_f32_sdwa_hardware 20.48s, startup_gfx2hlsl_f32_sdwa_warp 20.51s, startup_gfx2hlsl_bit_alu_hardware 7.86s, startup_gfx2hlsl_cmp_class_f16 7.24s, startup_gfx2hlsl_sop2_complement 7.13s, startup_gfx2hlsl_bit_alu_warp 7.80s, startup_gfx2hlsl_f32_lg_hardware 5.09s, startup_gfx2hlsl_shift64_hardware 3.68s, startup_gfx2hlsl_shift64_warp 3.59s, startup_gfx2hlsl_f32_lg_warp 4.92s, startup_gfx2hlsl_s_lshl_add 5.65s, startup_gfx2hlsl_cmp_class 7.48s, startup_gfx2hlsl_dpp_pair_hardware 2.09s, startup_gfx2hlsl_dpp_pair_warp 2.06s, startup_gfx2hlsl_f32_sdwa 4.67s, startup_gfx2hlsl_watch 4.08s, startup_gfx2hlsl_dpp_quad_swap_hardware 5.76s, startup_gfx2hlsl_mad_dispatch_hardware 5.29s, startup_gfx2hlsl_compute_hardware 6.02s, startup_gfx2hlsl_dpp_quad_swap_warp 5.99s, startup_gfx2hlsl_cmp16_warp 4.03s, startup_gfx2hlsl_sdwa_cvt_hardware 2.65s, startup_gfx2hlsl_cmp16_hardware 2.31s, startup_gfx2hlsl_mad_preserve_hardware 1.24s, startup_gfx2hlsl_f32_lg 2.26s, startup_gfx2hlsl_mad_dispatch_warp 1.98s, startup_gfx2hlsl_sdwa_cvt_warp 2.42s, startup_gfx2hlsl_vopc_sdwa_hardware 1.67s, startup_gfx2hlsl_compute_warp 2.61s, startup_gfx2hlsl_scalar_m0_hardware 1.43s, startup_gfx2hlsl_scalar_m0_warp 1.38s, startup_gfx2hlsl_sgpr_spill_warp 1.08s, startup_gfx2hlsl_vopc_sdwa_warp 1.46s, startup_gfx2hlsl_mad_preserve_warp 1.15s, startup_gfx2hlsl_capture 1.37s, startup_gfx2hlsl_dpp_quad_broadcast_hardware 1.01s, startup_gfx2hlsl_sopk_accum 1.22s, startup_gfx2hlsl_cvt_pk_u8_warp 0.85s, startup_gfx2hlsl_sgpr_spill_hardware 1.13s, startup_gfx2hlsl_dpp_quad_broadcast_warp 1.05s, startup_gfx2hlsl_mul_hi_warp 1.11s, startup_gfx2hlsl_interp_f16_warp 1.11s, startup_gfx2hlsl_interp_f16_hardware 1.23s, startup_gfx2hlsl_compute_mbcnt_warp 1.03s, startup_gfx2hlsl_bit_alu_controls 0.97s, startup_gfx2hlsl_root 0.96s, startup_gfx2hlsl_cvt_pk_u8_hardware 1.08s, startup_gfx2hlsl_join_symbols_warp 0.42s, startup_gfx2hlsl_compute_g-overlap_warp 0.33s, startup_gfx2hlsl_draw_skip 0.65s, startup_gfx2hlsl_compute_mbcnt_hardware 0.91s, startup_gfx2hlsl_buffer_store 0.67s, startup_gfx2hlsl_refusals 0.61s, startup_gfx2hlsl_sdwa 0.21s, startup_gfx2hlsl_compute_g-swapped-offsets_warp 0.32s, startup_gfx2hlsl_compute_b-offset_warp 0.33s, startup_gfx2hlsl_compute_controls 0.47s, startup_gfx2hlsl_join_symbols_hardware 0.43s, startup_gfx2hlsl_compute_c-unpredicated_warp 0.33s, startup_gfx2hlsl_compute_swapped-axes_warp 0.31s, startup_gfx2hlsl_compute_dropped-store_warp 0.33s, startup_gfx2hlsl_compute_k-block-entered_hardware 0.33s, startup_gfx2hlsl_compute_j-scalar-dropped_warp 0.33s, startup_gfx2hlsl_compute_j-scalar-dropped_hardware 0.33s, startup_gfx2hlsl_join_symbols_controls 0.28s, startup_gfx2hlsl_compute_h-inner-unpredicated_warp 0.33s, startup_gfx2hlsl_compute_f-broadcast_hardware 0.31s, startup_gfx2hlsl_compute_g-overlap_hardware 0.31s, startup_gfx2hlsl_compute_g-swapped-offsets_hardware 0.32s, startup_gfx2hlsl_compute_f-peer_hardware 0.34s, startup_gfx2hlsl_compute_h-inner-unpredicated_hardware 0.34s, startup_gfx2hlsl_join_symbols_folded_hardware 0.23s, startup_gfx2hlsl_scalar_shift64_bfe_controls 0.27s, startup_gfx2hlsl_compute_swapped-axes_hardware 0.34s, startup_gfx2hlsl_compute_c-unpredicated_hardware 0.32s, startup_gfx2hlsl_compute_k-block-entered_warp 0.29s, startup_gfx2hlsl_compute_b-offset_hardware 0.31s, startup_gfx2hlsl_swap 0.34s, startup_gfx2hlsl_compute_f-peer_warp 0.34s, startup_gfx2hlsl_dpp_quad_swap_controls 0.18s, startup_gfx2hlsl_cmp16_controls 0.35s, startup_gfx2hlsl_compute_dropped-store_hardware 0.32s, startup_gfx2hlsl_compute_f-broadcast_warp 0.32s, startup_gfx2hlsl_cvt_alu_controls 0.20s, startup_gfx2hlsl_interp_f16_controls 0.24s, startup_gfx2hlsl_mul_hi_controls 0.15s, startup_gfx2hlsl_join_symbols_folded_warp 0.22s, startup_gfx2hlsl_sample_c_lz_mip 0.22s, startup_gfx2hlsl_sdwa_cvt 0.36s, startup_gfx2hlsl_operand_count 0.24s, startup_gfx2hlsl_dpp_pair 0.15s, startup_gfx2hlsl_scalar_m0_controls 0.13s, startup_gfx2hlsl_cndmask_neg 0.12s, startup_gfx2hlsl_vcvt_omod 0.13s, startup_gfx2hlsl_shift64_controls 0.19s, startup_gfx2hlsl_sopk_signext 0.18s, startup_gfx2hlsl_readfirstlane_uniform 0.14s, startup_gfx2hlsl_sgpr_spill_controls 0.14s, startup_gfx2hlsl_b64_shift 0.11s, startup_gfx2hlsl_opsel 0.13s, startup_gfx2hlsl_smem_offset 0.13s, startup_gfx2hlsl_cvt_pk_u8_controls 0.13s, startup_gfx2hlsl_tbuffer_16f 0.13s, startup_gfx2hlsl_dpp_quad_broadcast 0.17s, startup_gfx2hlsl_export_mask_drop_control 0.16s, startup_gfx2hlsl_s_sext_cmov 0.13s, startup_gfx2hlsl_mad_controls 0.18s, startup_gfx2hlsl_op_refusals 0.11s, startup_gfx2hlsl_add_sub_co_controls 0.14s, startup_gfx2hlsl_export_mask 0.17s, startup_gfx2hlsl_int_med3_controls 0.16s, startup_gfx2hlsl_image_get_lod_controls 0.14s, startup_gfx2hlsl_calculated_target 0.13s, startup_gfx2hlsl_scalar_brev_fold 0.14s, startup_gfx2hlsl_s_bitcmp 0.14s, startup_gfx2hlsl_saveexec_same_reg_controls 0.13s, startup_gfx2hlsl_readfirstlane_recompute 0.12s, startup_gfx2hlsl_cselect_mask_controls 0.13s, startup_gfx2hlsl_handler_arity 0.13s, startup_gfx2hlsl_loop_constants 0.11s, startup_gfx2hlsl_mask_overwrite_controls 0.13s, startup_gfx2hlsl_image_arity 0.12s, startup_gfx2hlsl_neg_operand 0.11s, startup_gfx2hlsl_compare_dst_controls 0.10s, startup_gfx2hlsl_mul_hi_hardware 0.76s)
  • Windows Python checks: tests/mesh_heap_sampler_check.py ok (0.5s), 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.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.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 120.8s
**@⁠tedin7** on GitHub · 2026-11-25 17:30 UTC · [original](https://github.com/R0Y00/Xbox2Windows/pull/2408#issuecomment-7169598938) Verified on Windows Server 2025 (Build 26100, MSVC 14.44.35207 + D3D12 WARP) at commit `6543c96994addc08605a79a8ecc7b0b24f43ccb7`: - **Debug (`--preset dev`)**: - Build (`cmake --build --preset dev --target d3d12_xs_device_obj d3d12_xs_shim -- -j 2`): `2.75s` (configure `0.00s`) - Test (`ctest --preset dev -R '^startup_gfx2hlsl_' --parallel 6 --no-tests=error --output-on-failure`): **131/131 passed** (`36.71s`: `startup_gfx2hlsl_cvt_alu_warp` `7.71s`, `startup_gfx2hlsl_f32_nan` `8.92s`, `startup_gfx2hlsl_f32_lg_warp` `4.88s`, `startup_gfx2hlsl_f32_nan_warp` `14.53s`, `startup_gfx2hlsl_f32_nan_hardware` `14.53s`, `startup_gfx2hlsl_bit_alu_warp` `6.84s`, `startup_gfx2hlsl_f32_sdwa_hardware` `19.28s`, `startup_gfx2hlsl_f32_sdwa_warp` `19.47s`, `startup_gfx2hlsl_sop2_complement` `5.78s`, `startup_gfx2hlsl_cvt_alu_hardware` `5.72s`, `startup_gfx2hlsl_cmp_class_f16` `5.73s`, `startup_gfx2hlsl_bit_alu_hardware` `6.36s`, `startup_gfx2hlsl_sdwa_cvt_warp` `1.92s`, `startup_gfx2hlsl_shift64_warp` `3.22s`, `startup_gfx2hlsl_s_lshl_add` `4.47s`, `startup_gfx2hlsl_dpp_pair_warp` `1.84s`, `startup_gfx2hlsl_f32_lg_hardware` `4.44s`, `startup_gfx2hlsl_vopc_sdwa` `5.71s`, `startup_gfx2hlsl_cmp_class` `5.59s`, `startup_gfx2hlsl_f32_sdwa` `2.87s`, `startup_gfx2hlsl_dpp_pair_hardware` `2.05s`, `startup_gfx2hlsl_dpp_quad_swap_warp` `2.15s`, `startup_gfx2hlsl_dpp_quad_swap_hardware` `2.12s`, `startup_gfx2hlsl_watch` `2.73s`, `startup_gfx2hlsl_shift64_hardware` `3.46s`, `startup_gfx2hlsl_mad_dispatch_warp` `1.56s`, `startup_gfx2hlsl_compute_hardware` `2.14s`, `startup_gfx2hlsl_mad_dispatch_hardware` `1.59s`, `startup_gfx2hlsl_cmp16_warp` `2.01s`, `startup_gfx2hlsl_cmp16_hardware` `1.99s`, `startup_gfx2hlsl_sdwa_cvt_hardware` `2.02s`, `startup_gfx2hlsl_scalar_m0_warp` `1.16s`, `startup_gfx2hlsl_f32_lg` `1.76s`, `startup_gfx2hlsl_mad_preserve_hardware` `1.02s`, `startup_gfx2hlsl_compute_warp` `2.14s`, `startup_gfx2hlsl_vopc_sdwa_warp` `1.32s`, `startup_gfx2hlsl_vopc_sdwa_hardware` `1.37s`, `startup_gfx2hlsl_mad_preserve_warp` `1.04s`, `startup_gfx2hlsl_sgpr_spill_warp` `1.00s`, `startup_gfx2hlsl_compute_dropped-store_hardware` `0.31s`, `startup_gfx2hlsl_capture` `1.21s`, `startup_gfx2hlsl_compute_mbcnt_warp` `0.69s`, `startup_gfx2hlsl_dpp_quad_broadcast_warp` `0.98s`, `startup_gfx2hlsl_compute_swapped-axes_hardware` `0.32s`, `startup_gfx2hlsl_compute_b-offset_hardware` `0.31s`, `startup_gfx2hlsl_interp_f16_warp` `0.90s`, `startup_gfx2hlsl_compute_c-unpredicated_hardware` `0.33s`, `startup_gfx2hlsl_scalar_m0_hardware` `1.17s`, `startup_gfx2hlsl_dpp_quad_broadcast_hardware` `0.96s`, `startup_gfx2hlsl_cvt_pk_u8_warp` `0.92s`, `startup_gfx2hlsl_compute_dropped-store_warp` `0.40s`, `startup_gfx2hlsl_sgpr_spill_hardware` `1.15s`, `startup_gfx2hlsl_root` `0.83s`, `startup_gfx2hlsl_compute_c-unpredicated_warp` `0.35s`, `startup_gfx2hlsl_mul_hi_warp` `1.23s`, `startup_gfx2hlsl_compute_b-offset_warp` `0.32s`, `startup_gfx2hlsl_sopk_accum` `1.15s`, `startup_gfx2hlsl_compute_swapped-axes_warp` `0.28s`, `startup_gfx2hlsl_compute_controls` `0.44s`, `startup_gfx2hlsl_join_symbols_warp` `0.38s`, `startup_gfx2hlsl_interp_f16_hardware` `0.87s`, `startup_gfx2hlsl_compute_mbcnt_hardware` `0.69s`, `startup_gfx2hlsl_join_symbols_controls` `0.23s`, `startup_gfx2hlsl_bit_alu_controls` `0.85s`, `startup_gfx2hlsl_cvt_pk_u8_hardware` `0.79s`, `startup_gfx2hlsl_refusals` `0.56s`, `startup_gfx2hlsl_buffer_store` `0.55s`, `startup_gfx2hlsl_sdwa` `0.18s`, `startup_gfx2hlsl_sample_c_lz_mip` `0.20s`, `startup_gfx2hlsl_compute_g-overlap_warp` `0.26s`, `startup_gfx2hlsl_swap` `0.28s`, `startup_gfx2hlsl_compute_g-swapped-offsets_warp` `0.29s`, `startup_gfx2hlsl_cvt_alu_controls` `0.17s`, `startup_gfx2hlsl_compute_j-scalar-dropped_warp` `0.30s`, `startup_gfx2hlsl_draw_skip` `0.48s`, `startup_gfx2hlsl_join_symbols_hardware` `0.39s`, `startup_gfx2hlsl_compute_h-inner-unpredicated_warp` `0.28s`, `startup_gfx2hlsl_compute_f-peer_hardware` `0.28s`, `startup_gfx2hlsl_compute_k-block-entered_warp` `0.29s`, `startup_gfx2hlsl_compute_j-scalar-dropped_hardware` `0.30s`, `startup_gfx2hlsl_sdwa_cvt` `0.34s`, `startup_gfx2hlsl_compute_g-overlap_hardware` `0.30s`, `startup_gfx2hlsl_compute_h-inner-unpredicated_hardware` `0.29s`, `startup_gfx2hlsl_compute_f-broadcast_hardware` `0.29s`, `startup_gfx2hlsl_compute_g-swapped-offsets_hardware` `0.27s`, `startup_gfx2hlsl_interp_f16_controls` `0.24s`, `startup_gfx2hlsl_compute_k-block-entered_hardware` `0.29s`, `startup_gfx2hlsl_compute_f-broadcast_warp` `0.29s`, `startup_gfx2hlsl_join_symbols_folded_warp` `0.21s`, `startup_gfx2hlsl_dpp_quad_swap_controls` `0.14s`, `startup_gfx2hlsl_compute_f-peer_warp` `0.30s`, `startup_gfx2hlsl_cmp16_controls` `0.27s`, `startup_gfx2hlsl_sopk_signext` `0.16s`, `startup_gfx2hlsl_operand_count` `0.22s`, `startup_gfx2hlsl_shift64_controls` `0.16s`, `startup_gfx2hlsl_join_symbols_folded_hardware` `0.23s`, `startup_gfx2hlsl_mul_hi_controls` `0.14s`, `startup_gfx2hlsl_export_mask_drop_control` `0.14s`, `startup_gfx2hlsl_dpp_pair` `0.14s`, `startup_gfx2hlsl_scalar_shift64_bfe_controls` `0.22s`, `startup_gfx2hlsl_readfirstlane_uniform` `0.15s`, `startup_gfx2hlsl_export_mask` `0.17s`, `startup_gfx2hlsl_scalar_m0_controls` `0.11s`, `startup_gfx2hlsl_sgpr_spill_controls` `0.15s`, `startup_gfx2hlsl_add_sub_co_controls` `0.13s`, `startup_gfx2hlsl_s_sext_cmov` `0.13s`, `startup_gfx2hlsl_cvt_pk_u8_controls` `0.12s`, `startup_gfx2hlsl_calculated_target` `0.11s`, `startup_gfx2hlsl_vcvt_omod` `0.11s`, `startup_gfx2hlsl_opsel` `0.10s`, `startup_gfx2hlsl_tbuffer_16f` `0.10s`, `startup_gfx2hlsl_dpp_quad_broadcast` `0.14s`, `startup_gfx2hlsl_cndmask_neg` `0.10s`, `startup_gfx2hlsl_smem_offset` `0.10s`, `startup_gfx2hlsl_mask_overwrite_controls` `0.11s`, `startup_gfx2hlsl_cselect_mask_controls` `0.11s`, `startup_gfx2hlsl_s_bitcmp` `0.11s`, `startup_gfx2hlsl_int_med3_controls` `0.15s`, `startup_gfx2hlsl_b64_shift` `0.11s`, `startup_gfx2hlsl_op_refusals` `0.10s`, `startup_gfx2hlsl_readfirstlane_recompute` `0.12s`, `startup_gfx2hlsl_loop_constants` `0.10s`, `startup_gfx2hlsl_handler_arity` `0.11s`, `startup_gfx2hlsl_neg_operand` `0.11s`, `startup_gfx2hlsl_compare_dst_controls` `0.10s`, `startup_gfx2hlsl_scalar_brev_fold` `0.12s`, `startup_gfx2hlsl_mad_controls` `0.13s`, `startup_gfx2hlsl_image_get_lod_controls` `0.11s`, `startup_gfx2hlsl_image_arity` `0.10s`, `startup_gfx2hlsl_saveexec_same_reg_controls` `0.12s`, `startup_gfx2hlsl_mul_hi_hardware` `0.69s`) - **Release `/O2` (`--preset release`)**: - Build (`cmake --build --preset release --target d3d12_xs_device_obj d3d12_xs_shim -- -j 2`): `36.72s` (configure `0.00s`) - Test (`ctest --preset release -R '^startup_gfx2hlsl_' --parallel 6 --no-tests=error --output-on-failure`): **131/131 passed** (`43.76s`: `startup_gfx2hlsl_vopc_sdwa` `7.52s`, `startup_gfx2hlsl_f32_nan` `8.25s`, `startup_gfx2hlsl_cvt_alu_warp` `6.51s`, `startup_gfx2hlsl_cvt_alu_hardware` `6.58s`, `startup_gfx2hlsl_f32_nan_warp` `14.86s`, `startup_gfx2hlsl_f32_nan_hardware` `15.09s`, `startup_gfx2hlsl_f32_sdwa_hardware` `20.48s`, `startup_gfx2hlsl_f32_sdwa_warp` `20.51s`, `startup_gfx2hlsl_bit_alu_hardware` `7.86s`, `startup_gfx2hlsl_cmp_class_f16` `7.24s`, `startup_gfx2hlsl_sop2_complement` `7.13s`, `startup_gfx2hlsl_bit_alu_warp` `7.80s`, `startup_gfx2hlsl_f32_lg_hardware` `5.09s`, `startup_gfx2hlsl_shift64_hardware` `3.68s`, `startup_gfx2hlsl_shift64_warp` `3.59s`, `startup_gfx2hlsl_f32_lg_warp` `4.92s`, `startup_gfx2hlsl_s_lshl_add` `5.65s`, `startup_gfx2hlsl_cmp_class` `7.48s`, `startup_gfx2hlsl_dpp_pair_hardware` `2.09s`, `startup_gfx2hlsl_dpp_pair_warp` `2.06s`, `startup_gfx2hlsl_f32_sdwa` `4.67s`, `startup_gfx2hlsl_watch` `4.08s`, `startup_gfx2hlsl_dpp_quad_swap_hardware` `5.76s`, `startup_gfx2hlsl_mad_dispatch_hardware` `5.29s`, `startup_gfx2hlsl_compute_hardware` `6.02s`, `startup_gfx2hlsl_dpp_quad_swap_warp` `5.99s`, `startup_gfx2hlsl_cmp16_warp` `4.03s`, `startup_gfx2hlsl_sdwa_cvt_hardware` `2.65s`, `startup_gfx2hlsl_cmp16_hardware` `2.31s`, `startup_gfx2hlsl_mad_preserve_hardware` `1.24s`, `startup_gfx2hlsl_f32_lg` `2.26s`, `startup_gfx2hlsl_mad_dispatch_warp` `1.98s`, `startup_gfx2hlsl_sdwa_cvt_warp` `2.42s`, `startup_gfx2hlsl_vopc_sdwa_hardware` `1.67s`, `startup_gfx2hlsl_compute_warp` `2.61s`, `startup_gfx2hlsl_scalar_m0_hardware` `1.43s`, `startup_gfx2hlsl_scalar_m0_warp` `1.38s`, `startup_gfx2hlsl_sgpr_spill_warp` `1.08s`, `startup_gfx2hlsl_vopc_sdwa_warp` `1.46s`, `startup_gfx2hlsl_mad_preserve_warp` `1.15s`, `startup_gfx2hlsl_capture` `1.37s`, `startup_gfx2hlsl_dpp_quad_broadcast_hardware` `1.01s`, `startup_gfx2hlsl_sopk_accum` `1.22s`, `startup_gfx2hlsl_cvt_pk_u8_warp` `0.85s`, `startup_gfx2hlsl_sgpr_spill_hardware` `1.13s`, `startup_gfx2hlsl_dpp_quad_broadcast_warp` `1.05s`, `startup_gfx2hlsl_mul_hi_warp` `1.11s`, `startup_gfx2hlsl_interp_f16_warp` `1.11s`, `startup_gfx2hlsl_interp_f16_hardware` `1.23s`, `startup_gfx2hlsl_compute_mbcnt_warp` `1.03s`, `startup_gfx2hlsl_bit_alu_controls` `0.97s`, `startup_gfx2hlsl_root` `0.96s`, `startup_gfx2hlsl_cvt_pk_u8_hardware` `1.08s`, `startup_gfx2hlsl_join_symbols_warp` `0.42s`, `startup_gfx2hlsl_compute_g-overlap_warp` `0.33s`, `startup_gfx2hlsl_draw_skip` `0.65s`, `startup_gfx2hlsl_compute_mbcnt_hardware` `0.91s`, `startup_gfx2hlsl_buffer_store` `0.67s`, `startup_gfx2hlsl_refusals` `0.61s`, `startup_gfx2hlsl_sdwa` `0.21s`, `startup_gfx2hlsl_compute_g-swapped-offsets_warp` `0.32s`, `startup_gfx2hlsl_compute_b-offset_warp` `0.33s`, `startup_gfx2hlsl_compute_controls` `0.47s`, `startup_gfx2hlsl_join_symbols_hardware` `0.43s`, `startup_gfx2hlsl_compute_c-unpredicated_warp` `0.33s`, `startup_gfx2hlsl_compute_swapped-axes_warp` `0.31s`, `startup_gfx2hlsl_compute_dropped-store_warp` `0.33s`, `startup_gfx2hlsl_compute_k-block-entered_hardware` `0.33s`, `startup_gfx2hlsl_compute_j-scalar-dropped_warp` `0.33s`, `startup_gfx2hlsl_compute_j-scalar-dropped_hardware` `0.33s`, `startup_gfx2hlsl_join_symbols_controls` `0.28s`, `startup_gfx2hlsl_compute_h-inner-unpredicated_warp` `0.33s`, `startup_gfx2hlsl_compute_f-broadcast_hardware` `0.31s`, `startup_gfx2hlsl_compute_g-overlap_hardware` `0.31s`, `startup_gfx2hlsl_compute_g-swapped-offsets_hardware` `0.32s`, `startup_gfx2hlsl_compute_f-peer_hardware` `0.34s`, `startup_gfx2hlsl_compute_h-inner-unpredicated_hardware` `0.34s`, `startup_gfx2hlsl_join_symbols_folded_hardware` `0.23s`, `startup_gfx2hlsl_scalar_shift64_bfe_controls` `0.27s`, `startup_gfx2hlsl_compute_swapped-axes_hardware` `0.34s`, `startup_gfx2hlsl_compute_c-unpredicated_hardware` `0.32s`, `startup_gfx2hlsl_compute_k-block-entered_warp` `0.29s`, `startup_gfx2hlsl_compute_b-offset_hardware` `0.31s`, `startup_gfx2hlsl_swap` `0.34s`, `startup_gfx2hlsl_compute_f-peer_warp` `0.34s`, `startup_gfx2hlsl_dpp_quad_swap_controls` `0.18s`, `startup_gfx2hlsl_cmp16_controls` `0.35s`, `startup_gfx2hlsl_compute_dropped-store_hardware` `0.32s`, `startup_gfx2hlsl_compute_f-broadcast_warp` `0.32s`, `startup_gfx2hlsl_cvt_alu_controls` `0.20s`, `startup_gfx2hlsl_interp_f16_controls` `0.24s`, `startup_gfx2hlsl_mul_hi_controls` `0.15s`, `startup_gfx2hlsl_join_symbols_folded_warp` `0.22s`, `startup_gfx2hlsl_sample_c_lz_mip` `0.22s`, `startup_gfx2hlsl_sdwa_cvt` `0.36s`, `startup_gfx2hlsl_operand_count` `0.24s`, `startup_gfx2hlsl_dpp_pair` `0.15s`, `startup_gfx2hlsl_scalar_m0_controls` `0.13s`, `startup_gfx2hlsl_cndmask_neg` `0.12s`, `startup_gfx2hlsl_vcvt_omod` `0.13s`, `startup_gfx2hlsl_shift64_controls` `0.19s`, `startup_gfx2hlsl_sopk_signext` `0.18s`, `startup_gfx2hlsl_readfirstlane_uniform` `0.14s`, `startup_gfx2hlsl_sgpr_spill_controls` `0.14s`, `startup_gfx2hlsl_b64_shift` `0.11s`, `startup_gfx2hlsl_opsel` `0.13s`, `startup_gfx2hlsl_smem_offset` `0.13s`, `startup_gfx2hlsl_cvt_pk_u8_controls` `0.13s`, `startup_gfx2hlsl_tbuffer_16f` `0.13s`, `startup_gfx2hlsl_dpp_quad_broadcast` `0.17s`, `startup_gfx2hlsl_export_mask_drop_control` `0.16s`, `startup_gfx2hlsl_s_sext_cmov` `0.13s`, `startup_gfx2hlsl_mad_controls` `0.18s`, `startup_gfx2hlsl_op_refusals` `0.11s`, `startup_gfx2hlsl_add_sub_co_controls` `0.14s`, `startup_gfx2hlsl_export_mask` `0.17s`, `startup_gfx2hlsl_int_med3_controls` `0.16s`, `startup_gfx2hlsl_image_get_lod_controls` `0.14s`, `startup_gfx2hlsl_calculated_target` `0.13s`, `startup_gfx2hlsl_scalar_brev_fold` `0.14s`, `startup_gfx2hlsl_s_bitcmp` `0.14s`, `startup_gfx2hlsl_saveexec_same_reg_controls` `0.13s`, `startup_gfx2hlsl_readfirstlane_recompute` `0.12s`, `startup_gfx2hlsl_cselect_mask_controls` `0.13s`, `startup_gfx2hlsl_handler_arity` `0.13s`, `startup_gfx2hlsl_loop_constants` `0.11s`, `startup_gfx2hlsl_mask_overwrite_controls` `0.13s`, `startup_gfx2hlsl_image_arity` `0.12s`, `startup_gfx2hlsl_neg_operand` `0.11s`, `startup_gfx2hlsl_compare_dst_controls` `0.10s`, `startup_gfx2hlsl_mul_hi_hardware` `0.76s`) - **Windows Python checks**: `tests/mesh_heap_sampler_check.py` ok (`0.5s`), `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.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.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 `120.8s`
Author
Owner

@⁠tedin7 on GitHub · 2026-11-25 17:46 UTC · original

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

  • Debug (--preset dev):
    • Build (cmake --build --preset dev --target d3d12_xs_device_obj d3d12_xs_shim -- -j 2): 3.17s (configure 1.64s)
    • Test (ctest --preset dev -R '^startup_gfx2hlsl_' --parallel 6 --no-tests=error --output-on-failure): 131/131 passed (36.23s: startup_gfx2hlsl_cvt_alu_warp 7.99s, startup_gfx2hlsl_f32_nan 9.10s, startup_gfx2hlsl_f32_lg_hardware 4.90s, startup_gfx2hlsl_f32_nan_hardware 14.53s, startup_gfx2hlsl_bit_alu_warp 6.79s, startup_gfx2hlsl_f32_nan_warp 14.87s, startup_gfx2hlsl_f32_sdwa_warp 19.38s, startup_gfx2hlsl_f32_lg_warp 4.66s, startup_gfx2hlsl_f32_sdwa_hardware 19.82s, startup_gfx2hlsl_sop2_complement 5.93s, startup_gfx2hlsl_cvt_alu_hardware 5.72s, startup_gfx2hlsl_bit_alu_hardware 6.53s, startup_gfx2hlsl_shift64_hardware 3.26s, startup_gfx2hlsl_s_lshl_add 4.22s, startup_gfx2hlsl_shift64_warp 3.15s, startup_gfx2hlsl_cmp_class_f16 5.06s, startup_gfx2hlsl_vopc_sdwa 5.56s, startup_gfx2hlsl_cmp_class 5.56s, startup_gfx2hlsl_sdwa_cvt_warp 1.89s, startup_gfx2hlsl_dpp_pair_warp 1.88s, startup_gfx2hlsl_dpp_pair_hardware 1.94s, startup_gfx2hlsl_sdwa_cvt_hardware 1.96s, startup_gfx2hlsl_f32_sdwa 3.01s, startup_gfx2hlsl_compute_hardware 2.15s, startup_gfx2hlsl_dpp_quad_swap_hardware 2.06s, startup_gfx2hlsl_cmp16_hardware 2.08s, startup_gfx2hlsl_cmp16_warp 2.05s, startup_gfx2hlsl_mad_dispatch_hardware 1.65s, startup_gfx2hlsl_dpp_quad_swap_warp 2.03s, startup_gfx2hlsl_mad_dispatch_warp 1.61s, startup_gfx2hlsl_watch 2.70s, startup_gfx2hlsl_vopc_sdwa_hardware 1.26s, startup_gfx2hlsl_mul_hi_hardware 0.95s, startup_gfx2hlsl_compute_warp 2.05s, startup_gfx2hlsl_mad_preserve_hardware 1.00s, startup_gfx2hlsl_sgpr_spill_hardware 0.95s, startup_gfx2hlsl_f32_lg 1.67s, startup_gfx2hlsl_vopc_sdwa_warp 1.33s, startup_gfx2hlsl_scalar_m0_hardware 1.17s, startup_gfx2hlsl_interp_f16_hardware 0.90s, startup_gfx2hlsl_scalar_m0_warp 1.15s, startup_gfx2hlsl_mul_hi_warp 1.05s, startup_gfx2hlsl_dpp_quad_broadcast_hardware 1.01s, startup_gfx2hlsl_mad_preserve_warp 1.02s, startup_gfx2hlsl_dpp_quad_broadcast_warp 0.95s, startup_gfx2hlsl_sgpr_spill_warp 0.98s, startup_gfx2hlsl_capture 1.20s, startup_gfx2hlsl_interp_f16_warp 0.95s, startup_gfx2hlsl_compute_mbcnt_warp 0.80s, startup_gfx2hlsl_cvt_pk_u8_warp 0.90s, startup_gfx2hlsl_compute_c-unpredicated_warp 0.41s, startup_gfx2hlsl_compute_dropped-store_warp 0.45s, startup_gfx2hlsl_root 0.83s, startup_gfx2hlsl_compute_dropped-store_hardware 0.37s, startup_gfx2hlsl_compute_swapped-axes_hardware 0.35s, startup_gfx2hlsl_sopk_accum 1.11s, startup_gfx2hlsl_compute_b-offset_warp 0.30s, startup_gfx2hlsl_compute_swapped-axes_warp 0.29s, startup_gfx2hlsl_compute_b-offset_hardware 0.27s, startup_gfx2hlsl_cvt_pk_u8_hardware 0.88s, startup_gfx2hlsl_compute_controls 0.44s, startup_gfx2hlsl_compute_c-unpredicated_hardware 0.30s, startup_gfx2hlsl_bit_alu_controls 0.80s, startup_gfx2hlsl_join_symbols_warp 0.39s, startup_gfx2hlsl_compute_mbcnt_hardware 0.71s, startup_gfx2hlsl_sdwa 0.19s, startup_gfx2hlsl_buffer_store 0.52s, startup_gfx2hlsl_refusals 0.53s, startup_gfx2hlsl_join_symbols_controls 0.23s, startup_gfx2hlsl_draw_skip 0.48s, startup_gfx2hlsl_sample_c_lz_mip 0.20s, startup_gfx2hlsl_join_symbols_hardware 0.38s, startup_gfx2hlsl_compute_g-overlap_warp 0.26s, startup_gfx2hlsl_compute_g-swapped-offsets_warp 0.29s, startup_gfx2hlsl_swap 0.33s, startup_gfx2hlsl_compute_j-scalar-dropped_warp 0.30s, startup_gfx2hlsl_compute_k-block-entered_warp 0.28s, startup_gfx2hlsl_compute_j-scalar-dropped_hardware 0.28s, startup_gfx2hlsl_compute_g-overlap_hardware 0.28s, startup_gfx2hlsl_compute_h-inner-unpredicated_warp 0.29s, startup_gfx2hlsl_compute_h-inner-unpredicated_hardware 0.28s, startup_gfx2hlsl_sdwa_cvt 0.35s, startup_gfx2hlsl_compute_f-broadcast_hardware 0.29s, startup_gfx2hlsl_compute_f-peer_hardware 0.31s, startup_gfx2hlsl_compute_k-block-entered_hardware 0.29s, startup_gfx2hlsl_compute_g-swapped-offsets_hardware 0.28s, startup_gfx2hlsl_compute_f-broadcast_warp 0.28s, startup_gfx2hlsl_compute_f-peer_warp 0.29s, startup_gfx2hlsl_cmp16_controls 0.29s, startup_gfx2hlsl_cvt_alu_controls 0.17s, startup_gfx2hlsl_dpp_quad_swap_controls 0.14s, startup_gfx2hlsl_interp_f16_controls 0.21s, startup_gfx2hlsl_operand_count 0.20s, startup_gfx2hlsl_join_symbols_folded_warp 0.22s, startup_gfx2hlsl_scalar_shift64_bfe_controls 0.22s, startup_gfx2hlsl_join_symbols_folded_hardware 0.20s, startup_gfx2hlsl_sopk_signext 0.16s, startup_gfx2hlsl_shift64_controls 0.16s, startup_gfx2hlsl_export_mask_drop_control 0.15s, startup_gfx2hlsl_export_mask 0.16s, startup_gfx2hlsl_dpp_pair 0.13s, startup_gfx2hlsl_readfirstlane_uniform 0.13s, startup_gfx2hlsl_sgpr_spill_controls 0.13s, startup_gfx2hlsl_scalar_m0_controls 0.11s, startup_gfx2hlsl_add_sub_co_controls 0.13s, startup_gfx2hlsl_dpp_quad_broadcast 0.12s, startup_gfx2hlsl_cvt_pk_u8_controls 0.12s, startup_gfx2hlsl_s_sext_cmov 0.12s, startup_gfx2hlsl_calculated_target 0.12s, startup_gfx2hlsl_vcvt_omod 0.11s, startup_gfx2hlsl_cndmask_neg 0.10s, startup_gfx2hlsl_int_med3_controls 0.14s, startup_gfx2hlsl_mul_hi_controls 0.12s, startup_gfx2hlsl_opsel 0.12s, startup_gfx2hlsl_smem_offset 0.10s, startup_gfx2hlsl_tbuffer_16f 0.10s, startup_gfx2hlsl_mask_overwrite_controls 0.12s, startup_gfx2hlsl_cselect_mask_controls 0.11s, startup_gfx2hlsl_s_bitcmp 0.12s, startup_gfx2hlsl_b64_shift 0.10s, startup_gfx2hlsl_readfirstlane_recompute 0.12s, startup_gfx2hlsl_op_refusals 0.11s, startup_gfx2hlsl_handler_arity 0.11s, startup_gfx2hlsl_neg_operand 0.10s, startup_gfx2hlsl_loop_constants 0.10s, startup_gfx2hlsl_compare_dst_controls 0.10s, startup_gfx2hlsl_mad_controls 0.13s, startup_gfx2hlsl_scalar_brev_fold 0.12s, startup_gfx2hlsl_image_get_lod_controls 0.11s, startup_gfx2hlsl_saveexec_same_reg_controls 0.11s, startup_gfx2hlsl_image_arity 0.09s)
  • Release /O2 (--preset release):
    • Build (cmake --build --preset release --target d3d12_xs_device_obj d3d12_xs_shim -- -j 2): 36.23s (configure 1.66s)
    • Test (ctest --preset release -R '^startup_gfx2hlsl_' --parallel 6 --no-tests=error --output-on-failure): 131/131 passed (35.92s: startup_gfx2hlsl_vopc_sdwa 8.17s, startup_gfx2hlsl_f32_nan 8.67s, startup_gfx2hlsl_f32_nan_warp 13.94s, startup_gfx2hlsl_f32_nan_hardware 14.02s, startup_gfx2hlsl_cvt_alu_warp 5.90s, startup_gfx2hlsl_bit_alu_hardware 6.86s, startup_gfx2hlsl_f32_sdwa_hardware 18.74s, startup_gfx2hlsl_f32_sdwa_warp 18.79s, startup_gfx2hlsl_cvt_alu_hardware 5.81s, startup_gfx2hlsl_cmp_class_f16 5.80s, startup_gfx2hlsl_cmp_class 6.04s, startup_gfx2hlsl_bit_alu_warp 6.32s, startup_gfx2hlsl_s_lshl_add 4.67s, startup_gfx2hlsl_shift64_hardware 3.35s, startup_gfx2hlsl_f32_lg_warp 4.36s, startup_gfx2hlsl_f32_lg_hardware 4.39s, startup_gfx2hlsl_sop2_complement 5.54s, startup_gfx2hlsl_shift64_warp 3.31s, startup_gfx2hlsl_compute_hardware 2.09s, startup_gfx2hlsl_dpp_quad_swap_hardware 1.98s, startup_gfx2hlsl_dpp_quad_swap_warp 1.91s, startup_gfx2hlsl_mad_dispatch_hardware 1.60s, startup_gfx2hlsl_f32_sdwa 3.00s, startup_gfx2hlsl_watch 2.69s, startup_gfx2hlsl_dpp_pair_hardware 1.91s, startup_gfx2hlsl_cmp16_warp 1.97s, startup_gfx2hlsl_dpp_pair_warp 1.91s, startup_gfx2hlsl_sdwa_cvt_hardware 1.91s, startup_gfx2hlsl_cmp16_hardware 2.00s, startup_gfx2hlsl_sdwa_cvt_warp 1.94s, startup_gfx2hlsl_vopc_sdwa_hardware 1.34s, startup_gfx2hlsl_scalar_m0_hardware 1.16s, startup_gfx2hlsl_mad_dispatch_warp 1.60s, startup_gfx2hlsl_f32_lg 1.74s, startup_gfx2hlsl_compute_warp 2.12s, startup_gfx2hlsl_vopc_sdwa_warp 1.30s, startup_gfx2hlsl_mad_preserve_hardware 0.99s, startup_gfx2hlsl_scalar_m0_warp 1.16s, startup_gfx2hlsl_sopk_accum 1.03s, startup_gfx2hlsl_capture 1.19s, startup_gfx2hlsl_sgpr_spill_warp 1.02s, startup_gfx2hlsl_mad_preserve_warp 1.03s, startup_gfx2hlsl_mul_hi_warp 1.12s, startup_gfx2hlsl_sgpr_spill_hardware 1.04s, startup_gfx2hlsl_dpp_quad_broadcast_warp 1.02s, startup_gfx2hlsl_dpp_quad_broadcast_hardware 1.02s, startup_gfx2hlsl_interp_f16_hardware 1.01s, startup_gfx2hlsl_mul_hi_hardware 1.07s, startup_gfx2hlsl_cvt_pk_u8_warp 0.82s, startup_gfx2hlsl_cvt_pk_u8_hardware 0.82s, startup_gfx2hlsl_interp_f16_warp 0.97s, startup_gfx2hlsl_bit_alu_controls 1.11s, startup_gfx2hlsl_root 0.84s, startup_gfx2hlsl_compute_mbcnt_warp 0.97s, startup_gfx2hlsl_buffer_store 0.69s, startup_gfx2hlsl_draw_skip 0.64s, startup_gfx2hlsl_compute_mbcnt_hardware 0.88s, startup_gfx2hlsl_join_symbols_warp 0.39s, startup_gfx2hlsl_compute_controls 0.48s, startup_gfx2hlsl_refusals 0.61s, startup_gfx2hlsl_sdwa 0.21s, startup_gfx2hlsl_compute_g-overlap_warp 0.32s, startup_gfx2hlsl_join_symbols_hardware 0.38s, startup_gfx2hlsl_compute_b-offset_warp 0.29s, startup_gfx2hlsl_compute_c-unpredicated_warp 0.28s, startup_gfx2hlsl_compute_swapped-axes_warp 0.28s, startup_gfx2hlsl_compute_dropped-store_warp 0.28s, startup_gfx2hlsl_compute_g-swapped-offsets_warp 0.29s, startup_gfx2hlsl_compute_k-block-entered_hardware 0.28s, startup_gfx2hlsl_compute_j-scalar-dropped_hardware 0.30s, startup_gfx2hlsl_compute_j-scalar-dropped_warp 0.28s, startup_gfx2hlsl_compute_h-inner-unpredicated_warp 0.28s, startup_gfx2hlsl_compute_f-broadcast_hardware 0.29s, startup_gfx2hlsl_compute_g-overlap_hardware 0.29s, startup_gfx2hlsl_compute_h-inner-unpredicated_hardware 0.29s, startup_gfx2hlsl_join_symbols_controls 0.24s, startup_gfx2hlsl_compute_f-peer_hardware 0.29s, startup_gfx2hlsl_compute_g-swapped-offsets_hardware 0.30s, startup_gfx2hlsl_cmp16_controls 0.28s, startup_gfx2hlsl_compute_c-unpredicated_hardware 0.28s, startup_gfx2hlsl_compute_swapped-axes_hardware 0.27s, startup_gfx2hlsl_compute_b-offset_hardware 0.28s, startup_gfx2hlsl_compute_f-peer_warp 0.28s, startup_gfx2hlsl_compute_k-block-entered_warp 0.27s, startup_gfx2hlsl_swap 0.28s, startup_gfx2hlsl_compute_f-broadcast_warp 0.29s, startup_gfx2hlsl_scalar_shift64_bfe_controls 0.22s, startup_gfx2hlsl_compute_dropped-store_hardware 0.30s, startup_gfx2hlsl_dpp_quad_swap_controls 0.14s, startup_gfx2hlsl_join_symbols_folded_hardware 0.20s, startup_gfx2hlsl_cvt_alu_controls 0.16s, startup_gfx2hlsl_interp_f16_controls 0.22s, startup_gfx2hlsl_operand_count 0.20s, startup_gfx2hlsl_sdwa_cvt 0.33s, startup_gfx2hlsl_shift64_controls 0.14s, startup_gfx2hlsl_sopk_signext 0.14s, startup_gfx2hlsl_sample_c_lz_mip 0.19s, startup_gfx2hlsl_join_symbols_folded_warp 0.22s, startup_gfx2hlsl_dpp_pair 0.16s, startup_gfx2hlsl_cndmask_neg 0.11s, startup_gfx2hlsl_readfirstlane_uniform 0.13s, startup_gfx2hlsl_vcvt_omod 0.10s, startup_gfx2hlsl_scalar_m0_controls 0.11s, startup_gfx2hlsl_export_mask_drop_control 0.14s, startup_gfx2hlsl_dpp_quad_broadcast 0.13s, startup_gfx2hlsl_sgpr_spill_controls 0.12s, startup_gfx2hlsl_mad_controls 0.13s, startup_gfx2hlsl_mul_hi_controls 0.13s, startup_gfx2hlsl_smem_offset 0.10s, startup_gfx2hlsl_export_mask 0.15s, startup_gfx2hlsl_opsel 0.10s, startup_gfx2hlsl_cvt_pk_u8_controls 0.14s, startup_gfx2hlsl_b64_shift 0.11s, startup_gfx2hlsl_tbuffer_16f 0.10s, startup_gfx2hlsl_int_med3_controls 0.12s, startup_gfx2hlsl_add_sub_co_controls 0.13s, 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.11s, startup_gfx2hlsl_op_refusals 0.10s, startup_gfx2hlsl_calculated_target 0.11s, startup_gfx2hlsl_cselect_mask_controls 0.11s, startup_gfx2hlsl_mask_overwrite_controls 0.12s, startup_gfx2hlsl_saveexec_same_reg_controls 0.11s, startup_gfx2hlsl_handler_arity 0.11s, startup_gfx2hlsl_image_arity 0.10s, startup_gfx2hlsl_readfirstlane_recompute 0.11s, 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.5s), 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.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.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: 4/6 hits; wall 118.6s

AI-assisted; commands listed were executed locally.

**@⁠tedin7** on GitHub · 2026-11-25 17:46 UTC · [original](https://github.com/R0Y00/Xbox2Windows/pull/2408#issuecomment-7169970930) Verified on Windows Server 2025 (Build 26100, MSVC 14.44.35207 + D3D12 WARP) at commit `12430144dfc7b16b056e45af566f78c8bd300316`: - **Debug (`--preset dev`)**: - Build (`cmake --build --preset dev --target d3d12_xs_device_obj d3d12_xs_shim -- -j 2`): `3.17s` (configure `1.64s`) - Test (`ctest --preset dev -R '^startup_gfx2hlsl_' --parallel 6 --no-tests=error --output-on-failure`): **131/131 passed** (`36.23s`: `startup_gfx2hlsl_cvt_alu_warp` `7.99s`, `startup_gfx2hlsl_f32_nan` `9.10s`, `startup_gfx2hlsl_f32_lg_hardware` `4.90s`, `startup_gfx2hlsl_f32_nan_hardware` `14.53s`, `startup_gfx2hlsl_bit_alu_warp` `6.79s`, `startup_gfx2hlsl_f32_nan_warp` `14.87s`, `startup_gfx2hlsl_f32_sdwa_warp` `19.38s`, `startup_gfx2hlsl_f32_lg_warp` `4.66s`, `startup_gfx2hlsl_f32_sdwa_hardware` `19.82s`, `startup_gfx2hlsl_sop2_complement` `5.93s`, `startup_gfx2hlsl_cvt_alu_hardware` `5.72s`, `startup_gfx2hlsl_bit_alu_hardware` `6.53s`, `startup_gfx2hlsl_shift64_hardware` `3.26s`, `startup_gfx2hlsl_s_lshl_add` `4.22s`, `startup_gfx2hlsl_shift64_warp` `3.15s`, `startup_gfx2hlsl_cmp_class_f16` `5.06s`, `startup_gfx2hlsl_vopc_sdwa` `5.56s`, `startup_gfx2hlsl_cmp_class` `5.56s`, `startup_gfx2hlsl_sdwa_cvt_warp` `1.89s`, `startup_gfx2hlsl_dpp_pair_warp` `1.88s`, `startup_gfx2hlsl_dpp_pair_hardware` `1.94s`, `startup_gfx2hlsl_sdwa_cvt_hardware` `1.96s`, `startup_gfx2hlsl_f32_sdwa` `3.01s`, `startup_gfx2hlsl_compute_hardware` `2.15s`, `startup_gfx2hlsl_dpp_quad_swap_hardware` `2.06s`, `startup_gfx2hlsl_cmp16_hardware` `2.08s`, `startup_gfx2hlsl_cmp16_warp` `2.05s`, `startup_gfx2hlsl_mad_dispatch_hardware` `1.65s`, `startup_gfx2hlsl_dpp_quad_swap_warp` `2.03s`, `startup_gfx2hlsl_mad_dispatch_warp` `1.61s`, `startup_gfx2hlsl_watch` `2.70s`, `startup_gfx2hlsl_vopc_sdwa_hardware` `1.26s`, `startup_gfx2hlsl_mul_hi_hardware` `0.95s`, `startup_gfx2hlsl_compute_warp` `2.05s`, `startup_gfx2hlsl_mad_preserve_hardware` `1.00s`, `startup_gfx2hlsl_sgpr_spill_hardware` `0.95s`, `startup_gfx2hlsl_f32_lg` `1.67s`, `startup_gfx2hlsl_vopc_sdwa_warp` `1.33s`, `startup_gfx2hlsl_scalar_m0_hardware` `1.17s`, `startup_gfx2hlsl_interp_f16_hardware` `0.90s`, `startup_gfx2hlsl_scalar_m0_warp` `1.15s`, `startup_gfx2hlsl_mul_hi_warp` `1.05s`, `startup_gfx2hlsl_dpp_quad_broadcast_hardware` `1.01s`, `startup_gfx2hlsl_mad_preserve_warp` `1.02s`, `startup_gfx2hlsl_dpp_quad_broadcast_warp` `0.95s`, `startup_gfx2hlsl_sgpr_spill_warp` `0.98s`, `startup_gfx2hlsl_capture` `1.20s`, `startup_gfx2hlsl_interp_f16_warp` `0.95s`, `startup_gfx2hlsl_compute_mbcnt_warp` `0.80s`, `startup_gfx2hlsl_cvt_pk_u8_warp` `0.90s`, `startup_gfx2hlsl_compute_c-unpredicated_warp` `0.41s`, `startup_gfx2hlsl_compute_dropped-store_warp` `0.45s`, `startup_gfx2hlsl_root` `0.83s`, `startup_gfx2hlsl_compute_dropped-store_hardware` `0.37s`, `startup_gfx2hlsl_compute_swapped-axes_hardware` `0.35s`, `startup_gfx2hlsl_sopk_accum` `1.11s`, `startup_gfx2hlsl_compute_b-offset_warp` `0.30s`, `startup_gfx2hlsl_compute_swapped-axes_warp` `0.29s`, `startup_gfx2hlsl_compute_b-offset_hardware` `0.27s`, `startup_gfx2hlsl_cvt_pk_u8_hardware` `0.88s`, `startup_gfx2hlsl_compute_controls` `0.44s`, `startup_gfx2hlsl_compute_c-unpredicated_hardware` `0.30s`, `startup_gfx2hlsl_bit_alu_controls` `0.80s`, `startup_gfx2hlsl_join_symbols_warp` `0.39s`, `startup_gfx2hlsl_compute_mbcnt_hardware` `0.71s`, `startup_gfx2hlsl_sdwa` `0.19s`, `startup_gfx2hlsl_buffer_store` `0.52s`, `startup_gfx2hlsl_refusals` `0.53s`, `startup_gfx2hlsl_join_symbols_controls` `0.23s`, `startup_gfx2hlsl_draw_skip` `0.48s`, `startup_gfx2hlsl_sample_c_lz_mip` `0.20s`, `startup_gfx2hlsl_join_symbols_hardware` `0.38s`, `startup_gfx2hlsl_compute_g-overlap_warp` `0.26s`, `startup_gfx2hlsl_compute_g-swapped-offsets_warp` `0.29s`, `startup_gfx2hlsl_swap` `0.33s`, `startup_gfx2hlsl_compute_j-scalar-dropped_warp` `0.30s`, `startup_gfx2hlsl_compute_k-block-entered_warp` `0.28s`, `startup_gfx2hlsl_compute_j-scalar-dropped_hardware` `0.28s`, `startup_gfx2hlsl_compute_g-overlap_hardware` `0.28s`, `startup_gfx2hlsl_compute_h-inner-unpredicated_warp` `0.29s`, `startup_gfx2hlsl_compute_h-inner-unpredicated_hardware` `0.28s`, `startup_gfx2hlsl_sdwa_cvt` `0.35s`, `startup_gfx2hlsl_compute_f-broadcast_hardware` `0.29s`, `startup_gfx2hlsl_compute_f-peer_hardware` `0.31s`, `startup_gfx2hlsl_compute_k-block-entered_hardware` `0.29s`, `startup_gfx2hlsl_compute_g-swapped-offsets_hardware` `0.28s`, `startup_gfx2hlsl_compute_f-broadcast_warp` `0.28s`, `startup_gfx2hlsl_compute_f-peer_warp` `0.29s`, `startup_gfx2hlsl_cmp16_controls` `0.29s`, `startup_gfx2hlsl_cvt_alu_controls` `0.17s`, `startup_gfx2hlsl_dpp_quad_swap_controls` `0.14s`, `startup_gfx2hlsl_interp_f16_controls` `0.21s`, `startup_gfx2hlsl_operand_count` `0.20s`, `startup_gfx2hlsl_join_symbols_folded_warp` `0.22s`, `startup_gfx2hlsl_scalar_shift64_bfe_controls` `0.22s`, `startup_gfx2hlsl_join_symbols_folded_hardware` `0.20s`, `startup_gfx2hlsl_sopk_signext` `0.16s`, `startup_gfx2hlsl_shift64_controls` `0.16s`, `startup_gfx2hlsl_export_mask_drop_control` `0.15s`, `startup_gfx2hlsl_export_mask` `0.16s`, `startup_gfx2hlsl_dpp_pair` `0.13s`, `startup_gfx2hlsl_readfirstlane_uniform` `0.13s`, `startup_gfx2hlsl_sgpr_spill_controls` `0.13s`, `startup_gfx2hlsl_scalar_m0_controls` `0.11s`, `startup_gfx2hlsl_add_sub_co_controls` `0.13s`, `startup_gfx2hlsl_dpp_quad_broadcast` `0.12s`, `startup_gfx2hlsl_cvt_pk_u8_controls` `0.12s`, `startup_gfx2hlsl_s_sext_cmov` `0.12s`, `startup_gfx2hlsl_calculated_target` `0.12s`, `startup_gfx2hlsl_vcvt_omod` `0.11s`, `startup_gfx2hlsl_cndmask_neg` `0.10s`, `startup_gfx2hlsl_int_med3_controls` `0.14s`, `startup_gfx2hlsl_mul_hi_controls` `0.12s`, `startup_gfx2hlsl_opsel` `0.12s`, `startup_gfx2hlsl_smem_offset` `0.10s`, `startup_gfx2hlsl_tbuffer_16f` `0.10s`, `startup_gfx2hlsl_mask_overwrite_controls` `0.12s`, `startup_gfx2hlsl_cselect_mask_controls` `0.11s`, `startup_gfx2hlsl_s_bitcmp` `0.12s`, `startup_gfx2hlsl_b64_shift` `0.10s`, `startup_gfx2hlsl_readfirstlane_recompute` `0.12s`, `startup_gfx2hlsl_op_refusals` `0.11s`, `startup_gfx2hlsl_handler_arity` `0.11s`, `startup_gfx2hlsl_neg_operand` `0.10s`, `startup_gfx2hlsl_loop_constants` `0.10s`, `startup_gfx2hlsl_compare_dst_controls` `0.10s`, `startup_gfx2hlsl_mad_controls` `0.13s`, `startup_gfx2hlsl_scalar_brev_fold` `0.12s`, `startup_gfx2hlsl_image_get_lod_controls` `0.11s`, `startup_gfx2hlsl_saveexec_same_reg_controls` `0.11s`, `startup_gfx2hlsl_image_arity` `0.09s`) - **Release `/O2` (`--preset release`)**: - Build (`cmake --build --preset release --target d3d12_xs_device_obj d3d12_xs_shim -- -j 2`): `36.23s` (configure `1.66s`) - Test (`ctest --preset release -R '^startup_gfx2hlsl_' --parallel 6 --no-tests=error --output-on-failure`): **131/131 passed** (`35.92s`: `startup_gfx2hlsl_vopc_sdwa` `8.17s`, `startup_gfx2hlsl_f32_nan` `8.67s`, `startup_gfx2hlsl_f32_nan_warp` `13.94s`, `startup_gfx2hlsl_f32_nan_hardware` `14.02s`, `startup_gfx2hlsl_cvt_alu_warp` `5.90s`, `startup_gfx2hlsl_bit_alu_hardware` `6.86s`, `startup_gfx2hlsl_f32_sdwa_hardware` `18.74s`, `startup_gfx2hlsl_f32_sdwa_warp` `18.79s`, `startup_gfx2hlsl_cvt_alu_hardware` `5.81s`, `startup_gfx2hlsl_cmp_class_f16` `5.80s`, `startup_gfx2hlsl_cmp_class` `6.04s`, `startup_gfx2hlsl_bit_alu_warp` `6.32s`, `startup_gfx2hlsl_s_lshl_add` `4.67s`, `startup_gfx2hlsl_shift64_hardware` `3.35s`, `startup_gfx2hlsl_f32_lg_warp` `4.36s`, `startup_gfx2hlsl_f32_lg_hardware` `4.39s`, `startup_gfx2hlsl_sop2_complement` `5.54s`, `startup_gfx2hlsl_shift64_warp` `3.31s`, `startup_gfx2hlsl_compute_hardware` `2.09s`, `startup_gfx2hlsl_dpp_quad_swap_hardware` `1.98s`, `startup_gfx2hlsl_dpp_quad_swap_warp` `1.91s`, `startup_gfx2hlsl_mad_dispatch_hardware` `1.60s`, `startup_gfx2hlsl_f32_sdwa` `3.00s`, `startup_gfx2hlsl_watch` `2.69s`, `startup_gfx2hlsl_dpp_pair_hardware` `1.91s`, `startup_gfx2hlsl_cmp16_warp` `1.97s`, `startup_gfx2hlsl_dpp_pair_warp` `1.91s`, `startup_gfx2hlsl_sdwa_cvt_hardware` `1.91s`, `startup_gfx2hlsl_cmp16_hardware` `2.00s`, `startup_gfx2hlsl_sdwa_cvt_warp` `1.94s`, `startup_gfx2hlsl_vopc_sdwa_hardware` `1.34s`, `startup_gfx2hlsl_scalar_m0_hardware` `1.16s`, `startup_gfx2hlsl_mad_dispatch_warp` `1.60s`, `startup_gfx2hlsl_f32_lg` `1.74s`, `startup_gfx2hlsl_compute_warp` `2.12s`, `startup_gfx2hlsl_vopc_sdwa_warp` `1.30s`, `startup_gfx2hlsl_mad_preserve_hardware` `0.99s`, `startup_gfx2hlsl_scalar_m0_warp` `1.16s`, `startup_gfx2hlsl_sopk_accum` `1.03s`, `startup_gfx2hlsl_capture` `1.19s`, `startup_gfx2hlsl_sgpr_spill_warp` `1.02s`, `startup_gfx2hlsl_mad_preserve_warp` `1.03s`, `startup_gfx2hlsl_mul_hi_warp` `1.12s`, `startup_gfx2hlsl_sgpr_spill_hardware` `1.04s`, `startup_gfx2hlsl_dpp_quad_broadcast_warp` `1.02s`, `startup_gfx2hlsl_dpp_quad_broadcast_hardware` `1.02s`, `startup_gfx2hlsl_interp_f16_hardware` `1.01s`, `startup_gfx2hlsl_mul_hi_hardware` `1.07s`, `startup_gfx2hlsl_cvt_pk_u8_warp` `0.82s`, `startup_gfx2hlsl_cvt_pk_u8_hardware` `0.82s`, `startup_gfx2hlsl_interp_f16_warp` `0.97s`, `startup_gfx2hlsl_bit_alu_controls` `1.11s`, `startup_gfx2hlsl_root` `0.84s`, `startup_gfx2hlsl_compute_mbcnt_warp` `0.97s`, `startup_gfx2hlsl_buffer_store` `0.69s`, `startup_gfx2hlsl_draw_skip` `0.64s`, `startup_gfx2hlsl_compute_mbcnt_hardware` `0.88s`, `startup_gfx2hlsl_join_symbols_warp` `0.39s`, `startup_gfx2hlsl_compute_controls` `0.48s`, `startup_gfx2hlsl_refusals` `0.61s`, `startup_gfx2hlsl_sdwa` `0.21s`, `startup_gfx2hlsl_compute_g-overlap_warp` `0.32s`, `startup_gfx2hlsl_join_symbols_hardware` `0.38s`, `startup_gfx2hlsl_compute_b-offset_warp` `0.29s`, `startup_gfx2hlsl_compute_c-unpredicated_warp` `0.28s`, `startup_gfx2hlsl_compute_swapped-axes_warp` `0.28s`, `startup_gfx2hlsl_compute_dropped-store_warp` `0.28s`, `startup_gfx2hlsl_compute_g-swapped-offsets_warp` `0.29s`, `startup_gfx2hlsl_compute_k-block-entered_hardware` `0.28s`, `startup_gfx2hlsl_compute_j-scalar-dropped_hardware` `0.30s`, `startup_gfx2hlsl_compute_j-scalar-dropped_warp` `0.28s`, `startup_gfx2hlsl_compute_h-inner-unpredicated_warp` `0.28s`, `startup_gfx2hlsl_compute_f-broadcast_hardware` `0.29s`, `startup_gfx2hlsl_compute_g-overlap_hardware` `0.29s`, `startup_gfx2hlsl_compute_h-inner-unpredicated_hardware` `0.29s`, `startup_gfx2hlsl_join_symbols_controls` `0.24s`, `startup_gfx2hlsl_compute_f-peer_hardware` `0.29s`, `startup_gfx2hlsl_compute_g-swapped-offsets_hardware` `0.30s`, `startup_gfx2hlsl_cmp16_controls` `0.28s`, `startup_gfx2hlsl_compute_c-unpredicated_hardware` `0.28s`, `startup_gfx2hlsl_compute_swapped-axes_hardware` `0.27s`, `startup_gfx2hlsl_compute_b-offset_hardware` `0.28s`, `startup_gfx2hlsl_compute_f-peer_warp` `0.28s`, `startup_gfx2hlsl_compute_k-block-entered_warp` `0.27s`, `startup_gfx2hlsl_swap` `0.28s`, `startup_gfx2hlsl_compute_f-broadcast_warp` `0.29s`, `startup_gfx2hlsl_scalar_shift64_bfe_controls` `0.22s`, `startup_gfx2hlsl_compute_dropped-store_hardware` `0.30s`, `startup_gfx2hlsl_dpp_quad_swap_controls` `0.14s`, `startup_gfx2hlsl_join_symbols_folded_hardware` `0.20s`, `startup_gfx2hlsl_cvt_alu_controls` `0.16s`, `startup_gfx2hlsl_interp_f16_controls` `0.22s`, `startup_gfx2hlsl_operand_count` `0.20s`, `startup_gfx2hlsl_sdwa_cvt` `0.33s`, `startup_gfx2hlsl_shift64_controls` `0.14s`, `startup_gfx2hlsl_sopk_signext` `0.14s`, `startup_gfx2hlsl_sample_c_lz_mip` `0.19s`, `startup_gfx2hlsl_join_symbols_folded_warp` `0.22s`, `startup_gfx2hlsl_dpp_pair` `0.16s`, `startup_gfx2hlsl_cndmask_neg` `0.11s`, `startup_gfx2hlsl_readfirstlane_uniform` `0.13s`, `startup_gfx2hlsl_vcvt_omod` `0.10s`, `startup_gfx2hlsl_scalar_m0_controls` `0.11s`, `startup_gfx2hlsl_export_mask_drop_control` `0.14s`, `startup_gfx2hlsl_dpp_quad_broadcast` `0.13s`, `startup_gfx2hlsl_sgpr_spill_controls` `0.12s`, `startup_gfx2hlsl_mad_controls` `0.13s`, `startup_gfx2hlsl_mul_hi_controls` `0.13s`, `startup_gfx2hlsl_smem_offset` `0.10s`, `startup_gfx2hlsl_export_mask` `0.15s`, `startup_gfx2hlsl_opsel` `0.10s`, `startup_gfx2hlsl_cvt_pk_u8_controls` `0.14s`, `startup_gfx2hlsl_b64_shift` `0.11s`, `startup_gfx2hlsl_tbuffer_16f` `0.10s`, `startup_gfx2hlsl_int_med3_controls` `0.12s`, `startup_gfx2hlsl_add_sub_co_controls` `0.13s`, `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.11s`, `startup_gfx2hlsl_op_refusals` `0.10s`, `startup_gfx2hlsl_calculated_target` `0.11s`, `startup_gfx2hlsl_cselect_mask_controls` `0.11s`, `startup_gfx2hlsl_mask_overwrite_controls` `0.12s`, `startup_gfx2hlsl_saveexec_same_reg_controls` `0.11s`, `startup_gfx2hlsl_handler_arity` `0.11s`, `startup_gfx2hlsl_image_arity` `0.10s`, `startup_gfx2hlsl_readfirstlane_recompute` `0.11s`, `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.5s`), `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.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.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`: 4/6 hits; wall `118.6s` AI-assisted; commands listed were executed locally.
This discussion has been locked. Commenting is limited to contributors.
No description provided.