shader: preserve proven 32-bit graphics table offsets across forward joins #2499

Merged
RavenCurseBurg merged 32 commits from upstream-pr/2507 into main 2026-11-26 00:24:12 +00:00
RavenCurseBurg commented 2026-11-25 18:57:00 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by RavenCurseBurg on 2026-11-25T18:57:00Z.


Part of #2463, item 2. The parent #2069 has landed. This PR adds the forward-join proof and its fixture in nine files against main.

A graphics shader can copy its 32-bit resource-table pointer, advance it by 32 bytes and read the descriptor after two control-flow paths meet. Translation previously refused that load even when both paths had the same table and byte offset. It now preserves the pointer in that case. A missing definition, conflicting offsets, unsupported arithmetic or a loop-carried advance still refuses. A 64-bit vertex-buffer table still requires its matching high word.

Verification

  • At 3f1dafcd, the nine-file tree equals the result of applying only the forward-join changes to main 8ecaa8ec, after #2069. All 90 host translator, fixture and documentation checks passed. LLVM 15 reassembled all 14 fixture programs. Two independent review mutations failed as intended, including a backward edge and a copied high word.
  • In a differential check of 350 seeded graphics programs, every accepted case (49) selected the expected resource, all 220 cases with multiple possible offsets were refused, and 81 cases were conservatively refused. A separate high-SGPR control resolved table byte 48 and checked four refusals when a path lost its valid descriptor or VCC.
  • The 14 Windows Server CTests on the previous integrated head passed, including both compiler paths, the parent’s SMEM readback, and the 320-word raw-store readback. On that build the Intel UHD 770, RTX 4060 and WARP each ran the fixture with both FXC and DXC. All 30 positive images matched. Swapping the table binding changed all 32 pixels in each of the other 30.

To run the public fixture, use python -B tests/startup_joined_table_pointer_check.py and ctest --preset dev --no-tests=error -V -R '^startup_joined_table_pointer_'. The GPU fixture uses source-built inputs and two R8 textures. The addressed table byte selects the texture, and the green channel records the root constant used by the branch.

AI-assisted with Codex (GPT-6.2 Astra, xhigh).

<!-- greyfinch-sync:R0Y00/Xbox2Windows:issue:6611534398 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/2507). Originally posted by [RavenCurseBurg](https://github.com/RavenCurseBurg) on 2026-11-25T18:57:00Z. --- Part of #2463, item 2. The parent #2069 has landed. This PR adds the forward-join proof and its fixture in nine files against main. A graphics shader can copy its 32-bit resource-table pointer, advance it by 32 bytes and read the descriptor after two control-flow paths meet. Translation previously refused that load even when both paths had the same table and byte offset. It now preserves the pointer in that case. A missing definition, conflicting offsets, unsupported arithmetic or a loop-carried advance still refuses. A 64-bit vertex-buffer table still requires its matching high word. ### Verification - At `3f1dafcd`, the nine-file tree equals the result of applying only the forward-join changes to main `8ecaa8ec`, after #2069. All 90 host translator, fixture and documentation checks passed. LLVM 15 reassembled all 14 fixture programs. Two independent [review mutations](https://github.com/R0Y00/Xbox2Windows/pull/2507#issuecomment-7175267169) failed as intended, including a backward edge and a copied high word. - In a differential check of 350 seeded graphics programs, every accepted case (49) selected the expected resource, all 220 cases with multiple possible offsets were refused, and 81 cases were conservatively refused. A separate high-SGPR control resolved table byte 48 and checked four refusals when a path lost its valid descriptor or VCC. - The [14 Windows Server CTests on the previous integrated head](https://github.com/RavenCurseBurg/Xbox2Windows/actions/runs/45723781035) passed, including both compiler paths, the parent’s SMEM readback, and the 320-word raw-store readback. On that build the Intel UHD 770, RTX 4060 and WARP each ran the fixture with both FXC and DXC. All 30 positive images matched. Swapping the table binding changed all 32 pixels in each of the other 30. To run the public fixture, use `python -B tests/startup_joined_table_pointer_check.py` and `ctest --preset dev --no-tests=error -V -R '^startup_joined_table_pointer_'`. The GPU fixture uses source-built inputs and two R8 textures. The addressed table byte selects the texture, and the green channel records the root constant used by the branch. AI-assisted with Codex (GPT-6.2 Astra, xhigh).
ChazY11 commented 2026-11-25 22:02:20 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by ChazY11 on 2026-11-25T21:34:55Z.


Four mutations of the descriptor-pointer propagation: two caught, and the two survivors are a source kind and a direction the fixtures never build

Control modes run clean here, device-free

python -B tests/startup_gfx2hlsl_desc_ptr_prop_check.py
    complete out-of-place pair leaves the original high source untouched: ok
    startup_gfx2hlsl_desc_ptr_prop: ok
python -B tests/startup_joined_table_pointer_check.py
    Graphics table pointer joins: five resource bindings and six refusals matched

Five bindings and six refusals is a good ratio for a change whose claim is "only a proven pointer join is preserved" —
the refusal side is where that claim actually lives.

Mutations

mutation result
a pointer that carries an offset is accepted instead of refused caught (desc_ptr_prop)
forward_table_adds forced False (every pointer advance refused) caught (joined_table_pointer)
PTR64_SOURCES loses vbtab (('root', 'vbtab') → ('root',)) survived
forward_table_adds stops requiring every branch target to be forward survived

The caught pair is the safety-critical one. Refusing an offset-carrying descriptor pointer is the whole premise — an
unmodelled addend is exactly the case where the address is unknown — and making forward_table_adds false is the
conservative direction; both are asserted.

Survivor 1: no fixture uses a vbtab pointer pair

PTR64_SOURCES = ('root', 'vbtab')

vbtab is a real source — self.sym[0] = ('ptr', ('vbtab',)) / self.sym[1] = ('ptrhi', ('vbtab',)) at the vertex-buffer
table setup, and it feeds 'vb %d' in the lookup key at line 6442. But every case in the two new checks starts from
root. Dropping vbtab from the tuple changes nothing they see, so the vertex-buffer table's pointer arithmetic is
unconstrained even though it is the same code path.

Survivor 2: no fixture presents a back edge

# Forward edges reach each block in disassembly order. A back edge could
# repeat a pointer advance before the next table load.
self.forward_table_adds = (getattr(self, 'kind', None) in ('vs', 'ps') and bool(branches)
                           and all(target > pc for pc, target in branches))

That comment names the hazard precisely, and nothing tests it: removing all(target > pc …) leaves every check green.
The joined-table fixture does use branches — four of its cases are "joined at a branch target" — but all of them branch
forward, so the all(...) conjunct is never the reason a verdict differs.

A loop whose body advances a table pointer and then loads through it is the case: the second iteration's pointer would
be classified as forward-propagated when it is a repeat. One case with an s_branch to an earlier PC, containing an
s_add_u32 on the pointer pair, would pin it — and it should be a refusal, since the whole design is "preserve only
what is proven".

I am not claiming either survivor is a bug. PTR64_SOURCES reads correctly and the all(...) conjunct is the
conservative one. They are the two places where the code is stricter than any test, which means the strictness is
currently unverified.

Environment

Windows 11 build 26300; pure Python, no DXC, no adapter, no game files for the rows above. tools/startup/gfx2hlsl.py
is CRLF — patches need the \r\n→\n→write-back dance or the anchor silently misses.

AI-assisted.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:comment:7175267169 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/2507#issuecomment-7175267169). Originally posted by [ChazY11](https://github.com/ChazY11) on 2026-11-25T21:34:55Z. --- ## Four mutations of the descriptor-pointer propagation: two caught, and the two survivors are a source kind and a direction the fixtures never build ### Control modes run clean here, device-free ```text python -B tests/startup_gfx2hlsl_desc_ptr_prop_check.py complete out-of-place pair leaves the original high source untouched: ok startup_gfx2hlsl_desc_ptr_prop: ok python -B tests/startup_joined_table_pointer_check.py Graphics table pointer joins: five resource bindings and six refusals matched ``` Five bindings and six refusals is a good ratio for a change whose claim is "only a *proven* pointer join is preserved" — the refusal side is where that claim actually lives. ### Mutations | mutation | result | |---|---| | a pointer that carries an offset is accepted instead of refused | **caught** (desc_ptr_prop) | | `forward_table_adds` forced `False` (every pointer advance refused) | **caught** (joined_table_pointer) | | `PTR64_SOURCES` loses `vbtab` (`('root', 'vbtab')` → `('root',)`) | survived | | `forward_table_adds` stops requiring every branch target to be forward | survived | The caught pair is the safety-critical one. Refusing an offset-carrying descriptor pointer is the whole premise — an **unmodelled** addend is exactly the case where the address is unknown — and making `forward_table_adds` false is the conservative direction; both are asserted. ### Survivor 1: no fixture uses a `vbtab` pointer pair ```python PTR64_SOURCES = ('root', 'vbtab') ``` `vbtab` is a real source — `self.sym[0] = ('ptr', ('vbtab',))` / `self.sym[1] = ('ptrhi', ('vbtab',))` at the vertex-buffer table setup, and it feeds `'vb %d'` in the lookup key at line 6442. But every case in the two new checks starts from `root`. Dropping `vbtab` from the tuple changes nothing they see, so the vertex-buffer table's pointer arithmetic is unconstrained even though it is the same code path. ### Survivor 2: no fixture presents a back edge ```python # Forward edges reach each block in disassembly order. A back edge could # repeat a pointer advance before the next table load. self.forward_table_adds = (getattr(self, 'kind', None) in ('vs', 'ps') and bool(branches) and all(target > pc for pc, target in branches)) ``` That comment names the hazard precisely, and nothing tests it: removing `all(target > pc …)` leaves every check green. The joined-table fixture does use branches — four of its cases are "joined at a branch target" — but all of them branch forward, so the `all(...)` conjunct is never the reason a verdict differs. A loop whose body advances a table pointer and then loads through it is the case: the second iteration's pointer would be classified as forward-propagated when it is a repeat. One case with an `s_branch` to an earlier PC, containing an `s_add_u32` on the pointer pair, would pin it — and it should be a *refusal*, since the whole design is "preserve only what is proven". I am not claiming either survivor is a bug. `PTR64_SOURCES` reads correctly and the `all(...)` conjunct is the conservative one. They are the two places where the code is stricter than any test, which means the strictness is currently unverified. ## Environment Windows 11 build 26300; pure Python, no DXC, no adapter, no game files for the rows above. `tools/startup/gfx2hlsl.py` is CRLF — patches need the `\r\n`→`\n`→write-back dance or the anchor silently misses. AI-assisted.
RavenCurseBurg commented 2026-11-25 22:02:21 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by RavenCurseBurg on 2026-11-25T21:45:07Z.


Thank you for running the four mutations. I added three complete gfx1013 programs in d7475ca4 and reran the two surviving mutations separately on the integrated head 45e6bc6f. Both now fail the host test.

  • The vertex control reads through the original 64-bit VB table pair at byte 32 and publishes srv 0 buf vb 2. The negative version adds 16 to the low word, copies the original high word without its carry, and loads at byte 16. The translator refuses the incomplete pair. Removing vbtab from PTR64_SOURCES incorrectly publishes slot 2 and fails the new assertion.
  • The existing loop-carried case already has a back edge, but joining its carried value also rejects the mutation. The new loop runs twice and reloads the same base inside each iteration before the add. Removing the forward-edge check now incorrectly accepts it under this PR's forward-only policy and publishes table byte 32. With the guard intact the load refuses the untracked offset.

The host test now checks six bindings and eight refusals. LLVM 15 reassembled all fourteen sources byte-for-byte. The 350-program differential check and 80 translator, fixture and documentation checks passed. I also integrated main's vertex raw-store support from #2570 and resolved the conflict in the shared load-provenance comment. The exact-head Windows run is underway.

I’m keeping the PR in draft. The parent author’s update says they plan to reopen and retest #2069 after the test-speed work.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:comment:7175492569 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/2507#issuecomment-7175492569). Originally posted by [RavenCurseBurg](https://github.com/RavenCurseBurg) on 2026-11-25T21:45:07Z. --- Thank you for running the four mutations. I added three complete gfx1013 programs in [d7475ca4](https://github.com/RavenCurseBurg/Xbox2Windows/commit/d7475ca4) and reran the two surviving mutations separately on the integrated head `45e6bc6f`. Both now fail the host test. - The vertex control reads through the original 64-bit VB table pair at byte 32 and publishes `srv 0 buf vb 2`. The negative version adds 16 to the low word, copies the original high word without its carry, and loads at byte 16. The translator refuses the incomplete pair. Removing `vbtab` from `PTR64_SOURCES` incorrectly publishes slot 2 and fails the new assertion. - The existing loop-carried case already has a back edge, but joining its carried value also rejects the mutation. The new loop runs twice and reloads the same base inside each iteration before the add. Removing the forward-edge check now incorrectly accepts it under this PR's forward-only policy and publishes table byte 32. With the guard intact the load refuses the untracked offset. The host test now checks six bindings and eight refusals. LLVM 15 reassembled all fourteen sources byte-for-byte. The 350-program differential check and 80 translator, fixture and documentation checks passed. I also integrated main's vertex raw-store support from #2570 and resolved the conflict in the shared load-provenance comment. The [exact-head Windows run](https://github.com/RavenCurseBurg/Xbox2Windows/actions/runs/45707080359) is underway. I’m keeping the PR in draft. The [parent author’s update](https://github.com/R0Y00/Xbox2Windows/pull/2069#issuecomment-7175237771) says they plan to reopen and retest #2069 after the test-speed work.
Makto94 commented 2026-11-26 00:01:12 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by Makto94 on 2026-11-25T23:35:47Z.


Independent hardware run at head e68150dd (build exit code 0). The PR body reports an RTX 4060 run; this adds a second NVIDIA GPU.

Environment: NVIDIA GeForce RTX 3070 Ti, driver 32.0.16.2101 (NVIDIA 621.01) and Windows 11 Pro build 26300.9974 as reported by the system, dev preset (MSVC). The runs were serial (-j1).

Command: ctest --preset dev --no-tests=error -j1 -V -R '^startup_(joined_table_pointer_.*|gfx2hlsl_desc_ptr_prop)$'

Result: 6/6 passed, 0 failed (cpu, desc_ptr_prop, fxc_warp, dxc_warp, fxc_hardware, dxc_hardware). 0 capability skips (77).

Each draw test prints 10 table byte lines (for example fxc hardware table byte 0, 0 pixels changed from the source expectation and fxc hardware table byte 32, 32 pixels changed from the source expectation). The lines of the WARP and hardware tests are identical for FXC and for DXC (diff, after normalizing the backend name).

In the ctest log of the two _hardware tests, the only line that names an adapter is adapter=Microsoft Basic Render Driver driver=10.0.26100.9818 (5 times per test). It comes from the consumer call without a backend. The script captures the hardware calls, so they do not appear there.

To identify the adapter, I ran tests/startup_joined_table_pointer_check.py directly with hardware for each compiler, under a small local wrapper that prints the adapter line of every captured hardware call: 10 lines adapter=NVIDIA GeForce RTX 3070 Ti driver=32.0.16.2101 for FXC and 10 for DXC. The table byte lines of the FXC run match test 1111. The fixture does not print the debug layer state.

The diff also changes source files of tests registered before this PR. I ran the tests whose names match those files. Command: ctest --preset dev --no-tests=error -j1 -V -R '^startup_(smem_address_(controls|warp|hardware)|stream_draw_(warp|hardware)|address_srv_(warp|hardware))$'. Result: 7/7 passed, 0 failed, 0 skips (77). startup_stream_draw_hardware prints 2 adapter=NVIDIA GeForce RTX 3070 Ti lines and 2 adapter=Microsoft Basic Render Driver lines; startup_address_srv_hardware prints 1 of each. startup_smem_address_hardware does not print an adapter line.

This run covers NVIDIA and WARP only. Not covered: any test outside the two filters above.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:comment:7177782902 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/2507#issuecomment-7177782902). Originally posted by [Makto94](https://github.com/Makto94) on 2026-11-25T23:35:47Z. --- Independent hardware run at head `e68150dd` (build exit code 0). The PR body reports an RTX 4060 run; this adds a second NVIDIA GPU. Environment: NVIDIA GeForce RTX 3070 Ti, driver 32.0.16.2101 (NVIDIA 621.01) and Windows 11 Pro build 26300.9974 as reported by the system, `dev` preset (MSVC). The runs were serial (`-j1`). Command: `ctest --preset dev --no-tests=error -j1 -V -R '^startup_(joined_table_pointer_.*|gfx2hlsl_desc_ptr_prop)$'` Result: 6/6 passed, 0 failed (`cpu`, `desc_ptr_prop`, `fxc_warp`, `dxc_warp`, `fxc_hardware`, `dxc_hardware`). 0 capability skips (77). Each draw test prints 10 `table byte` lines (for example `fxc hardware table byte 0, 0 pixels changed from the source expectation` and `fxc hardware table byte 32, 32 pixels changed from the source expectation`). The lines of the WARP and hardware tests are identical for FXC and for DXC (diff, after normalizing the backend name). In the ctest log of the two `_hardware` tests, the only line that names an adapter is `adapter=Microsoft Basic Render Driver driver=10.0.26100.9818` (5 times per test). It comes from the consumer call without a backend. The script captures the `hardware` calls, so they do not appear there. To identify the adapter, I ran `tests/startup_joined_table_pointer_check.py` directly with `hardware` for each compiler, under a small local wrapper that prints the adapter line of every captured `hardware` call: 10 lines `adapter=NVIDIA GeForce RTX 3070 Ti driver=32.0.16.2101` for FXC and 10 for DXC. The `table byte` lines of the FXC run match test 1111. The fixture does not print the debug layer state. The diff also changes source files of tests registered before this PR. I ran the tests whose names match those files. Command: `ctest --preset dev --no-tests=error -j1 -V -R '^startup_(smem_address_(controls|warp|hardware)|stream_draw_(warp|hardware)|address_srv_(warp|hardware))$'`. Result: 7/7 passed, 0 failed, 0 skips (77). `startup_stream_draw_hardware` prints 2 `adapter=NVIDIA GeForce RTX 3070 Ti` lines and 2 `adapter=Microsoft Basic Render Driver` lines; `startup_address_srv_hardware` prints 1 of each. `startup_smem_address_hardware` does not print an adapter line. This run covers NVIDIA and WARP only. Not covered: any test outside the two filters above.
upstream-sync closed this pull request 2026-11-26 01:01:52 +00:00
tedin7 commented 2026-11-26 01:01:52 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by tedin7 on 2026-11-26T00:16:24Z.

Review: COMMENTED


Review of head 3f1dafcd (0 behind main, GitHub CI green).

Code read: tools/startup/gfx2hlsl.py only lets s_add_u32 carry a 32-bit table pointer across branches when every branch in the stage is forward (forward_table_adds, vs/ps only). Unknown byte offsets and sums above 0xfffff are refused. The legacy added marker no longer claims a single value. The CMake and workflow wiring matches the sibling join/desc-ptr tests. No other open or merged PR covers this slice (#2069 is the parent, #2466 is the exec-join sibling).

Commands run locally on Linux:

  • python3 -B tests/startup_joined_table_pointer_check.py: passed (6 bindings, 8 refusals).
  • python3 -B tests/startup_gfx2hlsl_desc_ptr_prop_check.py and tests/startup_gfx2hlsl_join_symbols_check.py: passed.
  • python3 tests/docs_links_check.py, python3 tests/bidi_controls_check.py, git diff --check origin/main...HEAD: clean.
  • Mutation 1: forward-only check relaxed so backward edges pass: the test fails ("advance inside a backward loop was accepted").
  • Mutation 2: accumulated-offset overflow check removed: the test fails ("offset overflow was accepted").

The GPU fixture (R8 texture selected by table byte, FXC and DXC, readback of pixels) is the real-readback guard; I did not run it here. The Win2025 WARP run follows separately.

AI-assisted; commands listed were executed locally.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:review:6066825403 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/2507#pullrequestreview-6066825403). Originally posted by [tedin7](https://github.com/tedin7) on 2026-11-26T00:16:24Z. **Review:** COMMENTED --- Review of head 3f1dafcd (0 behind main, GitHub CI green). Code read: `tools/startup/gfx2hlsl.py` only lets `s_add_u32` carry a 32-bit table pointer across branches when every branch in the stage is forward (`forward_table_adds`, vs/ps only). Unknown byte offsets and sums above 0xfffff are refused. The legacy `added` marker no longer claims a single value. The CMake and workflow wiring matches the sibling join/desc-ptr tests. No other open or merged PR covers this slice (#2069 is the parent, #2466 is the exec-join sibling). Commands run locally on Linux: - `python3 -B tests/startup_joined_table_pointer_check.py`: passed (6 bindings, 8 refusals). - `python3 -B tests/startup_gfx2hlsl_desc_ptr_prop_check.py` and `tests/startup_gfx2hlsl_join_symbols_check.py`: passed. - `python3 tests/docs_links_check.py`, `python3 tests/bidi_controls_check.py`, `git diff --check origin/main...HEAD`: clean. - Mutation 1: forward-only check relaxed so backward edges pass: the test fails ("advance inside a backward loop was accepted"). - Mutation 2: accumulated-offset overflow check removed: the test fails ("offset overflow was accepted"). The GPU fixture (R8 texture selected by table byte, FXC and DXC, readback of pixels) is the real-readback guard; I did not run it here. The Win2025 WARP run follows separately. AI-assisted; commands listed were executed locally.
tedin7 commented 2026-11-26 01:02:10 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by tedin7 on 2026-11-26T00:24:03Z.


Win2025 WARP receipt for head 3f1dafcd (up to date with main); targeted run of the new joined-table tests plus sibling desc-ptr/join checks.

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

  • Debug (--preset dev):
    • Build (cmake --build --preset dev --target startup_stream_consumer -- -j 2): 2.31s (configure 0.00s)
    • Test (ctest --preset dev -R 'startup_joined_table_pointer|startup_gfx2hlsl_desc_ptr_prop|startup_gfx2hlsl_join_symbols|startup_stream_consumer' --parallel 4 --no-tests=error --output-on-failure): 11/11 passed (6.65s: startup_gfx2hlsl_join_symbols_controls 0.45s, startup_gfx2hlsl_join_symbols_folded_warp 0.45s, startup_gfx2hlsl_join_symbols_warp 0.66s, startup_gfx2hlsl_desc_ptr_prop 0.18s, startup_gfx2hlsl_join_symbols_hardware 0.66s, startup_joined_table_pointer_cpu 0.26s, startup_gfx2hlsl_join_symbols_folded_hardware 0.55s, startup_joined_table_pointer_fxc_warp 5.08s, startup_joined_table_pointer_dxc_hardware 4.82s, startup_joined_table_pointer_dxc_warp 5.20s, startup_joined_table_pointer_fxc_hardware 5.56s)
  • Release /O2 (--preset release):
    • Build (cmake --build --preset release --target startup_stream_consumer -- -j 2): 6.66s (configure 0.00s)
    • Test (ctest --preset release -R 'startup_joined_table_pointer|startup_gfx2hlsl_desc_ptr_prop|startup_gfx2hlsl_join_symbols|startup_stream_consumer' --parallel 4 --no-tests=error --output-on-failure): 11/11 passed (6.31s: startup_gfx2hlsl_join_symbols_controls 0.37s, startup_gfx2hlsl_join_symbols_folded_hardware 0.39s, startup_gfx2hlsl_join_symbols_hardware 0.54s, startup_gfx2hlsl_join_symbols_warp 0.57s, startup_gfx2hlsl_desc_ptr_prop 0.16s, startup_joined_table_pointer_cpu 0.18s, startup_gfx2hlsl_join_symbols_folded_warp 0.40s, startup_joined_table_pointer_dxc_warp 4.92s, startup_joined_table_pointer_dxc_hardware 4.83s, startup_joined_table_pointer_fxc_warp 5.30s, startup_joined_table_pointer_fxc_hardware 5.36s)
  • Windows Python checks: tests/mesh_heap_sampler_check.py ok (1.1s), tests/startup_buffer_address_check.py ok (0.8s), tests/startup_buffer_format_word3_table_check.py ok (0.1s), tests/startup_compute_request_offline_check.py ok (0.7s), tests/startup_compute_store_format_xyzw_check.py ok (0.4s), tests/startup_compute_translate_check.py ok (0.3s), 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.2s), tests/startup_gfx2hlsl_capture_check.py ok (1.7s), tests/startup_gfx2hlsl_cmp16_check.py ok (0.5s), tests/startup_gfx2hlsl_compare_dst_check.py ok (0.1s), tests/startup_gfx2hlsl_compute_check.py ok (0.7s), tests/startup_gfx2hlsl_cselect_mask_check.py ok (0.1s), tests/startup_gfx2hlsl_cvt_alu_check.py ok (0.3s), tests/startup_gfx2hlsl_cvt_off_f32_i4_check.py ok (0.3s), tests/startup_gfx2hlsl_cvt_pk_int16_check.py ok (0.4s), tests/startup_gfx2hlsl_f32_lg_check.py ok (2.1s), tests/startup_gfx2hlsl_f32_nan_check.py ok (8.9s), tests/startup_gfx2hlsl_fma_mix_check.py ok (0.2s), 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.3s), tests/startup_gfx2hlsl_int_med3_check.py ok (0.2s), tests/startup_gfx2hlsl_interp_p2_hi_check.py ok (0.3s), tests/startup_gfx2hlsl_join_symbols_check.py ok (0.3s), tests/startup_gfx2hlsl_loop_constants_check.py ok (0.1s), tests/startup_gfx2hlsl_mask_data_check.py ok (0.1s), tests/startup_gfx2hlsl_mask_overwrite_check.py ok (0.1s), tests/startup_gfx2hlsl_operand_count_check.py ok (0.5s), tests/startup_gfx2hlsl_pack_absdiff_check.py ok (4.2s), tests/startup_gfx2hlsl_pack_b32_f16_check.py ok (0.2s), tests/startup_gfx2hlsl_readfirstlane_recompute_check.py ok (0.2s), tests/startup_gfx2hlsl_readfirstlane_uniform_check.py ok (0.2s), tests/startup_gfx2hlsl_refusals_check.py ok (1.0s), tests/startup_gfx2hlsl_root_check.py ok (1.1s), tests/startup_gfx2hlsl_sad_check.py ok (0.5s), tests/startup_gfx2hlsl_saveexec_same_reg_check.py ok (0.1s), tests/startup_gfx2hlsl_scalar_arity_check.py ok (0.4s), tests/startup_gfx2hlsl_scalar_brev_fold_check.py ok (0.3s), tests/startup_gfx2hlsl_scalar_m0_check.py ok (0.2s), tests/startup_gfx2hlsl_scalar_table_arity_check.py ok (0.5s), tests/startup_gfx2hlsl_sdwa_cvt_check.py ok (0.4s), tests/startup_gfx2hlsl_sgpr_spill_check.py ok (0.3s), tests/startup_gfx2hlsl_shift64_check.py ok (0.3s), tests/startup_gfx2hlsl_sload_const_offset_check.py ok (0.1s), tests/startup_gfx2hlsl_smem_offset_check.py ok (0.1s), tests/startup_gfx2hlsl_sop2_complement_check.py ok (9.7s), tests/startup_gfx2hlsl_sopk_accum_check.py ok (1.4s), tests/startup_gfx2hlsl_sopk_signext_check.py ok (0.2s), tests/startup_gfx2hlsl_swap_check.py ok (0.6s), tests/startup_gfx2hlsl_vopc_sdwa_check.py ok (6.3s), 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.2s), tests/startup_image_gather_lz_check.py ok (0.8s), tests/startup_image_load_d16_check.py ok (1.6s), tests/startup_image_sample_a16_check.py ok (0.4s), tests/startup_image_sample_b_check.py ok (0.3s), 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 (1.0s), tests/startup_inline_sampler_check.py ok (0.3s), tests/startup_mesh57_loop_refusal_check.py ok (0.3s), tests/startup_mesh57_skeleton_check.py ok (0.8s), tests/startup_run_ps1_check.py ok (19.0s), 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 (4.0s), tests/startup_smem_address_check.py ok (0.3s), tests/startup_stream_fetch_check.py ok (0.3s), tests/startup_stream_interface_check.py ok (0.4s), tests/startup_translator_check.py ok (0.7s)
  • sccache: 10/47 hits; wall 109.1s

AI-assisted; commands listed were executed locally.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:comment:7178715145 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/2507#issuecomment-7178715145). Originally posted by [tedin7](https://github.com/tedin7) on 2026-11-26T00:24:03Z. --- Win2025 WARP receipt for head 3f1dafcd (up to date with main); targeted run of the new joined-table tests plus sibling desc-ptr/join checks. Verified on Windows Server 2025 (Build 26100, MSVC 14.44.35207 + D3D12 WARP) at commit `3f1dafcd5d67b45d17fb8b66e51fb4213aab8e6a`: - **Debug (`--preset dev`)**: - Build (`cmake --build --preset dev --target startup_stream_consumer -- -j 2`): `2.31s` (configure `0.00s`) - Test (`ctest --preset dev -R 'startup_joined_table_pointer|startup_gfx2hlsl_desc_ptr_prop|startup_gfx2hlsl_join_symbols|startup_stream_consumer' --parallel 4 --no-tests=error --output-on-failure`): **11/11 passed** (`6.65s`: `startup_gfx2hlsl_join_symbols_controls` `0.45s`, `startup_gfx2hlsl_join_symbols_folded_warp` `0.45s`, `startup_gfx2hlsl_join_symbols_warp` `0.66s`, `startup_gfx2hlsl_desc_ptr_prop` `0.18s`, `startup_gfx2hlsl_join_symbols_hardware` `0.66s`, `startup_joined_table_pointer_cpu` `0.26s`, `startup_gfx2hlsl_join_symbols_folded_hardware` `0.55s`, `startup_joined_table_pointer_fxc_warp` `5.08s`, `startup_joined_table_pointer_dxc_hardware` `4.82s`, `startup_joined_table_pointer_dxc_warp` `5.20s`, `startup_joined_table_pointer_fxc_hardware` `5.56s`) - **Release `/O2` (`--preset release`)**: - Build (`cmake --build --preset release --target startup_stream_consumer -- -j 2`): `6.66s` (configure `0.00s`) - Test (`ctest --preset release -R 'startup_joined_table_pointer|startup_gfx2hlsl_desc_ptr_prop|startup_gfx2hlsl_join_symbols|startup_stream_consumer' --parallel 4 --no-tests=error --output-on-failure`): **11/11 passed** (`6.31s`: `startup_gfx2hlsl_join_symbols_controls` `0.37s`, `startup_gfx2hlsl_join_symbols_folded_hardware` `0.39s`, `startup_gfx2hlsl_join_symbols_hardware` `0.54s`, `startup_gfx2hlsl_join_symbols_warp` `0.57s`, `startup_gfx2hlsl_desc_ptr_prop` `0.16s`, `startup_joined_table_pointer_cpu` `0.18s`, `startup_gfx2hlsl_join_symbols_folded_warp` `0.40s`, `startup_joined_table_pointer_dxc_warp` `4.92s`, `startup_joined_table_pointer_dxc_hardware` `4.83s`, `startup_joined_table_pointer_fxc_warp` `5.30s`, `startup_joined_table_pointer_fxc_hardware` `5.36s`) - **Windows Python checks**: `tests/mesh_heap_sampler_check.py` ok (`1.1s`), `tests/startup_buffer_address_check.py` ok (`0.8s`), `tests/startup_buffer_format_word3_table_check.py` ok (`0.1s`), `tests/startup_compute_request_offline_check.py` ok (`0.7s`), `tests/startup_compute_store_format_xyzw_check.py` ok (`0.4s`), `tests/startup_compute_translate_check.py` ok (`0.3s`), `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.2s`), `tests/startup_gfx2hlsl_capture_check.py` ok (`1.7s`), `tests/startup_gfx2hlsl_cmp16_check.py` ok (`0.5s`), `tests/startup_gfx2hlsl_compare_dst_check.py` ok (`0.1s`), `tests/startup_gfx2hlsl_compute_check.py` ok (`0.7s`), `tests/startup_gfx2hlsl_cselect_mask_check.py` ok (`0.1s`), `tests/startup_gfx2hlsl_cvt_alu_check.py` ok (`0.3s`), `tests/startup_gfx2hlsl_cvt_off_f32_i4_check.py` ok (`0.3s`), `tests/startup_gfx2hlsl_cvt_pk_int16_check.py` ok (`0.4s`), `tests/startup_gfx2hlsl_f32_lg_check.py` ok (`2.1s`), `tests/startup_gfx2hlsl_f32_nan_check.py` ok (`8.9s`), `tests/startup_gfx2hlsl_fma_mix_check.py` ok (`0.2s`), `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.3s`), `tests/startup_gfx2hlsl_int_med3_check.py` ok (`0.2s`), `tests/startup_gfx2hlsl_interp_p2_hi_check.py` ok (`0.3s`), `tests/startup_gfx2hlsl_join_symbols_check.py` ok (`0.3s`), `tests/startup_gfx2hlsl_loop_constants_check.py` ok (`0.1s`), `tests/startup_gfx2hlsl_mask_data_check.py` ok (`0.1s`), `tests/startup_gfx2hlsl_mask_overwrite_check.py` ok (`0.1s`), `tests/startup_gfx2hlsl_operand_count_check.py` ok (`0.5s`), `tests/startup_gfx2hlsl_pack_absdiff_check.py` ok (`4.2s`), `tests/startup_gfx2hlsl_pack_b32_f16_check.py` ok (`0.2s`), `tests/startup_gfx2hlsl_readfirstlane_recompute_check.py` ok (`0.2s`), `tests/startup_gfx2hlsl_readfirstlane_uniform_check.py` ok (`0.2s`), `tests/startup_gfx2hlsl_refusals_check.py` ok (`1.0s`), `tests/startup_gfx2hlsl_root_check.py` ok (`1.1s`), `tests/startup_gfx2hlsl_sad_check.py` ok (`0.5s`), `tests/startup_gfx2hlsl_saveexec_same_reg_check.py` ok (`0.1s`), `tests/startup_gfx2hlsl_scalar_arity_check.py` ok (`0.4s`), `tests/startup_gfx2hlsl_scalar_brev_fold_check.py` ok (`0.3s`), `tests/startup_gfx2hlsl_scalar_m0_check.py` ok (`0.2s`), `tests/startup_gfx2hlsl_scalar_table_arity_check.py` ok (`0.5s`), `tests/startup_gfx2hlsl_sdwa_cvt_check.py` ok (`0.4s`), `tests/startup_gfx2hlsl_sgpr_spill_check.py` ok (`0.3s`), `tests/startup_gfx2hlsl_shift64_check.py` ok (`0.3s`), `tests/startup_gfx2hlsl_sload_const_offset_check.py` ok (`0.1s`), `tests/startup_gfx2hlsl_smem_offset_check.py` ok (`0.1s`), `tests/startup_gfx2hlsl_sop2_complement_check.py` ok (`9.7s`), `tests/startup_gfx2hlsl_sopk_accum_check.py` ok (`1.4s`), `tests/startup_gfx2hlsl_sopk_signext_check.py` ok (`0.2s`), `tests/startup_gfx2hlsl_swap_check.py` ok (`0.6s`), `tests/startup_gfx2hlsl_vopc_sdwa_check.py` ok (`6.3s`), `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.2s`), `tests/startup_image_gather_lz_check.py` ok (`0.8s`), `tests/startup_image_load_d16_check.py` ok (`1.6s`), `tests/startup_image_sample_a16_check.py` ok (`0.4s`), `tests/startup_image_sample_b_check.py` ok (`0.3s`), `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 (`1.0s`), `tests/startup_inline_sampler_check.py` ok (`0.3s`), `tests/startup_mesh57_loop_refusal_check.py` ok (`0.3s`), `tests/startup_mesh57_skeleton_check.py` ok (`0.8s`), `tests/startup_run_ps1_check.py` ok (`19.0s`), `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 (`4.0s`), `tests/startup_smem_address_check.py` ok (`0.3s`), `tests/startup_stream_fetch_check.py` ok (`0.3s`), `tests/startup_stream_interface_check.py` ok (`0.4s`), `tests/startup_translator_check.py` ok (`0.7s`) - `sccache`: 10/47 hits; wall `109.1s` 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!2499
No description provided.