diff options
Diffstat (limited to 'src/shader_recompiler/backend/glsl/emit_glsl.cpp')
| -rw-r--r-- | src/shader_recompiler/backend/glsl/emit_glsl.cpp | 2 |
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 32c4f1da2..8deaf5760 100644 --- a/src/shader_recompiler/backend/glsl/emit_glsl.cpp +++ b/src/shader_recompiler/backend/glsl/emit_glsl.cpp | |||
| @@ -171,7 +171,7 @@ void EmitCode(EmitContext& ctx, const IR::Program& program) { | |||
| 171 | } | 171 | } |
| 172 | 172 | ||
| 173 | std::string GlslVersionSpecifier(const EmitContext& ctx) { | 173 | std::string GlslVersionSpecifier(const EmitContext& ctx) { |
| 174 | if (ctx.uses_y_direction || ctx.info.stores_legacy_varyings || ctx.info.loads_legacy_varyings) { | 174 | if (ctx.uses_y_direction || ctx.info.stores.Legacy() || ctx.info.loads.Legacy()) { |
| 175 | return " compatibility"; | 175 | return " compatibility"; |
| 176 | } | 176 | } |
| 177 | return ""; | 177 | return ""; |