From e93ca84b14cc325364f1ccc45a6e8622978e959d Mon Sep 17 00:00:00 2001 From: gdkchan <gab.dark.100@gmail.com> 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/StructuredIr/AstOperand.cs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'Ryujinx.Graphics.Shader/StructuredIr/AstOperand.cs') diff --git a/Ryujinx.Graphics.Shader/StructuredIr/AstOperand.cs b/Ryujinx.Graphics.Shader/StructuredIr/AstOperand.cs index 25b09636..97ff3ca9 100644 --- a/Ryujinx.Graphics.Shader/StructuredIr/AstOperand.cs +++ b/Ryujinx.Graphics.Shader/StructuredIr/AstOperand.cs @@ -12,8 +12,6 @@ namespace Ryujinx.Graphics.Shader.StructuredIr public VariableType VarType { get; set; } - public InterpolationQualifier Interpolation { get; } - public int Value { get; } public int CbufSlot { get; } @@ -29,8 +27,7 @@ namespace Ryujinx.Graphics.Shader.StructuredIr public AstOperand(Operand operand) : this() { - Type = operand.Type; - Interpolation = operand.Interpolation; + Type = operand.Type; if (Type == OperandType.ConstantBuffer) { -- cgit v1.2.3-70-g09d2