aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Graphics.Shader/Instructions/InstEmitMemory.cs
diff options
context:
space:
mode:
authorgdk <gab.dark.100@gmail.com>2019-11-19 10:45:46 -0300
committerThog <thog@protonmail.com>2020-01-09 02:13:00 +0100
commit6a8ba6d60080ca15fc25a6812998b19e63171610 (patch)
tree1532717900dda140ff75844adb9824c74c059d98 /Ryujinx.Graphics.Shader/Instructions/InstEmitMemory.cs
parent8eb773d81f0b580851b840f3abc222b784523fbc (diff)
Add R2P shader instruction
Diffstat (limited to 'Ryujinx.Graphics.Shader/Instructions/InstEmitMemory.cs')
-rw-r--r--Ryujinx.Graphics.Shader/Instructions/InstEmitMemory.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Ryujinx.Graphics.Shader/Instructions/InstEmitMemory.cs b/Ryujinx.Graphics.Shader/Instructions/InstEmitMemory.cs
index d76f44cb..2abbed08 100644
--- a/Ryujinx.Graphics.Shader/Instructions/InstEmitMemory.cs
+++ b/Ryujinx.Graphics.Shader/Instructions/InstEmitMemory.cs
@@ -213,7 +213,7 @@ namespace Ryujinx.Graphics.Shader.Instructions
Operand mem,
Operand value)
{
- Operand res = null;
+ Operand res = Const(0);
switch (op)
{