diff options
author | gdkchan <gab.dark.100@gmail.com> | 2020-10-21 09:13:44 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-21 09:13:44 -0300 |
commit | 2f164917126ecef3a44c989e9442d2c663e58535 (patch) | |
tree | b3a37b665bcebfe5c93108992a97fe90512f88dc /Ryujinx.Graphics.Shader/Decoders/OpCodeSetCbuf.cs | |
parent | efa77a241555efa3ddfa3425919211ce6c8134a7 (diff) |
Get rid of Reflection.Emit dependency on CPU and Shader projects (#1626)
* Get rid of Reflection.Emit dependency on CPU and Shader projects
* Remove useless private sets
* Missed those due to the alignment
Diffstat (limited to 'Ryujinx.Graphics.Shader/Decoders/OpCodeSetCbuf.cs')
-rw-r--r-- | Ryujinx.Graphics.Shader/Decoders/OpCodeSetCbuf.cs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Ryujinx.Graphics.Shader/Decoders/OpCodeSetCbuf.cs b/Ryujinx.Graphics.Shader/Decoders/OpCodeSetCbuf.cs index 4f3dbd74..4e0eccf9 100644 --- a/Ryujinx.Graphics.Shader/Decoders/OpCodeSetCbuf.cs +++ b/Ryujinx.Graphics.Shader/Decoders/OpCodeSetCbuf.cs @@ -7,6 +7,8 @@ namespace Ryujinx.Graphics.Shader.Decoders public int Offset { get; } public int Slot { get; } + public new static OpCode Create(InstEmitter emitter, ulong address, long opCode) => new OpCodeSetCbuf(emitter, address, opCode); + public OpCodeSetCbuf(InstEmitter emitter, ulong address, long opCode) : base(emitter, address, opCode) { Offset = opCode.Extract(20, 14); |