aboutsummaryrefslogtreecommitdiff
path: root/src/Ryujinx.Graphics.Shader/IntermediateRepresentation/Operand.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Ryujinx.Graphics.Shader/IntermediateRepresentation/Operand.cs')
-rw-r--r--src/Ryujinx.Graphics.Shader/IntermediateRepresentation/Operand.cs10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/Ryujinx.Graphics.Shader/IntermediateRepresentation/Operand.cs b/src/Ryujinx.Graphics.Shader/IntermediateRepresentation/Operand.cs
index 1df88a3d..6648457f 100644
--- a/src/Ryujinx.Graphics.Shader/IntermediateRepresentation/Operand.cs
+++ b/src/Ryujinx.Graphics.Shader/IntermediateRepresentation/Operand.cs
@@ -7,7 +7,7 @@ namespace Ryujinx.Graphics.Shader.IntermediateRepresentation
class Operand
{
private const int CbufSlotBits = 5;
- private const int CbufSlotLsb = 32 - CbufSlotBits;
+ private const int CbufSlotLsb = 32 - CbufSlotBits;
private const int CbufSlotMask = (1 << CbufSlotBits) - 1;
public OperandType Type { get; }
@@ -30,19 +30,19 @@ namespace Ryujinx.Graphics.Shader.IntermediateRepresentation
public Operand(OperandType type, int value) : this()
{
- Type = type;
+ Type = type;
Value = value;
}
public Operand(Register reg) : this()
{
- Type = OperandType.Register;
+ Type = OperandType.Register;
Value = PackRegInfo(reg.Index, reg.Type);
}
public Operand(int slot, int offset) : this()
{
- Type = OperandType.ConstantBuffer;
+ Type = OperandType.ConstantBuffer;
Value = PackCbufInfo(slot, offset);
}
@@ -76,4 +76,4 @@ namespace Ryujinx.Graphics.Shader.IntermediateRepresentation
return BitConverter.Int32BitsToSingle(Value);
}
}
-} \ No newline at end of file
+}