mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-20 18:45:45 +00:00
shader: Stub TLD4's PTP when it isn't constant
This commit is contained in:
parent
1534a99e35
commit
c7ed439bbc
1 changed files with 2 additions and 1 deletions
|
@ -40,7 +40,8 @@ public:
|
|||
}
|
||||
const std::array values{offset.InstRecursive(), offset2.InstRecursive()};
|
||||
if (!values[0]->AreAllArgsImmediates() || !values[1]->AreAllArgsImmediates()) {
|
||||
throw NotImplementedException("Not all arguments in PTP are immediate");
|
||||
// LOG_WARNING("Not all arguments in PTP are immediate, STUBBING");
|
||||
return;
|
||||
}
|
||||
const IR::Opcode opcode{values[0]->Opcode()};
|
||||
if (opcode != values[1]->Opcode() || opcode != IR::Opcode::CompositeConstructU32x4) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue