diff options
| author | Tomgamer <tomanhorak22@gmail.com> | 2026-11-22 16:18:23 +0100 |
|---|---|---|
| committer | Tomgamer <tomanhorak22@gmail.com> | 2026-11-22 16:18:23 +0100 |
| commit | 759a90c42e58886153f67dcd2d5d41c44face012 (patch) | |
| tree | 2dbf3480e1b09a6f19722d685c72e2a3fe57650e /docs/embedded_shaders.md | |
| parent | 4de870250e3b0dc9dc0a3701f4114526c8cfc80c (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 'docs/embedded_shaders.md')
0 files changed, 0 insertions, 0 deletions