gfx2hlsl: prove a compute formatted load whose table pointer copy is in a block above #2453

Merged
NiiRoZz merged 3 commits from upstream-pr/2461 into main 2026-11-25 19:14:46 +00:00
NiiRoZz commented 2026-11-25 17:22:01 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by NiiRoZz on 2026-11-25T17:22:01Z.


Refs #870.

What / why

#2398 lowered buffer_load_format_x/xy/xyz/xyzw for compute. FORMAT and DST_SEL come from word 3 of the
table descriptor, so past the entry block the translator asks for a proof that the four descriptor words are
the table's: a table load in the same block as the formatted load, through an entry table pointer or through
an s_mov_b32 copy of one made in that same block.

In a local set of 2,689 compute requests, 1,088 had this refusal first. In 1,086 of them the table load is in
the same block as the formatted load and covers the four words, but the pointer is a copy of the entry table
pointer made in a block above (the entry block in 1,084, another block that every path runs through in 2).
The copy being outside the block was the only missing link.

Change

tools/startup/gfx2hlsl.py, compute stages only:

  • new Stage.formatted_pointer_copy(pointer, before): walks every predecessor path back from the table load
    (the instruction graph formatted_pointer_reaches already builds, calculated jumps included) and stops each
    path at its first write to the pointer register. It returns the copy only if exactly one writer is found,
    no path reaches the entry (or an instruction without predecessors) before a write, and that writer is
    s_mov_b32 pointer, sN. The writer set is the union of descriptor_scalar_writes and
    scalar_destinations. (s_movrel* has no handler, so a program with one is refused anyway.)
  • formatted_descriptor_from_block uses it only when its own in-block scan finds no write to the pointer.
    The existing conditions then apply to the copied register unchanged: it must be an entry table pointer of
    the descriptor's table, and formatted_pointer_reaches must find no write to it on any path into the copy.

No emitted HLSL or manifest line changes. Graphics stages keep the previous rule.

Why it is sound

  • One writer and no unwritten path from the entry means every path from the entry to the table load runs the
    copy, and no path from the copy to the load writes the pointer again (such a write would be a second
    writer). This holds for loops too: a back edge that rewrites the pointer is a second writer.
  • At the copy, the copied register still holds its entry value, because no path into the copy writes it.
  • So at the table load the pointer is the entry table pointer, on every path. From there on it is the case
    the existing rule already accepts: the load and the formatted read are in one block with no write to the
    four words in between.

Only one copy hop is followed, as before.

Tests

tests/startup_gfx2hlsl_compute_check.py (check_formatted_pointer_copy), built from the source-built
formatted-load fixture:

  • accepted: copy in the entry block and load in the next block; copy in a later block that every path runs
    through;
  • refused: a branch skips the copy; one arm writes the pointer again with the same value (so only this proof
    can refuse it); a back edge below the formatted read writes the pointer and re-enters at the load; the only
    writer is not a register copy; the copied register is written on one path into the block that copies it.
    The same program with that write replaced by s_nop translates.
  • refused: one path writes descriptor word 3 between the table load and the formatted read (on top of the
    new accepted shape). The existing controls stay: a branch target between the load and the read, and a
    rewritten word 3.
  • tests/startup_vertex_fetch_formats_check.py: a graphics stage with the copy in a block above stays refused.

Five local mutants of the new code (accept several writers; ignore the entry path; drop the check on the
copied register; accept a writer that is not a copy; drop the compute gate) each fail these checks. They are not part of the commit.

Commands, Windows, Python 3.13, at 8dd05e2e:

python -B tests/startup_gfx2hlsl_compute_check.py           pass
python -B tests/startup_vertex_fetch_formats_check.py controls   pass
python -B tests/compute_load_format_check.py controls       pass
python -B tests/startup_translator_check.py                 pass (0 failed)
python -B tests/startup_gfx2hlsl_<name>_check.py            all 62 no-argument checks pass
git diff --check                                            clean

Not run: startup_gfx2hlsl_compute_check.py binary (needs LLVM 15) and the dispatch / control modes behind
startup_gfx2hlsl_compute_(warp|hardware) (need DXC and the built runner). They dispatch the unchanged
entry-block fixture and this change does not alter emitted HLSL, so what they exercise is unchanged. The new
accepted forms have no GPU run.

Measurement

Local set, first refusal per request, manifest-only (no DXC), translator = upstream main plus other open PRs:

before after
formatted buffer load requires descriptor words proven... 1,088 2

Next first refusals of the 1,086 that moved:

count refusal
351 s_and_saveexec_b32 inside a block s_cbranch_execz skips per lane: exec write
347 s_nor_b32 on a lane mask
300 SDWA form of v_cndmask_b32
25 s_mov_b32 inside a block s_cbranch_execz skips per lane: definition of vcc, live at the join
19 v_readfirstlane_b32 requires a proven uniform source
6 buffer_store_format_xyzw
37 24 other reasons, 1 to 5 each
1 passes the stage translation (see note)

Note: that one request then raises a TypeError in ComputePipeline.manifest() (a sampler key with a lod
prefix, which the compute manifest does not format). Separate defect, not fixed here. No request in this set
translates completely yet, and nothing was compiled with DXC.

Limits

  • Two requests stay refused: the table load is in a different block from the formatted read (in one a loop
    header sits between them; in the other the load overwrites its own pointer register and the read is many
    blocks below). Proving those needs a reaching-definition proof for the four words, not for the pointer.
  • One copy hop only; a copy of a copy is refused.
  • The high word of the pointer pair is not checked, as before.
  • The runtime does not load translated compute programs yet; this is translator coverage.
  • README / docs: no public capability or command changes.

AI-assisted. Tests listed above ran locally.

🤖 Generated with Claude Code

<!-- greyfinch-sync:R0Y00/Xbox2Windows:issue:6609898702 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/2461). Originally posted by [NiiRoZz](https://github.com/NiiRoZz) on 2026-11-25T17:22:01Z. --- Refs #870. ## What / why #2398 lowered `buffer_load_format_x/xy/xyz/xyzw` for compute. FORMAT and DST_SEL come from word 3 of the table descriptor, so past the entry block the translator asks for a proof that the four descriptor words are the table's: a table load in the same block as the formatted load, through an entry table pointer or through an `s_mov_b32` copy of one made in that same block. In a local set of 2,689 compute requests, 1,088 had this refusal first. In 1,086 of them the table load is in the same block as the formatted load and covers the four words, but the pointer is a copy of the entry table pointer made in a block above (the entry block in 1,084, another block that every path runs through in 2). The copy being outside the block was the only missing link. ## Change `tools/startup/gfx2hlsl.py`, compute stages only: - new `Stage.formatted_pointer_copy(pointer, before)`: walks every predecessor path back from the table load (the instruction graph `formatted_pointer_reaches` already builds, calculated jumps included) and stops each path at its first write to the pointer register. It returns the copy only if exactly one writer is found, no path reaches the entry (or an instruction without predecessors) before a write, and that writer is `s_mov_b32 pointer, sN`. The writer set is the union of `descriptor_scalar_writes` and `scalar_destinations`. (`s_movrel*` has no handler, so a program with one is refused anyway.) - `formatted_descriptor_from_block` uses it only when its own in-block scan finds no write to the pointer. The existing conditions then apply to the copied register unchanged: it must be an entry table pointer of the descriptor's table, and `formatted_pointer_reaches` must find no write to it on any path into the copy. No emitted HLSL or manifest line changes. Graphics stages keep the previous rule. ## Why it is sound - One writer and no unwritten path from the entry means every path from the entry to the table load runs the copy, and no path from the copy to the load writes the pointer again (such a write would be a second writer). This holds for loops too: a back edge that rewrites the pointer is a second writer. - At the copy, the copied register still holds its entry value, because no path into the copy writes it. - So at the table load the pointer is the entry table pointer, on every path. From there on it is the case the existing rule already accepts: the load and the formatted read are in one block with no write to the four words in between. Only one copy hop is followed, as before. ## Tests `tests/startup_gfx2hlsl_compute_check.py` (`check_formatted_pointer_copy`), built from the source-built formatted-load fixture: - accepted: copy in the entry block and load in the next block; copy in a later block that every path runs through; - refused: a branch skips the copy; one arm writes the pointer again with the same value (so only this proof can refuse it); a back edge below the formatted read writes the pointer and re-enters at the load; the only writer is not a register copy; the copied register is written on one path into the block that copies it. The same program with that write replaced by `s_nop` translates. - refused: one path writes descriptor word 3 between the table load and the formatted read (on top of the new accepted shape). The existing controls stay: a branch target between the load and the read, and a rewritten word 3. - `tests/startup_vertex_fetch_formats_check.py`: a graphics stage with the copy in a block above stays refused. Five local mutants of the new code (accept several writers; ignore the entry path; drop the check on the copied register; accept a writer that is not a copy; drop the compute gate) each fail these checks. They are not part of the commit. Commands, Windows, Python 3.13, at 8dd05e2e: ``` python -B tests/startup_gfx2hlsl_compute_check.py pass python -B tests/startup_vertex_fetch_formats_check.py controls pass python -B tests/compute_load_format_check.py controls pass python -B tests/startup_translator_check.py pass (0 failed) python -B tests/startup_gfx2hlsl_<name>_check.py all 62 no-argument checks pass git diff --check clean ``` Not run: `startup_gfx2hlsl_compute_check.py binary` (needs LLVM 15) and the `dispatch` / `control` modes behind `startup_gfx2hlsl_compute_(warp|hardware)` (need DXC and the built runner). They dispatch the unchanged entry-block fixture and this change does not alter emitted HLSL, so what they exercise is unchanged. The new accepted forms have no GPU run. ## Measurement Local set, first refusal per request, manifest-only (no DXC), translator = upstream main plus other open PRs: | | before | after | |---|---|---| | formatted buffer load requires descriptor words proven... | 1,088 | 2 | Next first refusals of the 1,086 that moved: | count | refusal | |---|---| | 351 | `s_and_saveexec_b32` inside a block `s_cbranch_execz` skips per lane: exec write | | 347 | `s_nor_b32` on a lane mask | | 300 | SDWA form of `v_cndmask_b32` | | 25 | `s_mov_b32` inside a block `s_cbranch_execz` skips per lane: definition of vcc, live at the join | | 19 | `v_readfirstlane_b32` requires a proven uniform source | | 6 | `buffer_store_format_xyzw` | | 37 | 24 other reasons, 1 to 5 each | | 1 | passes the stage translation (see note) | Note: that one request then raises a TypeError in `ComputePipeline.manifest()` (a sampler key with a `lod` prefix, which the compute manifest does not format). Separate defect, not fixed here. No request in this set translates completely yet, and nothing was compiled with DXC. ## Limits - Two requests stay refused: the table load is in a different block from the formatted read (in one a loop header sits between them; in the other the load overwrites its own pointer register and the read is many blocks below). Proving those needs a reaching-definition proof for the four words, not for the pointer. - One copy hop only; a copy of a copy is refused. - The high word of the pointer pair is not checked, as before. - The runtime does not load translated compute programs yet; this is translator coverage. - README / docs: no public capability or command changes. AI-assisted. Tests listed above ran locally. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
tedin7 commented 2026-11-25 19:03:52 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by tedin7 on 2026-11-25T18:32:17Z.

Review: COMMENTED


Review of head 8dd05e2e (Linux only; no Windows run by me).

What I checked

  • Scope: 3 files, +95/0: tools/startup/gfx2hlsl.py (new Stage.formatted_pointer_copy, used only for compute stages when the in-block scan finds no write), the compute check and one formatted-fetch check. No emitted HLSL or manifest line changes, so no GPU readback applies; the body says the same.
  • Logic: the walk goes back over every predecessor path and stops each path at its first write. It returns a copy only if exactly one writer is found, no path reaches the entry unwritten, and the writer is s_mov_b32 pointer, sN with a single scalar source. The existing entry-table-pointer and formatted_pointer_reaches checks then run on the copied register. I found no hole in the soundness argument in the body (loops: a back-edge write would be a second writer).
  • Tests guard it: the new check_formatted_pointer_copy has accepted shapes and refused shapes (skipped copy, double write, back-edge write, non-copy writer, copied register rewritten on one path, word 3 rewritten between load and read).
  • Mutations I made, each reverted with git checkout -- .:
    • len(writers) != 1 changed to < 1: the compute check fails (ValueError in the unpack).
    • the entry-reach early return disabled: the compute check fails (AssertionError).
  • Duplicates: the body says it builds on #2398; I saw nothing else touching this refusal in the diff. Not a startup claim; no game result needed.
  • Windows results: none posted for this head, and none needed for a translator-only change.

Commands run

  • git diff --check origin/main...HEAD (clean)
  • python3 tests/startup_gfx2hlsl_compute_check.py (passed; the DXC readback part is the author's, I did not check it)
  • python3 tests/startup_vertex_fetch_formats_check.py (passed)
  • the two mutations above

AI-assisted; commands listed were executed locally.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:review:6062935464 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/2461#pullrequestreview-6062935464). Originally posted by [tedin7](https://github.com/tedin7) on 2026-11-25T18:32:17Z. **Review:** COMMENTED --- Review of head `8dd05e2e` (Linux only; no Windows run by me). What I checked - Scope: 3 files, +95/0: `tools/startup/gfx2hlsl.py` (new `Stage.formatted_pointer_copy`, used only for compute stages when the in-block scan finds no write), the compute check and one formatted-fetch check. No emitted HLSL or manifest line changes, so no GPU readback applies; the body says the same. - Logic: the walk goes back over every predecessor path and stops each path at its first write. It returns a copy only if exactly one writer is found, no path reaches the entry unwritten, and the writer is `s_mov_b32 pointer, sN` with a single scalar source. The existing entry-table-pointer and `formatted_pointer_reaches` checks then run on the copied register. I found no hole in the soundness argument in the body (loops: a back-edge write would be a second writer). - Tests guard it: the new `check_formatted_pointer_copy` has accepted shapes and refused shapes (skipped copy, double write, back-edge write, non-copy writer, copied register rewritten on one path, word 3 rewritten between load and read). - Mutations I made, each reverted with `git checkout -- .`: - `len(writers) != 1` changed to `< 1`: the compute check fails (ValueError in the unpack). - the entry-reach early return disabled: the compute check fails (AssertionError). - Duplicates: the body says it builds on #2398; I saw nothing else touching this refusal in the diff. Not a startup claim; no game result needed. - Windows results: none posted for this head, and none needed for a translator-only change. Commands run - `git diff --check origin/main...HEAD` (clean) - `python3 tests/startup_gfx2hlsl_compute_check.py` (passed; the DXC readback part is the author's, I did not check it) - `python3 tests/startup_vertex_fetch_formats_check.py` (passed) - the two mutations above AI-assisted; commands listed were executed locally.
ChazY11 commented 2026-11-25 19:04:17 +00:00 (Migrated from github.com)

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


Verified on WARP and on a physical GPU, and the pointer-copy proof is pinned — two whitelist-shaped survivors

The GPU half of this PR I could actually run, because startup_vertex_fetch_formats_check.py takes <dxc> <offscreen_check> <adapter>:

python -B tests/startup_vertex_fetch_formats_check.py <dxc 10.0.26100> <out/build/dev/offscreen_check.exe> warp
    BUF_FMT_32_32_32_32_FLOAT: descriptor-path mutation 'W from the third word' fails
    warp: 17 buffer_load_format descriptor cases, wrong descriptor words and 19 mutations fail
    exit 0

same with `hardware` (as installed, Windows 11 build 26300.9974)
    hardware: 17 buffer_load_format descriptor cases, wrong descriptor words and 19 mutations fail
    exit 0

startup_gfx2hlsl_compute_check.py → compute entry, numthreads, masked bit counts, manifest, offen store forms and the store, descriptor, execz and sample refusals pass, exit 0.

Mutations on formatted_pointer_copy

mutation result
the single-writer requirement dropped (len(writers) != 1 → not writers) caught
the "entry value reaches the read" refusal dropped caught
the single-register source requirement dropped caught
the copy must be s_mov_b32 survived
the kind == 'cs' gate dropped survived

The middle row matters most: the whole proof is "walk back and find exactly one write, with no path that reaches the entry without a write". Dropping the "no path from the entry" condition means the entry value can be mistaken for a copy — a silently wrong pointer on every lane, which is the failure this change exists to prevent. It is caught, so the fixture builds a program where the pointer has an entry value as well as a write.

The two survivors

  • name == 's_mov_b32': the fixture's programs only ever use s_mov_b32 as the copy, so accepting any two-operand instruction changes nothing observable. A s_add_u32 s5, s6, 0 in the same position should not be treated as a copy, and one case would pin that.
  • kind == 'cs': the fixture is a compute check throughout, so the gate is constant there.

Neither is a defect I can demonstrate: no input the fixture builds distinguishes them.

One thing I would check before merging

formatted_pointer_copy returns the source register and instruction index, and the caller rewrites pointer, read = copy before consulting the descriptor tables. So the read's descriptor state is taken from a point earlier in program order — that only works if nothing between the copy and the read writes the pointer, which the docstring claims and the writer count is supposed to establish. The single-writer mutation being caught is evidence for it, but only for the program the fixture builds; if you want the claim pinned generally, the case to add is a second write between the copy and the read (still one write reaching the entry, two total), which must return None.

Registration

No CMakeLists.txt, AGENTS.md or CI-list change: the vertex-fetch fixture is an existing one and the compute check is already registered. Both files simply gained cases, which keeps this to one reviewable behaviour.

AI-assisted; both adapter runs and the five mutations were executed locally on Windows 11 build 26300.9974.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:comment:7171679220 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/2461#issuecomment-7171679220). Originally posted by [ChazY11](https://github.com/ChazY11) on 2026-11-25T18:59:42Z. --- ## Verified on WARP and on a physical GPU, and the pointer-copy proof is pinned — two whitelist-shaped survivors The GPU half of this PR I could actually run, because `startup_vertex_fetch_formats_check.py` takes `<dxc> <offscreen_check> <adapter>`: ```text python -B tests/startup_vertex_fetch_formats_check.py <dxc 10.0.26100> <out/build/dev/offscreen_check.exe> warp BUF_FMT_32_32_32_32_FLOAT: descriptor-path mutation 'W from the third word' fails warp: 17 buffer_load_format descriptor cases, wrong descriptor words and 19 mutations fail exit 0 same with `hardware` (as installed, Windows 11 build 26300.9974) hardware: 17 buffer_load_format descriptor cases, wrong descriptor words and 19 mutations fail exit 0 ``` `startup_gfx2hlsl_compute_check.py` → `compute entry, numthreads, masked bit counts, manifest, offen store forms and the store, descriptor, execz and sample refusals pass`, exit 0. ## Mutations on `formatted_pointer_copy` | mutation | result | |---|---| | the single-writer requirement dropped (`len(writers) != 1` → `not writers`) | **caught** | | the "entry value reaches the read" refusal dropped | **caught** | | the single-register source requirement dropped | **caught** | | the copy must be `s_mov_b32` | survived | | the `kind == 'cs'` gate dropped | survived | The middle row matters most: the whole proof is *"walk back and find exactly one write, with no path that reaches the entry without a write"*. Dropping the "no path from the entry" condition means the entry value can be mistaken for a copy — a silently wrong pointer on every lane, which is the failure this change exists to prevent. It is caught, so the fixture builds a program where the pointer has an entry value as well as a write. ## The two survivors - **`name == 's_mov_b32'`**: the fixture's programs only ever use `s_mov_b32` as the copy, so accepting any two-operand instruction changes nothing observable. A `s_add_u32 s5, s6, 0` in the same position should *not* be treated as a copy, and one case would pin that. - **`kind == 'cs'`**: the fixture is a compute check throughout, so the gate is constant there. Neither is a defect I can demonstrate: no input the fixture builds distinguishes them. ## One thing I would check before merging `formatted_pointer_copy` returns the *source register and instruction index*, and the caller rewrites `pointer, read = copy` before consulting the descriptor tables. So the read's descriptor state is taken from a point **earlier in program order** — that only works if nothing between the copy and the read writes the pointer, which the docstring claims and the writer count is supposed to establish. The single-writer mutation being caught is evidence for it, but only for the program the fixture builds; if you want the claim pinned generally, the case to add is a *second* write between the copy and the read (still one write reaching the entry, two total), which must return `None`. ## Registration No `CMakeLists.txt`, `AGENTS.md` or CI-list change: the vertex-fetch fixture is an existing one and the compute check is already registered. Both files simply gained cases, which keeps this to one reviewable behaviour. AI-assisted; both adapter runs and the five mutations were executed locally on Windows 11 build 26300.9974.
upstream-sync closed this pull request 2026-11-25 20:04:18 +00:00
tedin7 commented 2026-11-25 20:04:18 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by tedin7 on 2026-11-25T19:04:29Z.

Review: COMMENTED


Review of head b644306a (against current main, 12 commits behind).

Checked:

  • formatted_pointer_copy walks back from the table load, stops each path at its first write, and returns a copy only for one s_mov_b32 writer with no path reaching the entry. A later second write is found first, so an earlier copy cannot be mistaken for the last write. The source register is then re-checked by formatted_pointer_reaches.
  • The new cases cover: copy in the entry block, copy in a later block all paths cross, a branch that skips the copy, a second write on one arm, a back edge that rewrites the pointer, and a write to descriptor word 3.
  • No sibling table was left out: the vertex-fetch fixture gained its cases too.

Commands run (all exit 0 unless noted):

  • git diff --check origin/main...HEAD
  • python3 tests/docs_links_check.py
  • python3 tests/bidi_controls_check.py
  • python3 -B tests/startup_gfx2hlsl_compute_check.py
  • Mutation 1: len(writers) != 1 changed to not writers. The compute check fails (ValueError).
  • Mutation 2: the "entry value reaches the read" refusal removed. The compute check fails (AssertionError).

No blocking findings. Scope note: this is the translator's proof only. No game or executable result is claimed or verified here. The merge decision stays with MasterDomino or @R0Y00.

AI-assisted; commands listed were executed locally.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:review:6063371252 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/2461#pullrequestreview-6063371252). Originally posted by [tedin7](https://github.com/tedin7) on 2026-11-25T19:04:29Z. **Review:** COMMENTED --- Review of head b644306a (against current main, 12 commits behind). Checked: - `formatted_pointer_copy` walks back from the table load, stops each path at its first write, and returns a copy only for one `s_mov_b32` writer with no path reaching the entry. A later second write is found first, so an earlier copy cannot be mistaken for the last write. The source register is then re-checked by `formatted_pointer_reaches`. - The new cases cover: copy in the entry block, copy in a later block all paths cross, a branch that skips the copy, a second write on one arm, a back edge that rewrites the pointer, and a write to descriptor word 3. - No sibling table was left out: the vertex-fetch fixture gained its cases too. Commands run (all exit 0 unless noted): - `git diff --check origin/main...HEAD` - `python3 tests/docs_links_check.py` - `python3 tests/bidi_controls_check.py` - `python3 -B tests/startup_gfx2hlsl_compute_check.py` - Mutation 1: `len(writers) != 1` changed to `not writers`. The compute check fails (ValueError). - Mutation 2: the "entry value reaches the read" refusal removed. The compute check fails (AssertionError). No blocking findings. Scope note: this is the translator's proof only. No game or executable result is claimed or verified here. The merge decision stays with MasterDomino or @R0Y00. AI-assisted; commands listed were executed locally.
tedin7 commented 2026-11-25 20:04:41 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by tedin7 on 2026-11-25T19:14:31Z.


Win2025 WARP receipt for head 8c088116 after updating with main (plan: py-checks + startup_vertex_fetch_formats_controls/warp + startup_gfx2hlsl_compute, dev and release).

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

  • Debug (--preset dev):
    • Build (cmake --build --preset dev --target d3d12_xs_device_obj d3d12_xs_shim -- -j 2): 1.05s (configure 2.91s)
    • Test (ctest --preset dev -R 'startup_vertex_fetch_formats_(controls|warp)|startup_gfx2hlsl_compute' --parallel 2 --no-tests=error --output-on-failure): 29/29 passed (30.19s: startup_gfx2hlsl_compute_hardware 2.62s, startup_gfx2hlsl_compute_warp 2.38s, startup_gfx2hlsl_compute_b-offset_hardware 0.33s, startup_gfx2hlsl_compute_dropped-store_hardware 0.35s, startup_gfx2hlsl_compute_c-unpredicated_hardware 0.35s, startup_gfx2hlsl_compute_swapped-axes_hardware 0.35s, startup_gfx2hlsl_compute_dropped-store_warp 0.33s, startup_gfx2hlsl_compute_c-unpredicated_warp 0.33s, startup_gfx2hlsl_compute_swapped-axes_warp 0.34s, startup_gfx2hlsl_compute_b-offset_warp 0.35s, startup_gfx2hlsl_compute_mbcnt_warp 0.82s, startup_gfx2hlsl_compute_controls 0.44s, startup_gfx2hlsl_compute_mbcnt_hardware 0.80s, startup_gfx2hlsl_compute_f-peer_warp 0.36s, startup_gfx2hlsl_compute_f-broadcast_warp 0.35s, startup_gfx2hlsl_compute_f-peer_hardware 0.33s, startup_gfx2hlsl_compute_j-scalar-dropped_warp 0.37s, startup_gfx2hlsl_compute_g-swapped-offsets_warp 0.37s, startup_gfx2hlsl_compute_h-inner-unpredicated_warp 0.39s, startup_gfx2hlsl_compute_g-overlap_warp 0.38s, startup_gfx2hlsl_compute_f-broadcast_hardware 0.50s, startup_gfx2hlsl_compute_g-swapped-offsets_hardware 0.38s, startup_vertex_fetch_formats_controls 0.19s, startup_gfx2hlsl_compute_k-block-entered_warp 0.57s, startup_gfx2hlsl_compute_k-block-entered_hardware 0.42s, startup_gfx2hlsl_compute_h-inner-unpredicated_hardware 0.38s, startup_gfx2hlsl_compute_j-scalar-dropped_hardware 0.37s, startup_gfx2hlsl_compute_g-overlap_hardware 0.38s, startup_vertex_fetch_formats_warp 29.99s)
  • Release /O2 (--preset release):
    • Build (cmake --build --preset release --target d3d12_xs_device_obj d3d12_xs_shim -- -j 2): 30.21s (configure 3.04s)
    • Test (ctest --preset release -R 'startup_vertex_fetch_formats_(controls|warp)|startup_gfx2hlsl_compute' --parallel 2 --no-tests=error --output-on-failure): 29/29 passed (25.06s: startup_gfx2hlsl_compute_warp 2.35s, startup_gfx2hlsl_compute_hardware 2.30s, startup_gfx2hlsl_compute_dropped-store_hardware 0.30s, startup_gfx2hlsl_compute_swapped-axes_hardware 0.29s, startup_gfx2hlsl_compute_mbcnt_warp 0.76s, startup_gfx2hlsl_compute_b-offset_hardware 0.33s, startup_gfx2hlsl_compute_c-unpredicated_hardware 0.30s, startup_gfx2hlsl_compute_b-offset_warp 0.32s, startup_gfx2hlsl_compute_c-unpredicated_warp 0.32s, startup_gfx2hlsl_compute_dropped-store_warp 0.31s, startup_gfx2hlsl_compute_swapped-axes_warp 0.34s, startup_gfx2hlsl_compute_controls 0.44s, startup_gfx2hlsl_compute_mbcnt_hardware 0.75s, startup_gfx2hlsl_compute_h-inner-unpredicated_warp 0.32s, startup_gfx2hlsl_compute_f-broadcast_warp 0.33s, startup_gfx2hlsl_compute_f-peer_warp 0.40s, startup_gfx2hlsl_compute_g-swapped-offsets_warp 0.30s, startup_gfx2hlsl_compute_j-scalar-dropped_warp 0.34s, startup_gfx2hlsl_compute_g-overlap_warp 0.32s, startup_gfx2hlsl_compute_k-block-entered_warp 0.36s, startup_vertex_fetch_formats_controls 0.16s, startup_gfx2hlsl_compute_k-block-entered_hardware 0.34s, startup_gfx2hlsl_compute_g-swapped-offsets_hardware 0.42s, startup_gfx2hlsl_compute_f-broadcast_hardware 0.34s, startup_gfx2hlsl_compute_g-overlap_hardware 0.32s, startup_gfx2hlsl_compute_f-peer_hardware 0.32s, startup_gfx2hlsl_compute_h-inner-unpredicated_hardware 0.32s, startup_gfx2hlsl_compute_j-scalar-dropped_hardware 0.33s, startup_vertex_fetch_formats_warp 24.88s)
  • Windows Python checks: tests/mesh_heap_sampler_check.py ok (1.0s), tests/startup_buffer_address_check.py ok (0.5s), tests/startup_compute_image_store_d16_check.py ok (0.9s), tests/startup_compute_request_offline_check.py ok (2.0s), tests/startup_compute_translate_check.py ok (1.0s), tests/startup_flat_param_check.py ok (0.7s), tests/startup_gfx2hlsl_add_sub_co_check.py ok (0.4s), tests/startup_gfx2hlsl_add_sub_co_ci_check.py ok (0.3s), tests/startup_gfx2hlsl_bit_alu_check.py ok (1.1s), 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.5s), tests/startup_gfx2hlsl_cselect_mask_check.py ok (0.1s), tests/startup_gfx2hlsl_cvt_alu_check.py ok (0.2s), tests/startup_gfx2hlsl_f32_lg_check.py ok (1.8s), 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.2s), tests/startup_gfx2hlsl_join_symbols_check.py ok (0.2s), tests/startup_gfx2hlsl_loop_constants_check.py ok (0.1s), tests/startup_gfx2hlsl_mask_overwrite_check.py ok (0.1s), tests/startup_gfx2hlsl_operand_count_check.py ok (0.3s), tests/startup_gfx2hlsl_readfirstlane_recompute_check.py ok (0.1s), tests/startup_gfx2hlsl_readfirstlane_uniform_check.py ok (0.3s), tests/startup_gfx2hlsl_refusals_check.py ok (0.8s), 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.1s), tests/startup_gfx2hlsl_scalar_m0_check.py ok (0.1s), tests/startup_gfx2hlsl_sdwa_cvt_check.py ok (0.4s), tests/startup_gfx2hlsl_sgpr_spill_check.py ok (0.2s), tests/startup_gfx2hlsl_shift64_check.py ok (0.2s), tests/startup_gfx2hlsl_smem_offset_check.py ok (0.1s), tests/startup_gfx2hlsl_sop2_complement_check.py ok (6.0s), tests/startup_gfx2hlsl_sopk_accum_check.py ok (1.1s), tests/startup_gfx2hlsl_sopk_signext_check.py ok (0.2s), tests/startup_gfx2hlsl_swap_check.py ok (0.3s), tests/startup_gfx2hlsl_vopc_sdwa_check.py ok (6.2s), tests/startup_gfx2hlsl_waitcnt_depctr_check.py ok (0.1s), tests/startup_gfx2hlsl_watch_check.py ok (2.9s), 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.3s), 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.3s), tests/startup_image_sample_lod_check.py ok (0.9s), tests/startup_inline_sampler_check.py ok (0.2s), tests/startup_run_ps1_check.py ok (12.8s), tests/startup_run_sh_check.py FAIL (0.1s), tests/startup_sampler_heap_check.py ok (0.1s), tests/startup_smem_address_check.py ok (0.1s), tests/startup_stream_fetch_check.py ok (0.3s), tests/startup_stream_interface_check.py ok (0.3s), tests/startup_translator_check.py ok (0.6s)
  • sccache: 0/61 hits; wall 150.4s

AI-assisted; commands listed were executed locally.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:comment:7172017733 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/2461#issuecomment-7172017733). Originally posted by [tedin7](https://github.com/tedin7) on 2026-11-25T19:14:31Z. --- Win2025 WARP receipt for head 8c088116 after updating with main (plan: py-checks + startup_vertex_fetch_formats_controls/warp + startup_gfx2hlsl_compute, dev and release). Verified on Windows Server 2025 (Build 26100, MSVC 14.44.35207 + D3D12 WARP) at commit `8c088116d1a22515c96adeae1ed215099853badb`: - **Debug (`--preset dev`)**: - Build (`cmake --build --preset dev --target d3d12_xs_device_obj d3d12_xs_shim -- -j 2`): `1.05s` (configure `2.91s`) - Test (`ctest --preset dev -R 'startup_vertex_fetch_formats_(controls|warp)|startup_gfx2hlsl_compute' --parallel 2 --no-tests=error --output-on-failure`): **29/29 passed** (`30.19s`: `startup_gfx2hlsl_compute_hardware` `2.62s`, `startup_gfx2hlsl_compute_warp` `2.38s`, `startup_gfx2hlsl_compute_b-offset_hardware` `0.33s`, `startup_gfx2hlsl_compute_dropped-store_hardware` `0.35s`, `startup_gfx2hlsl_compute_c-unpredicated_hardware` `0.35s`, `startup_gfx2hlsl_compute_swapped-axes_hardware` `0.35s`, `startup_gfx2hlsl_compute_dropped-store_warp` `0.33s`, `startup_gfx2hlsl_compute_c-unpredicated_warp` `0.33s`, `startup_gfx2hlsl_compute_swapped-axes_warp` `0.34s`, `startup_gfx2hlsl_compute_b-offset_warp` `0.35s`, `startup_gfx2hlsl_compute_mbcnt_warp` `0.82s`, `startup_gfx2hlsl_compute_controls` `0.44s`, `startup_gfx2hlsl_compute_mbcnt_hardware` `0.80s`, `startup_gfx2hlsl_compute_f-peer_warp` `0.36s`, `startup_gfx2hlsl_compute_f-broadcast_warp` `0.35s`, `startup_gfx2hlsl_compute_f-peer_hardware` `0.33s`, `startup_gfx2hlsl_compute_j-scalar-dropped_warp` `0.37s`, `startup_gfx2hlsl_compute_g-swapped-offsets_warp` `0.37s`, `startup_gfx2hlsl_compute_h-inner-unpredicated_warp` `0.39s`, `startup_gfx2hlsl_compute_g-overlap_warp` `0.38s`, `startup_gfx2hlsl_compute_f-broadcast_hardware` `0.50s`, `startup_gfx2hlsl_compute_g-swapped-offsets_hardware` `0.38s`, `startup_vertex_fetch_formats_controls` `0.19s`, `startup_gfx2hlsl_compute_k-block-entered_warp` `0.57s`, `startup_gfx2hlsl_compute_k-block-entered_hardware` `0.42s`, `startup_gfx2hlsl_compute_h-inner-unpredicated_hardware` `0.38s`, `startup_gfx2hlsl_compute_j-scalar-dropped_hardware` `0.37s`, `startup_gfx2hlsl_compute_g-overlap_hardware` `0.38s`, `startup_vertex_fetch_formats_warp` `29.99s`) - **Release `/O2` (`--preset release`)**: - Build (`cmake --build --preset release --target d3d12_xs_device_obj d3d12_xs_shim -- -j 2`): `30.21s` (configure `3.04s`) - Test (`ctest --preset release -R 'startup_vertex_fetch_formats_(controls|warp)|startup_gfx2hlsl_compute' --parallel 2 --no-tests=error --output-on-failure`): **29/29 passed** (`25.06s`: `startup_gfx2hlsl_compute_warp` `2.35s`, `startup_gfx2hlsl_compute_hardware` `2.30s`, `startup_gfx2hlsl_compute_dropped-store_hardware` `0.30s`, `startup_gfx2hlsl_compute_swapped-axes_hardware` `0.29s`, `startup_gfx2hlsl_compute_mbcnt_warp` `0.76s`, `startup_gfx2hlsl_compute_b-offset_hardware` `0.33s`, `startup_gfx2hlsl_compute_c-unpredicated_hardware` `0.30s`, `startup_gfx2hlsl_compute_b-offset_warp` `0.32s`, `startup_gfx2hlsl_compute_c-unpredicated_warp` `0.32s`, `startup_gfx2hlsl_compute_dropped-store_warp` `0.31s`, `startup_gfx2hlsl_compute_swapped-axes_warp` `0.34s`, `startup_gfx2hlsl_compute_controls` `0.44s`, `startup_gfx2hlsl_compute_mbcnt_hardware` `0.75s`, `startup_gfx2hlsl_compute_h-inner-unpredicated_warp` `0.32s`, `startup_gfx2hlsl_compute_f-broadcast_warp` `0.33s`, `startup_gfx2hlsl_compute_f-peer_warp` `0.40s`, `startup_gfx2hlsl_compute_g-swapped-offsets_warp` `0.30s`, `startup_gfx2hlsl_compute_j-scalar-dropped_warp` `0.34s`, `startup_gfx2hlsl_compute_g-overlap_warp` `0.32s`, `startup_gfx2hlsl_compute_k-block-entered_warp` `0.36s`, `startup_vertex_fetch_formats_controls` `0.16s`, `startup_gfx2hlsl_compute_k-block-entered_hardware` `0.34s`, `startup_gfx2hlsl_compute_g-swapped-offsets_hardware` `0.42s`, `startup_gfx2hlsl_compute_f-broadcast_hardware` `0.34s`, `startup_gfx2hlsl_compute_g-overlap_hardware` `0.32s`, `startup_gfx2hlsl_compute_f-peer_hardware` `0.32s`, `startup_gfx2hlsl_compute_h-inner-unpredicated_hardware` `0.32s`, `startup_gfx2hlsl_compute_j-scalar-dropped_hardware` `0.33s`, `startup_vertex_fetch_formats_warp` `24.88s`) - **Windows Python checks**: `tests/mesh_heap_sampler_check.py` ok (`1.0s`), `tests/startup_buffer_address_check.py` ok (`0.5s`), `tests/startup_compute_image_store_d16_check.py` ok (`0.9s`), `tests/startup_compute_request_offline_check.py` ok (`2.0s`), `tests/startup_compute_translate_check.py` ok (`1.0s`), `tests/startup_flat_param_check.py` ok (`0.7s`), `tests/startup_gfx2hlsl_add_sub_co_check.py` ok (`0.4s`), `tests/startup_gfx2hlsl_add_sub_co_ci_check.py` ok (`0.3s`), `tests/startup_gfx2hlsl_bit_alu_check.py` ok (`1.1s`), `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.5s`), `tests/startup_gfx2hlsl_cselect_mask_check.py` ok (`0.1s`), `tests/startup_gfx2hlsl_cvt_alu_check.py` ok (`0.2s`), `tests/startup_gfx2hlsl_f32_lg_check.py` ok (`1.8s`), `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.2s`), `tests/startup_gfx2hlsl_join_symbols_check.py` ok (`0.2s`), `tests/startup_gfx2hlsl_loop_constants_check.py` ok (`0.1s`), `tests/startup_gfx2hlsl_mask_overwrite_check.py` ok (`0.1s`), `tests/startup_gfx2hlsl_operand_count_check.py` ok (`0.3s`), `tests/startup_gfx2hlsl_readfirstlane_recompute_check.py` ok (`0.1s`), `tests/startup_gfx2hlsl_readfirstlane_uniform_check.py` ok (`0.3s`), `tests/startup_gfx2hlsl_refusals_check.py` ok (`0.8s`), `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.1s`), `tests/startup_gfx2hlsl_scalar_m0_check.py` ok (`0.1s`), `tests/startup_gfx2hlsl_sdwa_cvt_check.py` ok (`0.4s`), `tests/startup_gfx2hlsl_sgpr_spill_check.py` ok (`0.2s`), `tests/startup_gfx2hlsl_shift64_check.py` ok (`0.2s`), `tests/startup_gfx2hlsl_smem_offset_check.py` ok (`0.1s`), `tests/startup_gfx2hlsl_sop2_complement_check.py` ok (`6.0s`), `tests/startup_gfx2hlsl_sopk_accum_check.py` ok (`1.1s`), `tests/startup_gfx2hlsl_sopk_signext_check.py` ok (`0.2s`), `tests/startup_gfx2hlsl_swap_check.py` ok (`0.3s`), `tests/startup_gfx2hlsl_vopc_sdwa_check.py` ok (`6.2s`), `tests/startup_gfx2hlsl_waitcnt_depctr_check.py` ok (`0.1s`), `tests/startup_gfx2hlsl_watch_check.py` ok (`2.9s`), `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.3s`), `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.3s`), `tests/startup_image_sample_lod_check.py` ok (`0.9s`), `tests/startup_inline_sampler_check.py` ok (`0.2s`), `tests/startup_run_ps1_check.py` ok (`12.8s`), `tests/startup_run_sh_check.py` FAIL (`0.1s`), `tests/startup_sampler_heap_check.py` ok (`0.1s`), `tests/startup_smem_address_check.py` ok (`0.1s`), `tests/startup_stream_fetch_check.py` ok (`0.3s`), `tests/startup_stream_interface_check.py` ok (`0.3s`), `tests/startup_translator_check.py` ok (`0.6s`) - `sccache`: 0/61 hits; wall `150.4s` AI-assisted; commands listed were executed locally.
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
R0Y00/Xbox2Windows!2453
No description provided.