Skip to content

gfx2hlsl: keep a scalar constant across a branch target when its write dominates - #2460

Merged
tedin7 merged 6 commits into
R0Y00:mainfrom
NiiRoZz:startup/gfx2hlsl-join-dominating-constants
Nov 25, 2026
Merged

tedin7 merged 6 commits into
R0Y00:mainfrom
NiiRoZz:startup/gfx2hlsl-join-dominating-constants

Conversation

@NiiRoZz

@NiiRoZz NiiRoZz commented Nov 25, 2026

Copy link
Copy Markdown
Contributor

Depends on #2459 (this branch is stacked on it and reuses its dominance helper; the diff here includes that commit until it merges).

What / Why

At a branch target Stage.translate() drops every scalar constant whose register is in the target's joined set.
That set is built to be safe for symbols: besides the writes on paths into the target, it holds the writes of every
earlier block that is off the dominator chain. So a register that an earlier conditional block used for anything,
and that every path then sets to a constant, loses the constant at each later join, although no path into that join
writes it.

Measured effect: a constant sampler built with s_movk_i32, s_bfm_b32 and s_mov_b64 a few dozen instructions
before the image instruction reached it as four plain words. The image instruction was refused as a descriptor
operand without a symbol, or as image_gather4_lz requires a constant sampler. In every measured case the
constant's write dominated the join where it was dropped and no block on a path from the write to the join wrote
the register.

Change

  • The constant is dropped at a branch target only if it is not proven by its own write: the block of the register's
    last write (program order) must dominate the target, and no block on a path from that write to the target may
    write the register again. A register without a write in the program (entry constant) counts as written in the
    entry block.
  • A later arm or a loop body that writes the register still drops the constant, as before: the loop-counter and
    forward-join controls are unchanged and pass.
  • Stage.unjoined_masks(target, last_write) from the parent branch becomes Stage.unjoined(target, last_write, regs)
    and serves both the mask marks and the constants. s_movreld (any destination) now counts as the last write of
    every SGPR.
  • Symbols other than constants (pointers, descriptors) keep their existing join handling.

Tests

tests/startup_gfx2hlsl_loop_constants_check.py (extended, pure Python), 5 new programs:

  • constant set on every path after an earlier arm wrote the register, read after a second conditional block: folded;
  • the same with the second arm writing the register: read as the register (negative control);
  • constant set in an arm only, after an earlier arm wrote the register: read as the register (negative control);
  • constant set after an earlier arm and read in a loop that leaves it alone: folded;
  • the same with the loop body writing the register after the read: read as the register (negative control).
python -B tests/startup_gfx2hlsl_loop_constants_check.py   -> PASS (10 checks ok)
  same file against the parent commit's translator          -> FAIL: the 2 folded cases (3 negative controls pass)
  mutation: constants kept at every join                    -> 5 checks MISMATCH
python -B tests/startup_gfx2hlsl_sop2_complement_check.py   -> PASS
python -B tests/startup_gfx2hlsl_join_symbols_check.py      -> pass
python -B tests/startup_translator_check.py, tests/startup_gfx2hlsl_*_check.py, tests/startup_triage_run_check.py,
  tests/startup_inline_sampler_check.py, tests/startup_image_*_check.py, tests/compute_entry_layout_check.py
  (each, no arguments)                                      -> 76 of 77 files exit 0
git diff --check                                            -> clean

The one file that did not pass, tests/startup_image_get_lod_view_check.py, needs a compiler, renderer and adapter
argument and stops at its argument list. Not run: binary / decode modes (llvm-mc, libLLVM) and device checks.

Measured

First refusal per request over the same 124 locally captured vertex/pixel requests, on top of the parent branch and
a local merge of open translator PRs:

first refusal before after
descriptor operand holds no symbol (constant sampler after a join) 58 0
image_gather4_lz requires a constant sampler 2 0
SDWA form of v_cndmask_b32 (open PR #2391) 60 104
s_load through a pointer joined at a branch target 0 12
s_getpc_b64 0 4
v_readfirstlane_b32 requires a proven uniform source 4 4

Limits

  • No device evidence: translation only. The kept constants were assigned at run time already (set_s emits the
    assignment), so the change affects folding and constant-descriptor recognition, not which values exist.
  • The checks show scalar folding across joins. The constant sampler reaching an image instruction after a join is
    covered by the measurement only, not by a fixture.
  • No docs/ statement described the old drop rule, so no doc text changes. The test docstring's claim about a
    loop-body mutation was already not red on main and is corrected.
  • The rule relies on the same basic-block graph as joined_registers (calculated s_setpc_b64 targets included).

🤖 Generated with Claude Code

NiiRoZz and others added 2 commits November 25, 2026 18:17
s_nand_b32, s_nor_b32 and s_xnor_b32 were refused whenever an operand was a
lane mask. Bit i of ~(S0 op S1) depends only on bit i of each source, so with
every source a lane mask (vcc_lo, exec_lo or an SGPR holding a compare mask)
and an SGPR destination the lane's bit of the result is exact.

SCC is (the whole complemented word != 0), which the bits of the other lanes
decide. It is not emitted: the write is recorded as an SCC effect that is not
modelled, and the existing stale-SCC scan refuses a program that can read it
before the next SCC write, through joins and back edges.

The mask mark follows program order. At a branch target a marked SGPR stays
proven only if its last write dominates the target and no block on a path
from that write to the target writes it again; a complement on any other
marked SGPR is refused until the register is written again.

A mask mixed with a plain word or a constant, and a vcc_lo, exec_lo or m0
destination, stay refused.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
… dominates

At a branch target the translator drops every scalar constant whose register
is in the target's joined set. That set also holds the writes of every earlier
block that is off the dominator chain, so a register used inside an earlier
conditional block and then set to a constant on every path lost the constant
at each later join. A constant sampler built from s_movk_i32, s_bfm_b32 and
s_mov_b64 then reached the image instruction as four plain words and was
refused as a descriptor operand without a symbol.

The constant is now dropped only when it is not proven by its own write: the
block of the register's last write must dominate the target and no block on a
path from that write to the target may write the register again (the rule the
lane-mask complement uses for mask marks, now shared as Stage.unjoined). A
later arm or a loop body that writes the register still drops it.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

@tedin7 tedin7 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review of head 661c9a1 (Linux checks only; no Windows run by me). This branch is stacked on #2459: its first commit (d94dae5) is that PR's head, so I reviewed only the second commit (git diff HEAD~1 HEAD: gfx2hlsl.py, loop_constants check, a 6-line tweak to the complement check).

What I checked

  • Stage.unjoined(target, last_write, regs) generalizes unjoined_masks. For constants it keeps a scalar constant at a join only when the block of its last write dominates the target and no block on a path from that write to the target writes the register again. A loop counter set before a loop and bumped in the body is still dropped at the head (the body block is in after(w) & into). This matches the PR description.
  • last_write now records every SGPR for an any destination (s_movreld), so those writes also invalidate the proof. Good catch, consistent with the mask path.
  • Scope: small and additive, no CI/launcher/hook files. Because of the stack, the merge order must be #2459 first; after it merges the diff here shrinks to the second commit.
  • Duplicates: no other open or merged PR covers this (searched the repo for the constant-at-join change).

Commands run (all passed)

  • python3 -B tests/startup_gfx2hlsl_loop_constants_check.py -> PASS
  • python3 -B tests/startup_gfx2hlsl_sop2_complement_check.py -> PASS
  • python3 tests/docs_links_check.py -> OK; python3 tests/bidi_controls_check.py -> OK
  • git diff --check origin/main...HEAD -> clean
  • Mutation 1: drop all consts unconditionally (old behavior) -> loop_constants check FAILS ("constant set after an earlier arm ...").
  • Mutation 2: never drop a constant at a join -> loop_constants check FAILS (loop counter case reads the stale constant 0x0 << 3).
  • Worktree restored with git checkout -- . after each.

Notes

  • Evidence is CPU translation/evaluation only; the PR posts no Windows results, so I make no claim about Windows.
  • No P1/P2 correctness issue found.

AI-assisted; commands listed were executed locally.

legacy-code-archaeologist added a commit to legacy-code-archaeologist/Xbox2Windows that referenced this pull request Nov 25, 2026
@ChazY11

ChazY11 commented Nov 25, 2026

Copy link
Copy Markdown
Contributor

Five mutations on the join proof: four caught, and the survivor is a branch that no check in the family reaches

Baseline: startup_gfx2hlsl_loop_constants_check.py → PASS, startup_gfx2hlsl_sop2_complement_check.py → PASS, both exit 0.

mutation result
the dominator requirement dropped (w not in dom[t] or … → the clobber test alone) caught
the clobber scan dropped (dominator test alone) caught
an unreachable target treated as joined (set(regs) → set()) survived
the lane-mask refusal removed (… on a lane mask joined at a branch target) caught
the scc_effects gate dropped caught

The first two are the ones worth having together: unjoined() is the conjunction of "the last write dominates the target" and "nothing on a path from that write to the target writes the register again", and each half alone is caught, so the fixture exercises both a write that does not dominate and a write that is clobbered after dominating. A proof that kept only one half would be wrong in a different direction in each case, and both are visible.

The survivor: target not in index is never reached

Rather than guess, I counted the branch:

added `print('HIT-UNREACHABLE', …)` to the `target not in index` return, then ran every
tests/startup_gfx2hlsl_*_check.py:
    跑了 64 个 gfx2hlsl 检查(红 0),不可达目标分支命中 0 次

So no fixture in the family — not just this PR's two — ever takes that path. Two readings, and only you can say which:

  1. It is unreachable by construction. succ is built with [index[to]] if to in index else [], so a branch to an offset outside the program already contributes no successor edge; if such a target can never reach unjoined(), the guard is dead and could go with a one-line comment saying why.
  2. It is reachable but not yet exercised — a branch whose target lies past the last instruction. Then a one-case fixture (branch to an offset beyond the listing) would pin that the registers come back as unjoined rather than joined, which is the conservative reading and the one the current code takes.

Either way the mutation surviving is not a defect I can demonstrate; it is a line whose behaviour no test constrains.

What the two caught refusal-side rows establish

The lane-mask refusal and the scc_effects gate are both about what may cross a join at all. Removing either changes accepted output, so the fixtures are asserting the refusal, not just the acceptance — which is the half that tends to go untested.

AI-assisted; the five mutations and the 64-check reachability sweep were run locally on Windows 11 build 26300.9974.

NiiRoZz and others added 2 commits November 25, 2026 20:32
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Both callers pass the offset of an instruction in self.ins, and the flow index
is built from the same list, so the target is always in index.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@NiiRoZz

NiiRoZz commented Nov 25, 2026

Copy link
Copy Markdown
Contributor Author

Thanks for the mutation run. The target not in index return in Stage.unjoined cannot be reached, so I removed it instead of adding a case.

Both callers (the join of self.masks and the join of the dropped constants) are inside the instruction loop of translate and pass off, the offset of an instruction in self.ins. The flow index is built from the same self.ins, so every target passed is in it. A branch whose target lies past the last instruction never reaches the function: the loop only visits instruction offsets, and the successor edges are only built for targets in index.

Current main is merged into the branch (the base PR #2459 landed); head dfff36ea. Run from the repo root with the Python 3.13 venv:

  • python -B tests/startup_gfx2hlsl_loop_constants_check.py: PASS
  • python -B tests/startup_gfx2hlsl_sop2_complement_check.py: PASS
  • python -B tests/startup_translator_check.py: 0 failed
  • python -B tests/docs_links_check.py: passed
  • every no-argument tests/startup_gfx2hlsl_*_check.py (66 files): all exit 0

No CMake build or ctest run; these are the pure-Python checks only. git diff --check origin/main...HEAD is clean.

🤖 Generated with Claude Code

@tedin7 tedin7 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review of head dfff36e (Linux checks only; Windows run follows separately). #2459 is merged, so the dependency is satisfied. The change since the earlier review is main merges plus the removal of the unreachable target not in index guard in Stage.unjoined.

What I checked

  • Stage.unjoined(target, last_write, regs) now serves both the lane-mask marks and the constant drop (tools/startup/gfx2hlsl.py, join code near the consts set). The dominance plus no-rewrite-on-path rule is the same one the mask marks already used. s_movreld now counts as the last write of every SGPR, which is the safe direction.
  • Sibling callsites: the only callers are the mask join and the constant join, both inside the instruction loop and passing a real block offset, so the removed guard cannot be hit.
  • No other open or merged PR covers this slice (searched gfx2hlsl / constant / branch target).
  • Test guards the behavior: tests/startup_gfx2hlsl_loop_constants_check.py has two folded cases and three negative controls.

Commands run (worktree on the exact head)

  • python3 -B tests/startup_gfx2hlsl_loop_constants_check.py -> PASS
  • python3 -B tests/startup_gfx2hlsl_sop2_complement_check.py -> PASS
  • python3 -B tests/startup_gfx2hlsl_join_symbols_check.py -> PASS
  • python3 -B tests/startup_translator_check.py -> 0 failed
  • python3 tests/docs_links_check.py, python3 tests/bidi_controls_check.py, git diff --check origin/main...HEAD -> clean
  • Mutation 1: never keep a constant at a join (if False: in the drop condition) -> FAIL, 5 cases MISMATCH
  • Mutation 2: dominator check only, later-write check removed -> FAIL (the written-in-loop negative controls)

Findings: none. This is a translator-only change and makes no claim about running the game.

AI-assisted; commands listed were executed locally.

@tedin7

tedin7 commented Nov 25, 2026

Copy link
Copy Markdown
Collaborator

Win2025 WARP receipt for head dfff36e.

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

  • Debug (--preset dev):
    • Build (cmake --build --preset dev --target d3d12_xs_device_obj d3d12_xs_shim -- -j 2): 42.60s (configure 3.16s)
  • Release /O2 (--preset release):
    • Build (cmake --build --preset release --target d3d12_xs_device_obj d3d12_xs_shim -- -j 2): 2.39s (configure 3.38s)
  • Windows Python checks: tests/mesh_heap_sampler_check.py ok (1.2s), 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_add_sub_co_ci_check.py ok (0.2s), tests/startup_gfx2hlsl_bit_alu_check.py ok (0.8s), 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.2s), tests/startup_gfx2hlsl_compute_check.py ok (0.4s), 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.6s), tests/startup_gfx2hlsl_f32_nan_check.py ok (6.8s), tests/startup_gfx2hlsl_getpc_refusal_check.py ok (0.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.3s), tests/startup_gfx2hlsl_loop_constants_check.py ok (0.1s), tests/startup_gfx2hlsl_mask_overwrite_check.py ok (0.1s), tests/startup_gfx2hlsl_operand_count_check.py ok (0.4s), tests/startup_gfx2hlsl_readfirstlane_recompute_check.py ok (0.1s), tests/startup_gfx2hlsl_readfirstlane_uniform_check.py ok (0.2s), tests/startup_gfx2hlsl_refusals_check.py ok (0.6s), tests/startup_gfx2hlsl_root_check.py ok (0.9s), tests/startup_gfx2hlsl_saveexec_same_reg_check.py ok (0.1s), tests/startup_gfx2hlsl_scalar_arity_check.py ok (0.2s), tests/startup_gfx2hlsl_scalar_brev_fold_check.py ok (0.2s), tests/startup_gfx2hlsl_scalar_m0_check.py ok (0.1s), tests/startup_gfx2hlsl_sdwa_cvt_check.py ok (0.4s), tests/startup_gfx2hlsl_sgpr_spill_check.py ok (0.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 (8.2s), tests/startup_gfx2hlsl_sopk_accum_check.py ok (1.2s), 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.8s), tests/startup_gfx2hlsl_waitcnt_depctr_check.py ok (0.1s), tests/startup_gfx2hlsl_watch_check.py ok (2.7s), tests/startup_image_2d_array_check.py ok (0.3s), tests/startup_image_3d_check.py ok (0.1s), tests/startup_image_gather_lz_check.py ok (0.8s), tests/startup_image_load_d16_check.py ok (1.2s), tests/startup_image_sample_a16_check.py ok (0.2s), tests/startup_image_sample_b_check.py ok (0.2s), tests/startup_image_sample_c_check.py ok (0.3s), tests/startup_image_sample_l_check.py ok (0.2s), tests/startup_image_sample_lod_check.py ok (0.8s), tests/startup_inline_sampler_check.py ok (0.2s), tests/startup_mesh57_skeleton_check.py ok (0.2s), tests/startup_run_ps1_check.py ok (14.5s), tests/startup_run_sh_check.py FAIL (0.1s), tests/startup_sampler_heap_check.py ok (0.1s), tests/startup_smem_address_check.py ok (0.1s), tests/startup_stream_fetch_check.py ok (0.3s), tests/startup_stream_interface_check.py ok (0.3s), tests/startup_translator_check.py ok (0.8s)
  • sccache: 122/351 hits; wall 122.9s

AI-assisted; commands listed were executed locally.

@tedin7 tedin7 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review of head 9038e45 (merge of main into the PR branch; the PR's own diff is unchanged: gfx2hlsl.py plus two check files; #2459 is merged so the dependency has landed).

Checked:

  • Stage.unjoined(target, last_write, regs) now serves both lane-mask marks and scalar constants. A constant is dropped at a join only if the block of its last write does not dominate the target, or a block on a path from that write to the target writes it again. Logic reads correct, including entry constants (no write counts as entry block) and s_movreld (any destination now records every SGPR in last_write).
  • Tests guard the behavior: tests/startup_gfx2hlsl_loop_constants_check.py covers constant set after an earlier arm (kept), the same constant written in a loop (dropped), loop counter, and loop offset from counter. The sop2 check was adapted to the renamed helper.
  • Mutation 1: drop every constant in consts instead of only the unjoined ones. The loop-constants check FAILS (constant set after an earlier arm).
  • Mutation 2: never drop. The check FAILS (loop counter, loop offset, constant written in the loop: MISMATCH).
  • Both mutations restored afterwards.

Commands run:

  • python3 tests/startup_gfx2hlsl_loop_constants_check.py PASS
  • python3 tests/startup_gfx2hlsl_sop2_complement_check.py PASS
  • python3 tests/docs_links_check.py OK
  • python3 tests/bidi_controls_check.py OK
  • git diff --check origin/main...HEAD clean

Not a lowering of a math op, so no new WARP readback is needed; Win2025 WARP dev+release receipt follows on this head.

AI-assisted; commands listed were executed locally.

@tedin7

tedin7 commented Nov 25, 2026

Copy link
Copy Markdown
Collaborator

Win2025 WARP receipt for head 9038e45 after updating with main.

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

  • Debug (--preset dev):
    • Build (cmake --build --preset dev --target d3d12_xs_device_obj d3d12_xs_shim -- -j 2): 45.52s (configure 2.34s)
  • Release /O2 (--preset release):
    • Build (cmake --build --preset release --target d3d12_xs_device_obj d3d12_xs_shim -- -j 2): 111.13s (configure 2.55s)
  • 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.4s), tests/startup_flat_param_check.py ok (0.2s), tests/startup_gfx2hlsl_add_sub_co_check.py ok (0.2s), tests/startup_gfx2hlsl_add_sub_co_ci_check.py ok (0.2s), tests/startup_gfx2hlsl_bit_alu_check.py ok (1.0s), tests/startup_gfx2hlsl_capture_check.py ok (1.3s), tests/startup_gfx2hlsl_cmp16_check.py ok (0.3s), tests/startup_gfx2hlsl_compare_dst_check.py ok (0.1s), tests/startup_gfx2hlsl_compute_check.py ok (0.6s), 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 (6.3s), tests/startup_gfx2hlsl_getpc_refusal_check.py ok (0.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.3s), tests/startup_gfx2hlsl_pack_absdiff_check.py ok (3.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.5s), tests/startup_gfx2hlsl_root_check.py ok (0.8s), tests/startup_gfx2hlsl_sad_check.py ok (0.3s), tests/startup_gfx2hlsl_saveexec_same_reg_check.py ok (0.1s), tests/startup_gfx2hlsl_scalar_arity_check.py ok (0.2s), tests/startup_gfx2hlsl_scalar_brev_fold_check.py ok (0.1s), tests/startup_gfx2hlsl_scalar_m0_check.py ok (0.1s), tests/startup_gfx2hlsl_sdwa_cvt_check.py ok (0.3s), tests/startup_gfx2hlsl_sgpr_spill_check.py ok (0.1s), tests/startup_gfx2hlsl_shift64_check.py ok (0.1s), tests/startup_gfx2hlsl_smem_offset_check.py ok (0.1s), tests/startup_gfx2hlsl_sop2_complement_check.py ok (6.8s), tests/startup_gfx2hlsl_sopk_accum_check.py ok (0.9s), tests/startup_gfx2hlsl_sopk_signext_check.py ok (0.1s), tests/startup_gfx2hlsl_swap_check.py ok (0.3s), tests/startup_gfx2hlsl_vopc_sdwa_check.py ok (4.3s), tests/startup_gfx2hlsl_waitcnt_depctr_check.py ok (0.1s), tests/startup_gfx2hlsl_watch_check.py ok (2.5s), tests/startup_image_2d_array_check.py ok (0.2s), tests/startup_image_3d_check.py ok (0.1s), tests/startup_image_gather_lz_check.py ok (0.6s), tests/startup_image_load_d16_check.py ok (0.9s), tests/startup_image_sample_a16_check.py ok (0.2s), tests/startup_image_sample_b_check.py ok (0.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.8s), tests/startup_inline_sampler_check.py ok (0.2s), tests/startup_mesh57_skeleton_check.py ok (0.2s), tests/startup_run_ps1_check.py ok (35.9s), tests/startup_run_sh_check.py skipped (0.1s), tests/startup_sampler_heap_check.py ok (0.2s), tests/startup_shader_cache_rekey_check.py ok (2.7s), 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.6s)
  • sccache: 94/215 hits; wall 260.3s

AI-assisted; commands listed were executed locally.

@tedin7
tedin7 merged commit 258e8bf into R0Y00:main Nov 25, 2026
5 checks passed
legacy-code-archaeologist added a commit to legacy-code-archaeologist/Xbox2Windows that referenced this pull request Nov 25, 2026
Main now carries R0Y00#2459, R0Y00#2461, R0Y00#2466, R0Y00#2483, R0Y00#2428 and others in their final form; the
conflicts take main's versions. Kept from this branch: R0Y00#2460's generalized unjoined(),
R0Y00#2432's scalar(mods), the s_setreg MODE check, the cube image kind, the
v_cvt_f64_f32 inline check. Upstream chose R0Y00#2428 for v_{add,sub,subrev}_co_ci_u32,
so the local co_ci handlers are renamed unbound_* and their two checks unregistered.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants