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

Merged
Not-Saii merged 3 commits from upstream-pr/3059 into main 2026-11-27 14:36:32 +00:00
Not-Saii commented 2026-11-27 13:10:24 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by Not-Saii on 2026-11-27T13:10:24Z.


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

<!-- greyfinch-sync:R0Y00/Xbox2Windows:issue:5527192631 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/3059). Originally posted by [Not-Saii](https://github.com/Not-Saii) on 2026-11-27T13:10:24Z. --- 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)
R0Y00 commented 2026-11-27 13:29:28 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-11-27T13:29:28Z.

Review: COMMENTED


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.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:review:6088897979 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/3059#pullrequestreview-6088897979). Originally posted by [R0Y00](https://github.com/R0Y00) on 2026-11-27T13:29:28Z. **Review:** COMMENTED --- 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.
Not-Saii commented 2026-11-27 14:01:30 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by Not-Saii on 2026-11-27T14:01:30Z.


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.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:comment:7220236992 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/3059#issuecomment-7220236992). Originally posted by [Not-Saii](https://github.com/Not-Saii) on 2026-11-27T14:01:30Z. --- 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.
R0Y00 commented 2026-11-27 14:36:18 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-11-27T14:36:18Z.

Review: APPROVED


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.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:review:6089728633 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/3059#pullrequestreview-6089728633). Originally posted by [R0Y00](https://github.com/R0Y00) on 2026-11-27T14:36:18Z. **Review:** APPROVED --- 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.
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!3059
No description provided.