aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Graphics.Shader/IntermediateRepresentation/OperandHelper.cs
diff options
context:
space:
mode:
authorgdkchan <gab.dark.100@gmail.com>2020-04-02 21:20:47 -0300
committerGitHub <noreply@github.com>2020-04-03 11:20:47 +1100
commite93ca84b14cc325364f1ccc45a6e8622978e959d (patch)
tree8e32b23e94e529ccf91b8e7d7613ce003d16e841 /Ryujinx.Graphics.Shader/IntermediateRepresentation/OperandHelper.cs
parent2365ddfc363e76ac1ac9d2e32ef9b36b85463431 (diff)
Better IPA shader instruction implementation (#1082)
* Fix varying interpolation on fragment shader * Some nits * Alignment
Diffstat (limited to 'Ryujinx.Graphics.Shader/IntermediateRepresentation/OperandHelper.cs')
-rw-r--r--Ryujinx.Graphics.Shader/IntermediateRepresentation/OperandHelper.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/Ryujinx.Graphics.Shader/IntermediateRepresentation/OperandHelper.cs b/Ryujinx.Graphics.Shader/IntermediateRepresentation/OperandHelper.cs
index 45c9ba1e..6765f8a4 100644
--- a/Ryujinx.Graphics.Shader/IntermediateRepresentation/OperandHelper.cs
+++ b/Ryujinx.Graphics.Shader/IntermediateRepresentation/OperandHelper.cs
@@ -5,9 +5,9 @@ namespace Ryujinx.Graphics.Shader.IntermediateRepresentation
{
static class OperandHelper
{
- public static Operand Attribute(int value, InterpolationQualifier iq = InterpolationQualifier.None)
+ public static Operand Attribute(int value)
{
- return new Operand(OperandType.Attribute, value, iq);
+ return new Operand(OperandType.Attribute, value);
}
public static Operand Cbuf(int slot, int offset)