upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/docs/gbuffer.md
diff options
context:
space:
mode:
authorOreoFR <29048345+OreoFR@users.noreply.github.com>2026-11-29 13:51:28 +0100
committerOreoFR <29048345+OreoFR@users.noreply.github.com>2026-11-29 13:51:28 +0100
commit3beeb56bfb3dc99f60e85e85211ba3c2d88223bc (patch)
tree5f563496290a7775a669864fbf61d85b9161cfd8 /docs/gbuffer.md
parented34b996ce2aef1ae2800b0f0840ca6878b89b73 (diff)
parentcc0f662a70b6e6e561692f56342b5a7df3831bd7 (diff)
Merge origin/main into carry/pr-2031
submit_phases: main's nested-phase Scope kept; the PR's skip now applies only when nothing reads the times (timing_wanted(): period 0 and LEONIDA_DEV_OVERLAY not 1). Co-authored-by: Ilyass Roussi <76879547+IlyassRS3@users.noreply.github.com> Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'docs/gbuffer.md')
-rw-r--r--docs/gbuffer.md13
1 files changed, 13 insertions, 0 deletions
diff --git a/docs/gbuffer.md b/docs/gbuffer.md
index de76f4746..9813a3306 100644
--- a/docs/gbuffer.md
+++ b/docs/gbuffer.md
@@ -82,3 +82,16 @@ captured PSO):
82 verified against the lighting pass). 82 verified against the lighting pass).
83- The runtime must therefore bind the PSO's declared `RTVFormats[]` rather than inferring `R16G16B16A16_FLOAT` for all 83- The runtime must therefore bind the PSO's declared `RTVFormats[]` rather than inferring `R16G16B16A16_FLOAT` for all
84 G-buffer attachments from `OSG1` or `exp ... compr`. 84 G-buffer attachments from `OSG1` or `exp ... compr`.
85
86## 4. Reproducing the census (`tools/gbuffer_census.py`)
87
88```powershell
89python -I tools/gbuffer_census.py <work>\shaders\dxbc [--disasm <dir>] [--payload-coverage]
90```
91
92Reads `index.json`, each pixel shader's `OSG1` output signature, and the matching `.s` listing under `--disasm`
93(default `<dxbc>\disasm`), and prints JSON counts for four cohorts (all indexed PS, case-folded `deferred` entry
94names, case-sensitive `Deferred` stems, and `PS_DeferredTextured` stems) with declared target counts, signature
95layouts, and observed `exp mrtN` export modes (`compr` vs `uncompressed`). With `--payload-coverage`, it also counts
96distinct whole FSSM payloads per cohort and histograms how many indexed entries share each payload. Standard library
97only; outputs counts and layouts only (no shader text).