mirror of
https://github.com/boykopovar/AnyPS5.git
synced 2026-12-05 00:50:52 +00:00
858 B
858 B
shader
add Functional
- Cube layers (
CubeLayer) map a DIM CUBE face coordinate z to the host layer(z / 8) * 6 + z % 8, right only for faces 0 to 5 of a cube inside the T#. RDNA2 (gfx1036, AMD driver 32.0.21045.16010, hardware oracle) truncates z to a signed integer, clampsz & 7to 5 andz >> 3to the T#'s cubes. On 64x64 32_FLOAT cubes (DEPTH5, 11 and 17,BASE_ARRAY0 and 6),image_sample_lzwith z 6 or 7 reads face 5 where AnyPS5 reads the next cube's face 0 or 1; z -1, -2 and -9 read face 5 of cube 0 where AnyPS5 reads face 0; a cube past the last (z 8 to 12 with one cube; 16, 24 and 1e9 with two) reads that face of the last cube where AnyPS5 reads its face 5.image_loadmatched on every row. The PS5's gfx1013 is not measured.