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:
authorAnzymanz <18898610+Anzymanz@users.noreply.github.com>2026-11-27 04:38:15 +0000
committerAnzymanz <18898610+Anzymanz@users.noreply.github.com>2026-11-27 04:38:15 +0000
commiteb0638eb395d967e8a8602ea87290e9d3335be2a (patch)
tree8a59e6ea816c2741325676f9808e3582d934ca89 /docs/gbuffer.md
parentc21d42278dabf8535ecdc3a27129d13e88871c63 (diff)
parentd1dff7949be62b6609c3c2ca937df7f50fbf1305 (diff)
Merge main into gpu-rx9070xt-radv (keep both: the RADV row and entry beside main's updated AMD records)
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).