mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2024-07-04 23:31:19 +01:00
gl_shader_decompiler: Implement IPA instruction.
This commit is contained in:
parent
8b4443c966
commit
95144cc39c
1 changed files with 11 additions and 0 deletions
|
@ -379,7 +379,18 @@ private:
|
|||
offset = PROGRAM_END - 1;
|
||||
break;
|
||||
}
|
||||
case OpCode::Id::IPA: {
|
||||
const auto& attribute = instr.attribute.fmt28;
|
||||
|
||||
if (attribute.index == Attribute::Index::Position) {
|
||||
LOG_CRITICAL(HW_GPU, "Unimplemented");
|
||||
break;
|
||||
}
|
||||
|
||||
std::string dest = GetRegister(instr.gpr0);
|
||||
SetDest(attribute.element, dest, GetInputAttribute(attribute.index), 1, 4);
|
||||
break;
|
||||
}
|
||||
default: {
|
||||
LOG_CRITICAL(HW_GPU, "Unhandled instruction: 0x%02x (%s): 0x%08x",
|
||||
static_cast<unsigned>(instr.opcode.EffectiveOpCode()),
|
||||
|
|
Loading…
Reference in a new issue