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>