aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Graphics.Shader/Decoders/OpCodeSet.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Ryujinx.Graphics.Shader/Decoders/OpCodeSet.cs')
-rw-r--r--Ryujinx.Graphics.Shader/Decoders/OpCodeSet.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/Ryujinx.Graphics.Shader/Decoders/OpCodeSet.cs b/Ryujinx.Graphics.Shader/Decoders/OpCodeSet.cs
index b4ee10fb..94ed0bee 100644
--- a/Ryujinx.Graphics.Shader/Decoders/OpCodeSet.cs
+++ b/Ryujinx.Graphics.Shader/Decoders/OpCodeSet.cs
@@ -13,6 +13,8 @@ namespace Ryujinx.Graphics.Shader.Decoders
public bool FlushToZero { get; }
+ public new static OpCode Create(InstEmitter emitter, ulong address, long opCode) => new OpCodeSet(emitter, address, opCode);
+
public OpCodeSet(InstEmitter emitter, ulong address, long opCode) : base(emitter, address, opCode)
{
Predicate0 = new Register(opCode.Extract(0, 3), RegisterType.Predicate);