shader: isolate SWAPPC work from ordinary shader paths

This commit is contained in:
nmzik committed 2026-10-09 17:27:07 +02:00
1 parent 8c81386568
commit 3e9f88bf79
5 files changed
+96 -49

No files matched your search

@@ -818,6 +818,7 @@ struct Instruction {
struct Program {
std::span<const uint32_t> code;
std::vector<Instruction> instructions;
bool has_swap_pc = false;
};
// Code spans are trusted to contain complete instructions, valid branch targets, and 32-bit PCs.