- specify vertex attributes in the shader source for Vulkan compatibility.
This commit is contained in:
parent
ad7aaa8f2a
commit
d2dea17e81
16 changed files with 9 additions and 46 deletions
|
|
@ -169,7 +169,6 @@ void PostProcessShaderInstance::CompileShader()
|
|||
mProgram.Compile(FShaderProgram::Vertex, "shaders/glsl/screenquad.vp", "", Desc->ShaderVersion);
|
||||
mProgram.Compile(FShaderProgram::Fragment, lumpName, code, prolog.GetChars(), Desc->ShaderVersion);
|
||||
mProgram.Link(Desc->ShaderLumpName.GetChars());
|
||||
mProgram.SetAttribLocation(0, "PositionInProjection");
|
||||
mInputTexture.Init(mProgram, "InputTexture");
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue