- add layout location decl to all postprocess shaders

This commit is contained in:
Magnus Norddahl 2019-03-05 18:55:31 +01:00
commit b313f91ab0
22 changed files with 26 additions and 26 deletions

View file

@ -284,7 +284,7 @@ FString FShaderProgram::PatchShader(ShaderType type, const FString &code, const
patchedCode << "precision highp float;\n";
patchedCode << "#line 1\n";
patchedCode << code;
patchedCode << RemoveLayoutLocationDecl(code, type == Vertex ? "out" : "in");
if (maxGlslVersion < 420)
{