Sign-extend shader memory instruction offsets (#934)

This commit is contained in:
gdkchan 2020-02-13 21:48:07 -03:00 committed by GitHub
parent 1fc74f958c
commit 79ea6daa52
4 changed files with 6 additions and 6 deletions

View file

@ -24,7 +24,7 @@ namespace Ryujinx.Graphics.Shader.Decoders
AtomicOp = (AtomicOp)opCode.Extract(23, 3);
Offset = opCode.Extract(28, 20);
Offset = (opCode.Extract(28, 20) << 12) >> 12;
Extended = opCode.Extract(48);
}