gl_shader_decompiler: Roll back to GLSL core 430
RenderDoc won't build shaders if we use GLSL compatibility.
This commit is contained in:
parent
978172530e
commit
e612242977
@ -478,7 +478,7 @@ private:
|
||||
void DecompileAST();
|
||||
|
||||
void DeclareHeader() {
|
||||
code.AddLine("#version 450 compatibility");
|
||||
code.AddLine("#version 430 core");
|
||||
code.AddLine("#extension GL_ARB_separate_shader_objects : enable");
|
||||
if (device.HasShaderBallot()) {
|
||||
code.AddLine("#extension GL_ARB_shader_ballot : require");
|
||||
|
Loading…
Reference in New Issue
Block a user