diff options
| author | Jan Trencansky <jan.trencansky@protonmail.com> | 2026-11-25 16:38:20 -0500 |
|---|---|---|
| committer | Jan Trencansky <jan.trencansky@protonmail.com> | 2026-11-25 16:38:20 -0500 |
| commit | c116c3fa28983444cd47feea0461e1e7eaac83b5 (patch) | |
| tree | f2f4821b744b678f0cf1ce98638e981ea737b0c6 /docs/buffer_bounds.md | |
| parent | 5866d6974e86fc2d39e6ce0691af63b354f6c8b9 (diff) | |
| parent | 24d8af66af151f024b0b520fb397d899924f5486 (diff) | |
Merge main into t-drive-overlay
docs/boot.md: main added LEONIDA_WRITE_DIR / LEONIDA_SAVE_DIR to the
--overlay bullet and a new "Under Wine on Linux" section; keep both and
the T: paragraph of this branch after main's sentences.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'docs/buffer_bounds.md')
| -rw-r--r-- | docs/buffer_bounds.md | 4 |
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 | ||
| 20 | The runtime writes mode 3 for raw SRVs/UAVs, mode 0 for structured views and mode 1 for typed views. | ||
| 21 | API-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 |