- add layout location decl to all postprocess shaders
This commit is contained in:
parent
87441dd0a1
commit
b313f91ab0
22 changed files with 26 additions and 26 deletions
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue