diff options
| author | gdkchan <gab.dark.100@gmail.com> | 2018-05-17 15:25:42 -0300 |
|---|---|---|
| committer | gdkchan <gab.dark.100@gmail.com> | 2018-05-17 15:25:42 -0300 |
| commit | b19c4740823ed8fcebf62bf5741a7614a2ac0aa0 (patch) | |
| tree | 8cdede3fdb90aa35ffe50c004559b80d4704bea3 /Ryujinx.Graphics/Gal/Shader/ShaderIrOperCbuf.cs | |
| parent | 9b9ead94cd2f25a85468ecf91b7898bf34e10825 (diff) | |
Added more shader instructions, including BFE, BRA (partial), FMNMX, ISCADD, SHL, LD_C, some shader related fixes, added support for texture component selection
Diffstat (limited to 'Ryujinx.Graphics/Gal/Shader/ShaderIrOperCbuf.cs')
| -rw-r--r-- | Ryujinx.Graphics/Gal/Shader/ShaderIrOperCbuf.cs | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/Ryujinx.Graphics/Gal/Shader/ShaderIrOperCbuf.cs b/Ryujinx.Graphics/Gal/Shader/ShaderIrOperCbuf.cs index f2272056..b040c5c6 100644 --- a/Ryujinx.Graphics/Gal/Shader/ShaderIrOperCbuf.cs +++ b/Ryujinx.Graphics/Gal/Shader/ShaderIrOperCbuf.cs @@ -3,11 +3,14 @@ namespace Ryujinx.Graphics.Gal.Shader class ShaderIrOperCbuf : ShaderIrNode { public int Index { get; private set; } - public int Offs { get; private set; } + public int Pos { get; set; } - public ShaderIrOperCbuf(int Index, int Offs) + public ShaderIrNode Offs { get; private set; } + + public ShaderIrOperCbuf(int Index, int Pos, ShaderIrNode Offs = null) { this.Index = Index; + this.Pos = Pos; this.Offs = Offs; } } |
