Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions docs/SHADERS.md
Original file line number Diff line number Diff line change
Expand Up @@ -323,3 +323,9 @@ python tools/map_frosty_shaders.py /path/to/Mount \
The CSV contains one row for every shipped entry. It records the Unreal shader ID, native DXBC SHA-256 when present, map memberships, preparation status and trace labels. To repeat the frontend survey, replace `--reuse-survey` with `--compiler build/shader-compiler/x86_64-unknown-linux-gnu/release/xshader` after building the Linux compiler. This also fills in the per-entry `hlsl_emitted` CSV column. Add `--dxc /path/to/dxc` to compile the distinct observed programs and check their output with the adjacent `dxv` executable. The CSV records those results under `standalone_dxil_validated`. Add `--independent-compiler build/independent-compiler/x86_64-unknown-linux-gnu/release/xshader` to compare both compilers on every distinct program and fill the `independent_hlsl` column. With DXC enabled, this also validates all independently emitted programs, including ones that have yet to appear in a trace. Reusing a survey carries forward the aggregate results for matching archive hashes and the measured results for known requests.

To publish updated counts, run the mapper with all the trace labels you want to cover, use `evidence/matrix-awakens/shader-inventory.json` as the output, then regenerate the SVG with `python tuxbox.py status --svg docs/progress.svg`.

### Portable single-wave multidimensional groups

The verified portable reduction path accepts a single logical wave64 in any valid workgroup shape with 64 invocations. Straight-line DPP8 exchanges likewise accept 32- or 64-invocation groups, with the constant lane-read restriction unchanged. Group-shared exchange addresses use the x-fast flattened local ID rather than x alone. Existing convergence checks still apply; multi-wave and unproved divergent reductions retain their previous handling. On an RTX 4080, 594 synthetic GPU cases matched 228,096 words, including 8 x 8 x 1 and 4 x 4 x 4 guarded reductions and two- and three-dimensional DPP8 fixtures. These controls do not measure retail shader coverage. [GPU receipts](../evidence/scarlett-wave-multidimensional-control.json). Reproduce using the existing check tools with `check_wave_guard.py --width 64 --group 8 8 1` or `--group 4 4 4`, and `check_dpp8_exchange.py --layout 2d` or `--layout 3d`, plus their usual emitter, compiler, provider and Proton arguments.

Straight-line DPP8 exchanges with only within-octet sources also support multiple waves, in complete 32-thread blocks up to 1,024 total invocations. The shared array is sized for the whole workgroup. No control flow or EXEC modification is accepted, and constant lane reads remain restricted to a single 32-thread group; guarded wave64 reductions still require exactly 64 invocations. On the same RTX 4080, 576 new multi-wave cases and 192 small-group regression cases matched 614,400 words, including guard words. [GPU receipts](../evidence/scarlett-dpp8-multiwave-control.json). Reproduce with `check_dpp8_exchange.py --multiwave --layout linear` (or `2d` or `3d`) plus the usual tool arguments.
Loading
Loading