Fix shader regression on Intel iGPUs by reverting layout changes (#1425)

This commit is contained in:
gdkchan 2020-07-28 19:01:11 -03:00 committed by GitHub
parent f5b1b6f680
commit 4763d8b09a
7 changed files with 93 additions and 45 deletions

View file

@ -113,7 +113,7 @@ namespace Ryujinx.Graphics.Shader.CodeGen.Glsl.Instructions
string indexExpr = GetSoureExpr(context, src2, GetSrcVarType(operation.Inst, 1));
return OperandManager.GetAttributeName(attr, context.Config.Stage, isOutAttr: false, indexExpr);
return OperandManager.GetAttributeName(attr, context.Config, isOutAttr: false, indexExpr);
}
public static string LoadConstant(CodeGenContext context, AstOperation operation)