diff options
| author | BubsMcgee <alexbraden99@gmail.com> | 2026-11-25 15:29:55 -0500 |
|---|---|---|
| committer | BubsMcgee <alexbraden99@gmail.com> | 2026-11-25 15:29:55 -0500 |
| commit | 1b2720ba47531ac70cdeac93486b2cac8b63ff01 (patch) | |
| tree | 71f65e5f60389d44685d21ea9b141d3d7bd1d59a /runtime/src/xma2_decoder.cpp | |
| parent | db1a22d290f5e86fff9282fce3d4e02e788b05b4 (diff) | |
rdna2spirv: translate image_get_lod on a cube (IMAGE-GET-LOD-CUBE)
A cube binds as the 6-layer 2D-array view cube_coords already builds for
image_sample: the query takes the projected s - 1 and t - 1 (the 2D-array u and
v) and does not read the third word (8 * slice + face). a16 packs the three
coordinates differently, so a16 cube stays Unsupported.
No corpus shader uses cube image_get_lod (705 in the 26,503-shader set: 702 2D,
3 2D array), so no title output changes; a 2,651-shader shard translates to
byte-identical .spv before and after. Confirmed by the RDNA2 ISA MIMG GET_LOD
form and the existing cube sample mapping (docs/design.md).
Tests: tests/semantic/test_image_get_lod_cube.py 5/5 (shape, source VGPRs, face
word unread, refusals, spirv-val); full tests/semantic 6,317 tests pass.
AI-assisted.
Diffstat (limited to 'runtime/src/xma2_decoder.cpp')
0 files changed, 0 insertions, 0 deletions