Skip to content

Commit

Permalink
disable S_LOAD_DWORD(X2)
Browse files Browse the repository at this point in the history
  • Loading branch information
baggins183 committed Oct 19, 2024
1 parent b81a2de commit 9a4c466
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions src/shader_recompiler/frontend/translate/scalar_memory.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ static constexpr u32 SQ_SRC_LITERAL = 0xFF;
void Translator::EmitScalarMemory(const GcnInst& inst) {
switch (inst.opcode) {
// SMRD
case Opcode::S_LOAD_DWORD:
return S_LOAD_DWORD(1, inst);
case Opcode::S_LOAD_DWORDX2:
return S_LOAD_DWORD(2, inst);
// case Opcode::S_LOAD_DWORD:
// return S_LOAD_DWORD(1, inst);
// case Opcode::S_LOAD_DWORDX2:
// return S_LOAD_DWORD(2, inst);
case Opcode::S_LOAD_DWORDX4:
return S_LOAD_DWORD(4, inst);
case Opcode::S_LOAD_DWORDX8:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ void Visit(Info& info, IR::Inst& inst) {
info.uses_lane_id = true;
break;
case IR::Opcode::ReadConst:
info.has_readconst = true;
// info.has_readconst = true;
break;
default:
break;
Expand Down

0 comments on commit 9a4c466

Please sign in to comment.