shader: FLAT_STORE_DWORD

This commit is contained in:
nmzik
2026-10-09 08:46:30 +02:00
parent 7b9997baea
commit 1fc520cd62
2 changed files with 39 additions and 1 deletions
@@ -371,7 +371,7 @@ void DecodeFlat(uint32_t pc, std::span<const uint32_t> code, uint32_t word_index
ApplyMemoryInfo(inst, info);
SetRawWords(inst, code, word_index, 2);
if (lds != 0 || inst.glc || inst.slc || seg == 3u) {
if (lds != 0 || inst.glc || (inst.slc && !IsFlatStoreOpcode(inst.opcode)) || seg == 3u) {
SetUnsupported(inst, Family::FLAT, opcode, "FLAT modifiers or segment are not implemented");
return;
}