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:
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/buffer_bounds.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/buffer_bounds.md')
-rw-r--r--docs/buffer_bounds.md5
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/buffer_bounds.md b/docs/buffer_bounds.md
index f5b4e6a55..a2d566bc1 100644
--- a/docs/buffer_bounds.md
+++ b/docs/buffer_bounds.md
@@ -23,6 +23,11 @@ API-created CBVs mirror the observed inline console descriptor (mode 0, 16-byte
23 23
24- **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.
25 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.
26- **The offset is not cut to 32 bits.** `index * stride` is a full product and `soffset` is added in 64 bits, so
27 index 0xFFFFFFFF with a 20-byte stride lands tens of GiB past the base and the access has no effect; in 32 bits it
28 would be the 20 bytes below the base, which modes 2 and 3 do not refuse. The translator treats an offset above
29 0xFFFFFFFF as out of range in every mode. Observed on hardware by five-star-recomp (commit `b9b57e2`), not measured
30 here; `tests/semantic/test_buffer_offset_wrap.py`.
26- **In raw mode `soffset` is part of the checked offset.** The 3 cases that match neither column are raw reads at 31- **In raw mode `soffset` is part of the checked offset.** The 3 cases that match neither column are raw reads at
27 offset 8 with `soffset` 8 and `N = 18`: 8 + 8 + 4 > 18, out of range on hardware. 32 offset 8 with `soffset` 8 and `N = 18`: 8 + 8 + 4 > 18, out of range on hardware.
28- Loads and stores agree in every case. 33- Loads and stores agree in every case.