diff options
| author | Nolan Cotter <186326284+NolanCotter@users.noreply.github.com> | 2026-11-22 20:39:59 -0700 |
|---|---|---|
| committer | Nolan Cotter <186326284+NolanCotter@users.noreply.github.com> | 2026-11-22 20:39:59 -0700 |
| commit | fa5f26db8eafd2cc27f627b68c0a5a5949bcf2ff (patch) | |
| tree | fc57e238be829295fc216dff89a6d93e64c16b50 /docs/buffer_bounds.md | |
| parent | 9b693ecd8a2f90799f6c47f8f06cf062feb9820c (diff) | |
| parent | 7b7d73f890f9fbbf5967bbb694390bbc99e33ba6 (diff) | |
Merge origin/main: DXGI device fields coexist with the console-ABI device state
Diffstat (limited to 'docs/buffer_bounds.md')
| -rw-r--r-- | docs/buffer_bounds.md | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/docs/buffer_bounds.md b/docs/buffer_bounds.md index 033e8c3e3..9326fe517 100644 --- a/docs/buffer_bounds.md +++ b/docs/buffer_bounds.md | |||
| @@ -29,9 +29,20 @@ measured natively on AMD GPUs (SHADER-116). The translator reads this field and | |||
| 29 | ([finding](https://github.com/ItsNotRexed/Leonida/issues/374#issuecomment-7072793165)). The RDNA2 result here | 29 | ([finding](https://github.com/ItsNotRexed/Leonida/issues/374#issuecomment-7072793165)). The RDNA2 result here |
| 30 | agrees with it, plus the `soffset` rule. | 30 | agrees with it, plus the `soffset` rule. |
| 31 | 31 | ||
| 32 | **Open:** the console target is gfx1013 (GFX10.1); gfx1036 is GFX10.3. Mesa uses one GFX10 column for both, and | 32 | **RDNA1 measurement (SHADER-341):** the console target is gfx1013 (GFX10.1); gfx1036 is GFX10.3, and the |
| 33 | this measurement shows that column is wrong for GFX10.3. Whether GFX10.1 matches GFX10.3 here needs an RDNA1 card | 33 | RDNA2 measurement above shows Mesa's GFX10 column is wrong for GFX10.3. A second native measurement through |
| 34 | (gfx1010–1012, RX 5000 series). | 34 | `tools/hw_oracle` (Linux libdrm launcher, AMD clang 18) on an **AMD Radeon Pro V540, Navi 12 / gfx1011, RDNA1** |
| 35 | (`1002:7360`, bare metal, RADV Mesa 25.2.8, Ubuntu 24.04) found the same: `tools/buffer_bounds_probe.py` ran 12 | ||
| 36 | one-lane cases for a 4-byte `buffer_load_dword` at wave32 and wave64 (24 groups, 0 wave32/64 differences, 0 | ||
| 37 | launcher errors). Every case followed the RDNA2 / Mesa GFX11 column and **8 of 24 disagreed with Mesa's GFX10 | ||
| 38 | column**. The witnesses include mode 0 stride 16 at offset 13 (out of range on hardware, in range by the GFX10 | ||
| 39 | column), mode 3 `NUM_RECORDS` 18 at offset 16 (out of range), mode 3 `NUM_RECORDS` 3 at offset 0 (out of range), | ||
| 40 | and mode 3 offset 8 with `soffset` 8 and `NUM_RECORDS` 18 (out of range, confirming that `soffset` is part of the | ||
| 41 | RAW check). Swizzled V#s and unaligned addresses were not covered. This makes GFX10.1 follow GFX10.3 here in the | ||
| 42 | cases tried, but gfx1013 itself is still unmeasured: the card used was gfx1011 (Navi 12), not the console part. | ||
| 43 | |||
| 44 | **Open:** measure the same table on gfx1013 (PS5) itself when a card with that ID is available, and extend the | ||
| 45 | probe to swizzled V#s and unaligned accesses. | ||
| 35 | 46 | ||
| 36 | ## How it was measured | 47 | ## How it was measured |
| 37 | 48 | ||