gl_shader_decompiler: Roll back to GLSL core 430

RenderDoc won't build shaders if we use GLSL compatibility.
merge-requests/60/head
ReinUsesLisp 2020-02-29 05:09:34 +07:00
parent 978172530e
commit e612242977
1 changed files with 1 additions and 1 deletions

@ -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");