Redoing changes

This commit is contained in:
Darabat 2018-08-06 19:44:50 -03:00 committed by GitHub
parent 32abd7cf97
commit 61d226d553
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -421,8 +421,6 @@ namespace Ryujinx.Graphics.Gal.Shader
ShaderDeclInfo DeclInfo = KV.Value;
string Swizzle = ".xyzw".Substring(0, DeclInfo.Size + 1);
string Name = Attr.Name;
if (Decl.ShaderType == GalShaderType.Geometry)
@ -430,7 +428,7 @@ namespace Ryujinx.Graphics.Gal.Shader
Name += "[0]";
}
SB.AppendLine(Identation + DeclInfo.Name + " = " + Name + Swizzle + ";");
SB.AppendLine(Identation + DeclInfo.Name + " = " + Name + ";");
}
if (Decl.ShaderType == GalShaderType.Vertex)