diff --git a/src/compiler/glsl/ast_to_hir.cpp b/src/compiler/glsl/ast_to_hir.cpp index 1d751ff323f..93e989f31b7 100644 --- a/src/compiler/glsl/ast_to_hir.cpp +++ b/src/compiler/glsl/ast_to_hir.cpp @@ -6079,7 +6079,7 @@ ast_parameter_declarator::hir(exec_list *instructions, */ if ((var->data.mode == ir_var_function_inout || var->data.mode == ir_var_function_out) && glsl_type_is_array(type) - && !state->check_version(120, 100, &loc, + && !state->check_version(state->allow_glsl_120_subset_in_110 ? 110 : 120, 100, &loc, "arrays cannot be out or inout parameters")) { type = &glsl_type_builtin_error; }