From ed754af8d5046d2fd7218c742521e38ab17cbcfe Mon Sep 17 00:00:00 2001 From: gdkchan Date: Wed, 11 Aug 2021 17:27:00 -0300 Subject: Make sure attributes used on subsequent shader stages are initialized (#2538) --- Ryujinx.Graphics.Shader/Decoders/OpCodeIpa.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Ryujinx.Graphics.Shader/Decoders/OpCodeIpa.cs') diff --git a/Ryujinx.Graphics.Shader/Decoders/OpCodeIpa.cs b/Ryujinx.Graphics.Shader/Decoders/OpCodeIpa.cs index 51138a1d..dc4e03e3 100644 --- a/Ryujinx.Graphics.Shader/Decoders/OpCodeIpa.cs +++ b/Ryujinx.Graphics.Shader/Decoders/OpCodeIpa.cs @@ -2,9 +2,10 @@ using Ryujinx.Graphics.Shader.Instructions; namespace Ryujinx.Graphics.Shader.Decoders { - class OpCodeIpa : OpCodeAluReg + class OpCodeIpa : OpCodeAluReg, IOpCodeAttribute { public int AttributeOffset { get; } + public int Count => 1; public InterpolationMode Mode { get; } -- cgit v1.2.3