upleb.uk

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

summaryrefslogtreecommitdiff
path: root/tools/salu_diff.py
diff options
context:
space:
mode:
authorTomgamer <tomanhorak22@gmail.com>2026-11-22 16:18:23 +0100
committerTomgamer <tomanhorak22@gmail.com>2026-11-22 16:18:23 +0100
commit759a90c42e58886153f67dcd2d5d41c44face012 (patch)
tree2dbf3480e1b09a6f19722d685c72e2a3fe57650e /tools/salu_diff.py
parent4de870250e3b0dc9dc0a3701f4114526c8cfc80c (diff)
SHADER-309: refuse an RSRC2 LDS allocation over the cap
translate() clips the LDS array to 16,384 dwords, so a native compute shader whose RSRC2 LDS_SIZE allocates more than 64 KiB passed the cap check with a cut array (review on #1882). The check now counts the LDS at max(array, RSRC2 allocation) and refuses it. A need that comes only from a constant ds offset keeps the clipped array: the +4-dword slack makes an in-range b32 at offset 65,524 compute as 65,540 B, and a real offset past 64 KiB is out of range on hardware. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'tools/salu_diff.py')
0 files changed, 0 insertions, 0 deletions