mirror of
https://github.com/ryujinx-mirror/ryujinx.git
synced 2025-11-06 19:58:59 -06:00
Sign-extend shader memory instruction offsets (#934)
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user