diff options
| author | tedin7 <tommasoderosa94@gmail.com> | 2026-11-24 00:35:11 +0100 |
|---|---|---|
| committer | JARVIX <273200855+jarvixaiassistant-glitch@users.noreply.github.com> | 2026-11-24 09:33:38 +0000 |
| commit | ce98fbefee2bee293e04835ed30183164be2fd31 (patch) | |
| tree | 0ccc708f6d3d772823ec847b1c712da6926e91fa /runtime/src/thread_stacks.cpp | |
| parent | d7576d56ae2c77564c84ffae724ffe9bdd2e6701 (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/src/thread_stacks.cpp')
0 files changed, 0 insertions, 0 deletions