2 Commits
Author SHA1 Message Date
MichonandClaude Opus 5.5 bceb8e224f fix(shader): decode out-of-range cube faces and cube indices as RDNA2 does
A DIM CUBE face coordinate z mapped to host layer (z / 8) * 6 + z % 8
through an unsigned conversion, right only for faces 0 to 5 of a cube
inside the T#. gfx1036 truncates z to a signed integer, clamps z & 7 to
5 and clamps z >> 3 to the T#'s cubes; CubeLayer now does the same,
taking the cube count from the sampled view's layers. GCN guest shaders
keep the old mapping, which is not measured on GCN hardware.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 06:39:13 +01:00
MichonandClaude Opus 5.5 1d1be2acfc docs(debt): record how RDNA2 decodes out-of-range cube faces and cube indices
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 01:02:28 +01:00