diff options
Diffstat (limited to 'Ryujinx.Graphics/Gal/Shader/ShaderIrOperGpr.cs')
| -rw-r--r-- | Ryujinx.Graphics/Gal/Shader/ShaderIrOperGpr.cs | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/Ryujinx.Graphics/Gal/Shader/ShaderIrOperGpr.cs b/Ryujinx.Graphics/Gal/Shader/ShaderIrOperGpr.cs index b4a5cab4..0d102d89 100644 --- a/Ryujinx.Graphics/Gal/Shader/ShaderIrOperGpr.cs +++ b/Ryujinx.Graphics/Gal/Shader/ShaderIrOperGpr.cs @@ -2,35 +2,35 @@ namespace Ryujinx.Graphics.Gal.Shader { class ShaderIrOperGpr : ShaderIrNode { - public const int ZRIndex = 0xff; + public const int ZrIndex = 0xff; - public bool IsConst => Index == ZRIndex; + public bool IsConst => Index == ZrIndex; - public bool IsValidRegister => (uint)Index <= ZRIndex; + public bool IsValidRegister => (uint)Index <= ZrIndex; public int Index { get; set; } public int HalfPart { get; set; } public ShaderRegisterSize RegisterSize { get; private set; } - public ShaderIrOperGpr(int Index) + public ShaderIrOperGpr(int index) { - this.Index = Index; + Index = index; RegisterSize = ShaderRegisterSize.Single; } - public ShaderIrOperGpr(int Index, int HalfPart) + public ShaderIrOperGpr(int index, int halfPart) { - this.Index = Index; - this.HalfPart = HalfPart; + Index = index; + HalfPart = halfPart; RegisterSize = ShaderRegisterSize.Half; } - public static ShaderIrOperGpr MakeTemporary(int Index = 0) + public static ShaderIrOperGpr MakeTemporary(int index = 0) { - return new ShaderIrOperGpr(0x100 + Index); + return new ShaderIrOperGpr(0x100 + index); } } }
\ No newline at end of file |
