upleb.uk

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

summaryrefslogtreecommitdiff
path: root/runtime/test/acphal_test.cpp
diff options
context:
space:
mode:
authortedin7 <tommasoderosa94@gmail.com>2026-11-24 00:35:11 +0100
committerJARVIX <273200855+jarvixaiassistant-glitch@users.noreply.github.com>2026-11-24 09:33:38 +0000
commitce98fbefee2bee293e04835ed30183164be2fd31 (patch)
tree0ccc708f6d3d772823ec847b1c712da6926e91fa /runtime/test/acphal_test.cpp
parentd7576d56ae2c77564c84ffae724ffe9bdd2e6701 (diff)
fix: rdna2spirv decodes scalar, image and buffer tuples that run into vcc from the blob when llvm-mc rejects them
llvm-mc skips the first word of s_buffer_load_dwordx8 into s[100:107], an image resource in s[100:107] or a buffer resource in s[104:107] and leaves the second word as junk, so translate() refused those shaders (reachable instruction with normalized encoding) or translated them without the load. restore_vcc_tuples reads the uncovered words of the code range with rdna2_decode and keeps only instructions whose operands hold a VCCTuple list, the form the translator already takes. Other undecodable words are unchanged.
Diffstat (limited to 'runtime/test/acphal_test.cpp')
0 files changed, 0 insertions, 0 deletions