upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/runtime/test/vk_queue_query_sync_test.cpp
diff options
context:
space:
mode:
authorBubsMcgee <alexbraden99@gmail.com>2026-11-25 15:29:55 -0500
committerBubsMcgee <alexbraden99@gmail.com>2026-11-25 15:29:55 -0500
commit1b2720ba47531ac70cdeac93486b2cac8b63ff01 (patch)
tree71f65e5f60389d44685d21ea9b141d3d7bd1d59a /runtime/test/vk_queue_query_sync_test.cpp
parentdb1a22d290f5e86fff9282fce3d4e02e788b05b4 (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/test/vk_queue_query_sync_test.cpp')
0 files changed, 0 insertions, 0 deletions