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:
authorSweatierKey <53280918+SweatierKey@users.noreply.github.com>2026-11-22 22:07:06 +0100
committerSweatierKey <53280918+SweatierKey@users.noreply.github.com>2026-11-22 22:07:06 +0100
commit998128ec7cf18c6ec43dfa48ba136aefef839e42 (patch)
tree78819890d5e277d91f8db380800ce041c509dd91 /runtime/test/vk_queue_query_sync_test.cpp
parente4a2233a5db420c63045454b25b3006b403db31d (diff)
rdna2_decode: decode SDWA scalar inline constants via _src()
When an SDWA VOP1/VOPC/VOP2 instruction sets the scalar-source bit (s0_is_sgpr / s1_is_sgpr), the 8-bit source field encodes the full scalar operand space (SGPRs 0..105, specials 106..127, inline integer constants 128..208, inline float constants 240..248, etc.), not only registers 0..127. Use _src(..., 1, None) instead of _sreg(..., 1) across all three SDWA decoders (VOP1, VOPC, VOP2) so inline constants such as 1.0 (242) and 2.0 (244) in runtime/test/shaders/ps_sdwa_f16_const.asm decode as fimm instead of raw sreg_242. Add regression test covering VOP1/VOPC/VOP2 SDWA inline float/int constants and SGPR sources.
Diffstat (limited to 'runtime/test/vk_queue_query_sync_test.cpp')
0 files changed, 0 insertions, 0 deletions