summaryrefslogtreecommitdiff
path: root/src/shader_recompiler/backend/glsl/emit_glsl.cpp
diff options
context:
space:
mode:
authorFernando S <fsahmkow27@gmail.com>2021-12-22 17:36:05 +0100
committerGitHub <noreply@github.com>2021-12-22 17:36:05 +0100
commit648c7b4ed6fb86d6f98a6e19301c53c1ccfdd512 (patch)
tree6e489900becbae18884335745d9e3409761c319e /src/shader_recompiler/backend/glsl/emit_glsl.cpp
parent36df305b13afc3d91bb7f9694dedab9a84a94130 (diff)
parent4908a07c20f98f4b7dd604d1fc6865b47bc5c182 (diff)
Merge pull request #7375 from vonchenplus/convert_legacy
Convert all legacy attributes to generic attributes
Diffstat (limited to 'src/shader_recompiler/backend/glsl/emit_glsl.cpp')
-rw-r--r--src/shader_recompiler/backend/glsl/emit_glsl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shader_recompiler/backend/glsl/emit_glsl.cpp b/src/shader_recompiler/backend/glsl/emit_glsl.cpp
index 78b2eeaa2..b6b17a330 100644
--- a/src/shader_recompiler/backend/glsl/emit_glsl.cpp
+++ b/src/shader_recompiler/backend/glsl/emit_glsl.cpp
@@ -176,7 +176,7 @@ void EmitCode(EmitContext& ctx, const IR::Program& program) {
}
std::string GlslVersionSpecifier(const EmitContext& ctx) {
- if (ctx.uses_y_direction || ctx.info.stores.Legacy() || ctx.info.loads.Legacy()) {
+ if (ctx.uses_y_direction) {
return " compatibility";
}
return "";