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:
authorClaude <noreply@anthropic.com>2026-11-25 00:20:14 +0000
committerClaude <noreply@anthropic.com>2026-11-25 00:20:23 +0000
commitece08d3b1e2c51af15c133ae95480ad27cfb522b (patch)
treed1ed148a5e30c3432c5fd649e32821be1bcc73fa /runtime/test/vk_queue_query_sync_test.cpp
parentb4b7756e8c64e7ae8b310288d543db0e428c0796 (diff)
rdna2spirv: 16-bit gradients for image_sample_d_g16 and image_sample_d_cl_g16 (SHADER-SAMPLE-G16)
The two g16 forms whose f32-gradient sibling main translates are now the same sample as image_sample_d / image_sample_d_cl, with dP/dx and dP/dy read as f16 halves: two per VGPR, low half first, each axis padded to a whole VGPR (1D (dx, -) (dx, -); 2D/array/cube (x, y) (x, y); 3D (x, y) (z, -) (x, y) (z, -)). Coordinates and clamp follow, packed only under a16; g16 and a16 are independent. Gen.g16_gradients widens each half with UnpackHalf2x16 and drops the pad; the f32-gradient path does the rest. LLVM (SIISelLowering lowerImage, packImage16bitOpsToDwords) and Mesa ACO (aco_select_nir.cpp, emit_pack_v1) agree on every point. The six compare/offset g16 forms stay refused until their f32 siblings are translated (SHADER-SAMPLE-GRAD-FORMS), and the eight _cd g16 forms stay refused. docs/design.md gets a row. Not run on a GPU. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Y7fbZYVY7EtLknWBZUfSLf
Diffstat (limited to 'runtime/test/vk_queue_query_sync_test.cpp')
0 files changed, 0 insertions, 0 deletions