Better IPA shader instruction implementation (#1082)

* Fix varying interpolation on fragment shader

* Some nits

* Alignment
This commit is contained in:
gdkchan 2020-04-02 21:20:47 -03:00 committed by GitHub
parent 2365ddfc36
commit e93ca84b14
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
13 changed files with 97 additions and 89 deletions

View file

@ -14,8 +14,6 @@ namespace Ryujinx.Graphics.Shader.IntermediateRepresentation
public int Value { get; }
public InterpolationQualifier Interpolation { get; }
public INode AsgOp { get; set; }
public HashSet<INode> 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()