mirror of
https://github.com/libretro/ppsspp.git
synced 2025-02-02 14:52:20 +00:00
ir-jit: Oops, fix matrix scale + tranpose.
This commit is contained in:
parent
8a3dce3b8b
commit
e140d36818
@ -1039,12 +1039,13 @@ namespace MIPSComp {
|
||||
int n = GetMatrixSide(sz);
|
||||
|
||||
// The entire matrix is scaled equally, so transpose doesn't matter. Let's normalize.
|
||||
if (IsMatrixTransposed(vs)) {
|
||||
if (IsMatrixTransposed(vs) && IsMatrixTransposed(vd)) {
|
||||
vs = TransposeMatrixReg(vs);
|
||||
}
|
||||
if (IsMatrixTransposed(vd)) {
|
||||
vd = TransposeMatrixReg(vd);
|
||||
}
|
||||
if (IsMatrixTransposed(vs) || IsMatrixTransposed(vd)) {
|
||||
DISABLE;
|
||||
}
|
||||
|
||||
u8 sregs[16], dregs[16], tregs[1];
|
||||
GetMatrixRegs(sregs, sz, vs);
|
||||
|
Loading…
x
Reference in New Issue
Block a user