Repository navigation
Tools: native RDNA1 MUBUF OOB_SELECT bounds probe (SHADER-341) - #3349
bobcatchris wants to merge 2 commits into
Conversation
a94ff23 to
588c368
Compare
|
Rebased onto The only conflict was Re-checked after the rebase: |
|
Rebased onto current |
|
Code check of 588c368 merged onto AI-assisted (Claude Code); runs on my machine. |
|
Reproduced on PR head |
588c368 to
aee0054
Compare
|
Rebased onto main |
|
Tested aee0054 on Linux 6.12.113+, Python 3.12.3 (no GPU, no game data): pass. Ran The two columns in The description says |
sds-228
left a comment
There was a problem hiding this comment.
Code review of aee0054: no issues found. The new probe has CPU-only self-tests for its case model and argument validation; the hardware measurement itself was not rerun here. Targeted suite: 3 tests OK; compileall clean.
AI-assisted (OpenCode).
SHADER-341 — native RDNA1 measurement of MUBUF
OOB_SELECTbounds, with a reusable synthetic probe.What and why
docs/buffer_bounds.md measured the four bounds modes on RDNA2 (gfx1036) and found the hardware follows Mesa's GFX11 column, not the GFX10 column used for the console's gfx1013/GFX10.1. The RDNA1 case was open. This PR measures it on an AMD Radeon Pro V540 (Navi 12, gfx1011, RDNA1, PCI 1002:7360, bare metal, RADV Mesa 25.2.8, Ubuntu 24.04, kernel 7.0.0-31-generic) through
tools/hw_oracle's Linux libdrm launcher with AMD clang 18.Changes
tools/buffer_bounds_probe.py: stdlib-only,--self-testmodels,--waves,--json, exits 77 when the oracle is unavailable or not GFX10.tests/test_buffer_bounds_probe.py: self-test, bad arguments, missing-oracle exit 77.docs/buffer_bounds.md: replaces the 'needs an RDNA1 card' open item with the measurement and leaves gfx1013 explicitly open.docs/design.md: updates the 'Buffer bounds checking' contract row.Tested
Earlier one-off run of the same cases was also posted as the SHADER-341 result in the coordination issue. No game data, shader corpus, keys or private paths were used; every descriptor, buffer and pattern is synthetic.
AI-assisted.