3
0
Fork 0
forked from suyu/suyu

gl_shader_decompiler: Roll back to GLSL core 430

RenderDoc won't build shaders if we use GLSL compatibility.
This commit is contained in:
ReinUsesLisp 2020-02-29 05:09:34 -03:00
parent 978172530e
commit e612242977

View file

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