docs: measure native wave32 compute on app-local WARP 1.0.22 (#3160 stage 1) #3168

Manually merged
github merged 4 commits from github-bot/gh-3166 into gh-pr/3166/base 2026-11-27 20:34:54 +00:00 AGit
Owner

@⁠Not-Saii on GitHub · 2026-11-27 19:38 UTC · original
Not-Saii:docs/native-compute-warp → main · +120 −0 · 1 files · 4 commits · merged 2026-11-27 20:28 UTC

Change

Adds docs/experiments/native-compute-warp.md, the stage 1 measurement for #3162. The change is documentation only: no translator, test or CMake changes.

The measurement changed the plan. On Windows 11 build 26300, WARP 1.0.22 placed beside the EXE and loaded by the in-box D3D12 runtime already provides 4-to-128-lane waves. The export-based Agility load fails on this machine with 0x887E0003. So the native compute executables get no Agility wiring: here it would turn passing tests into failing ones.

Results

Test In-box runtime + WARP 1.0.22
native_comparison_pso_warp pass (PSO creation only)
native_heap_handle_probe_warp pass
native_global_srv_heap_replay_warp pass
startup_compute_dispatch_native_warp fail: dispatched, output unwritten (0xc5c5c5c5, 288 words)
native_startup_request_cache_warp fail: compute dispatch output mismatch
shader_wave32_warp pass (forced width 32)
bvh_wave64_warp fail at field 25, the field #145 reports, with a different value (source lane 19; #145 decoded to 27)
  • Heap-probe and heap-replay binaries with the DLL removed: (4..4) lanes, skip 77.
  • Options unset: the five native tests behave as on main, four skips (77) and one pass through the 4-lane branch.
  • Negative control: one wrong expected word in native_global_srv_heap_replay.cpp (local, reverted) fails with mismatch word 5: got 0xa0000005 expected 0xa0000004.
  • startup_compute_dispatch_warp (HLSL module, same stand-in) passes on WARP 1.0.22.
  • startup_compute_dispatch_native_hardware and native_startup_request_cache_hardware pass on the RTX 4090 (driver 32.0.16.1088), so the two stand-in failures are WARP-only.

Commands

cmake --preset dev -B out/build/warp122 "-DOFFSCREEN_AGILITY_620_DIR=<agility dir>" "-DOFFSCREEN_WARP_DIR=<warp>/build/native/bin/x64"
cmake --build out/build/warp122 --target compile_dxil native_recording_check native_heap_handle_probe native_global_srv_heap_replay
ctest --test-dir out/build/warp122 --no-tests=error -j1 -V -R '^native_(comparison_pso|heap_handle_probe|global_srv_heap_replay)_warp$'

The stand-in and gate tests need offscreen_check and startup_stream_consumer, which don't compile with the Agility option on main. That is the 40-byte view-description static_assert from #2532, filed as #3167. I measured them in an options-unset build with d3d10warp.dll copied in by hand; the note has the commands.

tests/docs_links_check.py and tests/bidi_controls_check.py pass.

Environment

Commit 88cddb09. Windows 11 build 26300, in-box D3D12Core.dll 10.0.26100.9818. MSVC 14.44.35207, Windows SDK 10.0.26100, Debug build. WARP 1.0.22 and Agility 1.620.2 come from the Microsoft-signed NuGet packages, not committed. RTX 4090 (driver 32.0.16.1088) only for the two stand-in _hardware runs.

Open

  • The cause of the two WARP-only stand-in failures.
  • Why the export-based Agility load fails on this build.
  • #145 for native compute: the readlane, DPP and permlane fixtures run only on native_store_replay (hardware adapter).
  • Stage 2 of #3162 (CI) stays open.

Refs #3162

AI-assisted.

🤖 Generated with Claude Code

**@⁠Not-Saii** on GitHub · 2026-11-27 19:38 UTC · [original](https://github.com/R0Y00/Xbox2Windows/pull/3166) `Not-Saii:docs/native-compute-warp` → `main` · +120 −0 · 1 files · 4 commits · merged 2026-11-27 20:28 UTC ## Change Adds `docs/experiments/native-compute-warp.md`, the stage 1 measurement for #3162. The change is documentation only: no translator, test or CMake changes. The measurement changed the plan. On Windows 11 build 26300, WARP 1.0.22 placed beside the EXE and loaded by the in-box D3D12 runtime already provides 4-to-128-lane waves. The export-based Agility load fails on this machine with `0x887E0003`. So the native compute executables get no Agility wiring: here it would turn passing tests into failing ones. ## Results | Test | In-box runtime + WARP 1.0.22 | |---|---| | `native_comparison_pso_warp` | pass (PSO creation only) | | `native_heap_handle_probe_warp` | pass | | `native_global_srv_heap_replay_warp` | pass | | `startup_compute_dispatch_native_warp` | fail: dispatched, output unwritten (`0xc5c5c5c5`, 288 words) | | `native_startup_request_cache_warp` | fail: `compute dispatch output mismatch` | | `shader_wave32_warp` | pass (forced width 32) | | `bvh_wave64_warp` | fail at field 25, the field #145 reports, with a different value (source lane 19; #145 decoded to 27) | - Heap-probe and heap-replay binaries with the DLL removed: `(4..4)` lanes, skip 77. - Options unset: the five native tests behave as on `main`, four skips (77) and one pass through the 4-lane branch. - Negative control: one wrong expected word in `native_global_srv_heap_replay.cpp` (local, reverted) fails with `mismatch word 5: got 0xa0000005 expected 0xa0000004`. - `startup_compute_dispatch_warp` (HLSL module, same stand-in) passes on WARP 1.0.22. - `startup_compute_dispatch_native_hardware` and `native_startup_request_cache_hardware` pass on the RTX 4090 (driver 32.0.16.1088), so the two stand-in failures are WARP-only. ## Commands ```powershell cmake --preset dev -B out/build/warp122 "-DOFFSCREEN_AGILITY_620_DIR=<agility dir>" "-DOFFSCREEN_WARP_DIR=<warp>/build/native/bin/x64" cmake --build out/build/warp122 --target compile_dxil native_recording_check native_heap_handle_probe native_global_srv_heap_replay ctest --test-dir out/build/warp122 --no-tests=error -j1 -V -R '^native_(comparison_pso|heap_handle_probe|global_srv_heap_replay)_warp$' ``` The stand-in and gate tests need `offscreen_check` and `startup_stream_consumer`, which don't compile with the Agility option on `main`. That is the 40-byte view-description `static_assert` from #2532, filed as #3167. I measured them in an options-unset build with `d3d10warp.dll` copied in by hand; the note has the commands. `tests/docs_links_check.py` and `tests/bidi_controls_check.py` pass. ## Environment Commit `88cddb09`. Windows 11 build 26300, in-box `D3D12Core.dll` 10.0.26100.9818. MSVC 14.44.35207, Windows SDK 10.0.26100, Debug build. WARP 1.0.22 and Agility 1.620.2 come from the Microsoft-signed NuGet packages, not committed. RTX 4090 (driver 32.0.16.1088) only for the two stand-in `_hardware` runs. ## Open - The cause of the two WARP-only stand-in failures. - Why the export-based Agility load fails on this build. - #145 for native compute: the readlane, DPP and permlane fixtures run only on `native_store_replay` (hardware adapter). - Stage 2 of #3162 (CI) stays open. Refs #3162 AI-assisted. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Stage 1 of #3160. On Windows 11 build 26300 the app-local d3d10warp.dll
1.0.22, loaded by the in-box D3D12 runtime, gives 4-to-128-lane waves.
Three native compute _warp tests pass without any wiring. The two
stand-in tests dispatch but write no output, and the export-based
Agility load fails on this machine, so no Agility wiring is added.
The note also records that the opt-in Agility build does not compile
on main (40-byte view-description static_assert).

Refs #3160

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-27 19:44:14 +00:00
github-bot changed target branch from main to gh-pr/3166/base 2026-11-27 20:34:53 +00:00
github manually merged commit 49b4447af3 into gh-pr/3166/base 2026-11-27 20:34:54 +00:00
Author
Owner

@⁠tedin7 on GitHub · 2026-11-27 20:28 UTC · original · reviewed

Review of 49b4447af3, a docs-only change (one new file, docs/experiments/native-compute-warp.md). Comment only.

The note keeps measurements, controls and open questions apart: the renamed-DLL control and the one-word negative control show that the app-local WARP passes are real comparisons, the two stand-in failures are reported with their failing words and left open, and the unknowns (cause of the export-path 0x887E0003, #145 on native compute) are labelled as such. The statement that every direct compute module declares wave size 32 matches src/dxil_module.h on main, and the 4-lane in-box WARP matches what our own WARP runs see (the native _warp/_hardware legs skip there). No code, test or CMake change, so nothing for a Windows run to verify.

Commands: git diff origin/main...pull/3166/head (read), git grep -n wave origin/main -- src/dxil_module.h.

AI-assisted; commands listed were executed locally.

**@⁠tedin7** on GitHub · 2026-11-27 20:28 UTC · [original](https://github.com/R0Y00/Xbox2Windows/pull/3166#pullrequestreview-6093073879) · **reviewed** Review of 49b4447af3da477aa983e44990e1192b43e8669d, a docs-only change (one new file, `docs/experiments/native-compute-warp.md`). Comment only. The note keeps measurements, controls and open questions apart: the renamed-DLL control and the one-word negative control show that the app-local WARP passes are real comparisons, the two stand-in failures are reported with their failing words and left open, and the unknowns (cause of the export-path `0x887E0003`, #145 on native compute) are labelled as such. The statement that every direct compute module declares wave size 32 matches `src/dxil_module.h` on main, and the 4-lane in-box WARP matches what our own WARP runs see (the native `_warp`/`_hardware` legs skip there). No code, test or CMake change, so nothing for a Windows run to verify. Commands: `git diff origin/main...pull/3166/head` (read), `git grep -n wave origin/main -- src/dxil_module.h`. AI-assisted; commands listed were executed locally.
This discussion has been locked. Commenting is limited to contributors.
No description provided.