upleb.uk

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

summaryrefslogtreecommitdiff
path: root/docs/buffer_bounds.md
diff options
context:
space:
mode:
authorxel1uz <hampus.robertsson@gmail.com>2026-11-25 05:27:31 +0100
committerGitHub <noreply@github.com>2026-11-25 05:27:31 +0100
commit89b4e9edf28ff76e0ed57dae8e2adbc4a00f381d (patch)
treef4eb49f4343bb38abda353a727741800b636e1d6 /docs/buffer_bounds.md
parent1548519aee782ec75868625d58b54f04152220bb (diff)
parentc7e82e26eadeac237da66949b64e7a52b718361e (diff)
Merge branch 'ubiquitarianism:main' into fix/glb-inspect-morph-weight-count
Diffstat (limited to 'docs/buffer_bounds.md')
-rw-r--r--docs/buffer_bounds.md4
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/buffer_bounds.md b/docs/buffer_bounds.md
index 9326fe517..f5b4e6a55 100644
--- a/docs/buffer_bounds.md
+++ b/docs/buffer_bounds.md
@@ -17,6 +17,10 @@ measured natively on AMD GPUs (SHADER-116). The translator reads this field and
17| 2 disabled | `N == 0` | same | same | 17| 2 disabled | `N == 0` | same | same |
18| 3 raw | `offset + soffset + 4 > N`; `index * stride` moves the address but is not checked | `offset >= N`: differs | `offset + 4 > N`, without `soffset` | 18| 3 raw | `offset + soffset + 4 > N`; `index * stride` moves the address but is not checked | `offset >= N`: differs | `offset + 4 > N`, without `soffset` |
19 19
20The runtime writes mode 3 for raw SRVs/UAVs, mode 0 for structured views and mode 1 for typed views.
21API-created CBVs mirror the observed inline console descriptor (mode 0, 16-byte rows).
22`LEONIDA_CBV_RAW=1` selects mode 3 with a byte count. Root views carry a GPU VA.
23
20- **RDNA2 follows Mesa's GFX11 column**, not the GFX10 one: of 732 cases, 729 match GFX11 and 696 match GFX10. 24- **RDNA2 follows Mesa's GFX11 column**, not the GFX10 one: of 732 cases, 729 match GFX11 and 696 match GFX10.
21 Every GFX10 miss is an access that only partly fits, for example a raw buffer with `N = 3` read at offset 0. 25 Every GFX10 miss is an access that only partly fits, for example a raw buffer with `N = 3` read at offset 0.
22- **In raw mode `soffset` is part of the checked offset.** The 3 cases that match neither column are raw reads at 26- **In raw mode `soffset` is part of the checked offset.** The 3 cases that match neither column are raw reads at