2
1
Fork 0
mirror of https://github.com/yuzu-emu/yuzu.git synced 2024-07-04 23:31:19 +01:00

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 DecompileAST();
void DeclareHeader() { void DeclareHeader() {
code.AddLine("#version 450 compatibility"); code.AddLine("#version 430 core");
code.AddLine("#extension GL_ARB_separate_shader_objects : enable"); code.AddLine("#extension GL_ARB_separate_shader_objects : enable");
if (device.HasShaderBallot()) { if (device.HasShaderBallot()) {
code.AddLine("#extension GL_ARB_shader_ballot : require"); code.AddLine("#extension GL_ARB_shader_ballot : require");