shader_recompiler: Lower non-compute shared memory into spare VGPRs. (#2403)

This commit is contained in:
squidbus 2025-02-12 20:10:13 -08:00 committed by GitHub
parent ebe2aadb4c
commit 6e12642151
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
12 changed files with 85 additions and 94 deletions

View file

@ -308,8 +308,6 @@ Value IREmitter::LoadShared(int bit_size, bool is_signed, const U32& offset) {
return Inst<U32>(Opcode::LoadSharedU32, offset);
case 64:
return Inst(Opcode::LoadSharedU64, offset);
case 128:
return Inst(Opcode::LoadSharedU128, offset);
default:
UNREACHABLE_MSG("Invalid bit size {}", bit_size);
}
@ -323,9 +321,6 @@ void IREmitter::WriteShared(int bit_size, const Value& value, const U32& offset)
case 64:
Inst(Opcode::WriteSharedU64, offset, value);
break;
case 128:
Inst(Opcode::WriteSharedU128, offset, value);
break;
default:
UNREACHABLE_MSG("Invalid bit size {}", bit_size);
}