aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Graphics.Shader/Decoders/OpCodeImage.cs
diff options
context:
space:
mode:
authorgdkchan <gab.dark.100@gmail.com>2020-05-27 06:00:21 -0300
committerGitHub <noreply@github.com>2020-05-27 11:00:21 +0200
commit0b6d206daad7202d4e271118b631feb7dd363bbc (patch)
tree61f5e40728fb77eb2ea4628cb4b94caef86b4a0a /Ryujinx.Graphics.Shader/Decoders/OpCodeImage.cs
parentb663cd22c87f13f40e1753bf22bef12d08bf6f3e (diff)
Omit image format if possible, and fix BA bit (#1280)
* Omit image format if possible, and fix BA bit * Match extension name
Diffstat (limited to 'Ryujinx.Graphics.Shader/Decoders/OpCodeImage.cs')
-rw-r--r--Ryujinx.Graphics.Shader/Decoders/OpCodeImage.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Ryujinx.Graphics.Shader/Decoders/OpCodeImage.cs b/Ryujinx.Graphics.Shader/Decoders/OpCodeImage.cs
index 42fe677b..265d45a9 100644
--- a/Ryujinx.Graphics.Shader/Decoders/OpCodeImage.cs
+++ b/Ryujinx.Graphics.Shader/Decoders/OpCodeImage.cs
@@ -37,7 +37,7 @@ namespace Ryujinx.Graphics.Shader.Decoders
Size = (IntegerSize)opCode.Extract(20, 4);
}
- ByteAddress = !opCode.Extract(23);
+ ByteAddress = opCode.Extract(23);
Dimensions = (ImageDimensions)opCode.Extract(33, 3);