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:
authorRafael <rafaelalvesp2005@gmail.com>2026-11-22 09:28:37 -0300
committerRafael <rafaelalvesp2005@gmail.com>2026-11-22 09:32:08 -0300
commitb5025e8450f5c7903015b03b553811e4047bb035 (patch)
tree17723e4f210b066ff034c04187ed409ce2f4184e /runtime/test/vk_queue_query_sync_test.cpp
parent41f448261e1de8a410b4d760e69a7e5656cef858 (diff)
rdna2spirv: 32-bit SINT typed-buffer formats and 32_32_32_UINT (SHADER-257)
FORMATS had 20/62/75 (32-bit UINT x1/x2/x4) but none of their SINT twins 21/63/76, and neither 72/73 (32_32_32 UINT/SINT) although 74 (32_32_32_FLOAT) is there, so a buffer_load_format / buffer_store_format / tbuffer through one of them raised "format N (not in FORMATS)". A 32-bit SINT component holds the same bits as UINT, with no conversion and nothing to clamp at full width, so all five share the raw-dword "u32" path. Tests: test_int32_buffer_formats_load_and_store_raw_bits runs each UINT/SINT pair for 1-4 components through a load (missing channels repeat the format's own, as SHADER-86 measured) and a store, with negative and NaN-like words, under spirv-val and the mini interpreter (main: the four SINT cases fail as unsupported). Corpus note: the 26,503 disassembled shaders name only five tbuffer formats statically (16_16_SNORM, 8_8_8_8_UNORM, 8_8_8_8_UINT, 2_10_10_10_UNORM, 16_16_16_16_UINT); these formats can only come in through a runtime V#. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'runtime/test/vk_queue_query_sync_test.cpp')
0 files changed, 0 insertions, 0 deletions