From e93ca84b14cc325364f1ccc45a6e8622978e959d Mon Sep 17 00:00:00 2001 From: gdkchan Date: Thu, 2 Apr 2020 21:20:47 -0300 Subject: Better IPA shader instruction implementation (#1082) * Fix varying interpolation on fragment shader * Some nits * Alignment --- Ryujinx.Graphics.Shader/IntermediateRepresentation/Operand.cs | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'Ryujinx.Graphics.Shader/IntermediateRepresentation/Operand.cs') diff --git a/Ryujinx.Graphics.Shader/IntermediateRepresentation/Operand.cs b/Ryujinx.Graphics.Shader/IntermediateRepresentation/Operand.cs index 567277a7..1df88a3d 100644 --- a/Ryujinx.Graphics.Shader/IntermediateRepresentation/Operand.cs +++ b/Ryujinx.Graphics.Shader/IntermediateRepresentation/Operand.cs @@ -14,8 +14,6 @@ namespace Ryujinx.Graphics.Shader.IntermediateRepresentation public int Value { get; } - public InterpolationQualifier Interpolation { get; } - public INode AsgOp { get; set; } public HashSet UseOps { get; } @@ -30,11 +28,10 @@ namespace Ryujinx.Graphics.Shader.IntermediateRepresentation Type = type; } - public Operand(OperandType type, int value, InterpolationQualifier iq = InterpolationQualifier.None) : this() + public Operand(OperandType type, int value) : this() { - Type = type; - Value = value; - Interpolation = iq; + Type = type; + Value = value; } public Operand(Register reg) : this() -- cgit v1.2.3