docs: record DXC without GVN on WARP and its pass shares #3059

Manually merged
github merged 3 commits from github-bot/gh-3059 into gh-pr/3059/base 2026-11-27 14:42:00 +00:00 AGit
Owner

@⁠Not-Saii on GitHub · 2026-11-27 13:10 UTC · original
Not-Saii:docs/dxc-gvn-off-warp → main · +102 −0 · 1 files · 3 commits · merged 2026-11-27 14:36 UTC

Adds docs/experiments/dxc-gvn-off-warp.md, a follow-up to the DXC compile-time section from the closed #775 work. That section noted that the -opt-disable gvn DXIL had not been checked on a GPU. Docs only, no code change.

What the note records

  • GVN share of DXC pass time on samplebranch_4096/8192/16384: 63.1 %, 77.1 % and 84.9 %. GVN grows about fourfold per doubling (4.75x, 3.83x); the other passes grow 2.4x and 2.3x. With GVN off, the total pass time is similar to the other passes' time in the default runs (single runs; this does not show whether time moves between individual passes).
  • DXIL size with GVN off: +18.0 %, +15.0 % and +14.0 %.
  • Sampler oracle on WARP (offscreen_check warp --spirv-sampler-views):
    • samplebranch_4096 passes with and without GVN, in 79.2 s and 79.1 s.
    • A negative control fails as expected. It is the GVN-off 4096 source with the first control store's u changed from 1.25 to 0.25, and reports word 1 of swaps 0 and 2 and word 0 of swap 1 as expected=3f400000 actual=3e800000.
    • The default samplebranch_8192 CSO blocked: 27.4 s of CPU, then one thread and no CPU progress. It was stopped after about 18 minutes without a readback. The GVN-off 8192 CSO was not run.
  • Sampler oracle on an RTX 4090 (driver 32.0.16.1088, offscreen_check hardware --spirv-sampler-views):
    • All five CSOs pass, including the default samplebranch_8192 that blocked on WARP. The negative control fails with the same three words as on WARP.
    • Pipeline creation plus three dispatches take 18.0 and 18.2 s at 4096, and 83.9 and 85.6 s at 8192, default and GVN off. That is the same time with or without GVN, growing 4.7x per doubling.
    • This adapter time is 3.7-17 times DXC's own compile time. The split between pipeline creation and dispatch was not measured.
  • What the oracle covers: only UAV words 0-3, so a pass does not validate the generated body that GVN would have optimized. The note says so and does not propose -opt-disable gvn as a translation setting.

Environment and commands

Measured on 27.11.2026 on a Ryzen 9 7900X, Windows 11 build 26300. DXC 1.9.0.5512 (01b62ad47, LunarG Vulkan SDK 1.4.363.0), the same build as the earlier tables. WARP 10.0.26100.9818, NVIDIA GeForce RTX 4090 driver 32.0.16.1088, offscreen_check from a Debug dev build of 1ec2c938, debug_layer=enabled, 0 errors and 0 warnings. Single runs, one at a time. The exact tools/dxc_compile_time.py and offscreen_check commands are in the note.

Checks

python -B tests/docs_links_check.py      # Checked 72 Markdown files and 584 links.
python -B tests/bidi_controls_check.py   # no bidirectional controls

🤖 Generated with Claude Code

**@⁠Not-Saii** on GitHub · 2026-11-27 13:10 UTC · [original](https://github.com/R0Y00/Xbox2Windows/pull/3059) `Not-Saii:docs/dxc-gvn-off-warp` → `main` · +102 −0 · 1 files · 3 commits · merged 2026-11-27 14:36 UTC Adds `docs/experiments/dxc-gvn-off-warp.md`, a follow-up to the [DXC compile-time section](https://github.com/R0Y00/Xbox2Windows/blob/main/docs/experiments.md#dxc-compile-time-on-a-mixed-sampler-compute-shader) from the closed #775 work. That section noted that the `-opt-disable gvn` DXIL had not been checked on a GPU. Docs only, no code change. ## What the note records - **GVN share of DXC pass time** on `samplebranch_4096/8192/16384`: 63.1 %, 77.1 % and 84.9 %. GVN grows about fourfold per doubling (4.75x, 3.83x); the other passes grow 2.4x and 2.3x. With GVN off, the total pass time is similar to the other passes' time in the default runs (single runs; this does not show whether time moves between individual passes). - **DXIL size with GVN off:** +18.0 %, +15.0 % and +14.0 %. - **Sampler oracle on WARP** (`offscreen_check warp --spirv-sampler-views`): - `samplebranch_4096` passes with and without GVN, in 79.2 s and 79.1 s. - A negative control fails as expected. It is the GVN-off 4096 source with the first control store's u changed from 1.25 to 0.25, and reports word 1 of swaps 0 and 2 and word 0 of swap 1 as `expected=3f400000 actual=3e800000`. - The default `samplebranch_8192` CSO blocked: 27.4 s of CPU, then one thread and no CPU progress. It was stopped after about 18 minutes without a readback. The GVN-off 8192 CSO was not run. - **Sampler oracle on an RTX 4090** (driver 32.0.16.1088, `offscreen_check hardware --spirv-sampler-views`): - All five CSOs pass, including the default `samplebranch_8192` that blocked on WARP. The negative control fails with the same three words as on WARP. - Pipeline creation plus three dispatches take 18.0 and 18.2 s at 4096, and 83.9 and 85.6 s at 8192, default and GVN off. That is the same time with or without GVN, growing 4.7x per doubling. - This adapter time is 3.7-17 times DXC's own compile time. The split between pipeline creation and dispatch was not measured. - **What the oracle covers:** only UAV words 0-3, so a pass does not validate the generated body that GVN would have optimized. The note says so and does not propose `-opt-disable gvn` as a translation setting. ## Environment and commands Measured on 27.11.2026 on a Ryzen 9 7900X, Windows 11 build 26300. DXC 1.9.0.5512 (`01b62ad47`, LunarG Vulkan SDK 1.4.363.0), the same build as the earlier tables. WARP 10.0.26100.9818, NVIDIA GeForce RTX 4090 driver 32.0.16.1088, `offscreen_check` from a Debug `dev` build of `1ec2c938`, `debug_layer=enabled`, 0 errors and 0 warnings. Single runs, one at a time. The exact `tools/dxc_compile_time.py` and `offscreen_check` commands are in the note. ## Checks ``` python -B tests/docs_links_check.py # Checked 72 Markdown files and 584 links. python -B tests/bidi_controls_check.py # no bidirectional controls ``` 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Adds GVN's share of DXC pass time at samplebranch 4096-16384, the DXIL
size cost of -opt-disable gvn, and a WARP run of the sampler oracle on
GVN-off DXIL with a negative control. samplebranch_4096 passes with and
without GVN; the default samplebranch_8192 CSO blocked on WARP and was
stopped without a result.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-27 13:12:55 +00:00
Author
Owner

@⁠R0Y00 on GitHub · 2026-11-27 13:29 UTC · original · reviewed

The WARP result and its narrow control-word coverage are clearly described. Please soften the claim that removing GVN leaves the other passes unchanged and moves no work to another pass. The single-run totals are close, but samplebranch_16384 is 8.125 s with GVN off versus 8.626 s after subtracting GVN in the default run. The aggregate numbers support saying that the remaining pass time was similar in these runs. They cannot rule out a redistribution among individual passes.

**@⁠R0Y00** on GitHub · 2026-11-27 13:29 UTC · [original](https://github.com/R0Y00/Xbox2Windows/pull/3059#pullrequestreview-6088897979) · **reviewed** The WARP result and its narrow control-word coverage are clearly described. Please soften the claim that removing GVN leaves the other passes unchanged and moves no work to another pass. The single-run totals are close, but `samplebranch_16384` is 8.125 s with GVN off versus 8.626 s after subtracting GVN in the default run. The aggregate numbers support saying that the remaining pass time was similar in these runs. They cannot rule out a redistribution among individual passes.
Single-run totals (8.125 s against 8.626 s at samplebranch_16384) show
similar remaining pass time but cannot rule out time moving between
individual passes.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
All five CSOs pass on the RTX 4090 and the negative control fails as on
WARP. The default samplebranch_8192 CSO that blocked on WARP passes on
hardware. Pipeline creation and dispatch take the same time with or
without GVN and grow 4.7x per doubling, several times DXC's own time.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Author
Owner

@⁠Not-Saii on GitHub · 2026-11-27 14:01 UTC · original

Thanks, fixed in 03f56c47. The note now says the other passes take a similar total time with GVN off. It gives both sets of single-run totals: 1.61, 3.70 and 8.13 s, against 1.56, 3.77 and 8.63 s. It also says the totals do not show whether time moves between individual passes. The PR description had the same claim and is softened the same way. docs_links_check and bidi_controls_check pass.

**@⁠Not-Saii** on GitHub · 2026-11-27 14:01 UTC · [original](https://github.com/R0Y00/Xbox2Windows/pull/3059#issuecomment-7220236992) Thanks, fixed in `03f56c47`. The note now says the other passes take a similar total time with GVN off. It gives both sets of single-run totals: 1.61, 3.70 and 8.13 s, against 1.56, 3.77 and 8.63 s. It also says the totals do not show whether time moves between individual passes. The PR description had the same claim and is softened the same way. `docs_links_check` and `bidi_controls_check` pass.
github-bot changed target branch from main to gh-pr/3059/base 2026-11-27 14:41:59 +00:00
github manually merged commit 927dd7a1f4 into gh-pr/3059/base 2026-11-27 14:42:00 +00:00
Author
Owner

@⁠R0Y00 on GitHub · 2026-11-27 14:36 UTC · original · approved these changes

Reviewed 927dd7a1 on main e1ea515d (tree 7de3239fba4a39c9ac5702f0769c4850fb277a9a). The revision addresses the pass-time concern by comparing aggregate totals from single runs. The added RTX result keeps the measured combined wall time separate from the pipeline-creation hypothesis, and the oracle's four-word scope is explicit. The table records the blocked WARP case separately from the completed readbacks. The diff is confined to the experiment note. git diff --check, python -B tests/docs_links_check.py and python -B tests/bidi_controls_check.py passed on the integration tree. I reviewed the reported measurements and did not rerun the benchmark.

**@⁠R0Y00** on GitHub · 2026-11-27 14:36 UTC · [original](https://github.com/R0Y00/Xbox2Windows/pull/3059#pullrequestreview-6089728633) · **approved these changes** Reviewed `927dd7a1` on `main` `e1ea515d` (tree `7de3239fba4a39c9ac5702f0769c4850fb277a9a`). The revision addresses the pass-time concern by comparing aggregate totals from single runs. The added RTX result keeps the measured combined wall time separate from the pipeline-creation hypothesis, and the oracle's four-word scope is explicit. The table records the blocked WARP case separately from the completed readbacks. The diff is confined to the experiment note. `git diff --check`, `python -B tests/docs_links_check.py` and `python -B tests/bidi_controls_check.py` passed on the integration tree. I reviewed the reported measurements and did not rerun the benchmark.
This discussion has been locked. Commenting is limited to contributors.
No description provided.