Update GlslDecompiler.cs
This commit is contained in:
parent
fa70629fab
commit
8261db61d4
1 changed files with 2 additions and 2 deletions
|
@ -297,7 +297,7 @@ namespace Ryujinx.Graphics.Gal.Shader
|
|||
{
|
||||
if (DeclInfo.Index >= 0)
|
||||
{
|
||||
SB.AppendLine("layout (location = " + DeclInfo.Index + ") " + InOut + " " + GetDecl(DeclInfo) + ";");
|
||||
SB.AppendLine("layout (location = " + DeclInfo.Index + ") " + InOut + " " + "vec4" + ";");
|
||||
|
||||
Count++;
|
||||
}
|
||||
|
@ -1258,4 +1258,4 @@ namespace Ryujinx.Graphics.Gal.Shader
|
|||
throw new ArgumentException(nameof(Node));
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue