glsl: fix compile error message
authorTimothy Arceri <t_arceri@yahoo.com.au>
Wed, 10 Jun 2015 08:35:08 +0000 (18:35 +1000)
committerTimothy Arceri <t_arceri@yahoo.com.au>
Sat, 13 Jun 2015 02:21:26 +0000 (12:21 +1000)
Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com>
src/glsl/ast_to_hir.cpp

index a7811af..a05efe0 100644 (file)
@@ -3686,7 +3686,7 @@ ast_declarator_list::hir(exec_list *instructions,
             if (check_type->is_record() || check_type->is_matrix())
                _mesa_glsl_error(&loc, state,
                                 "fragment shader output "
-                                "cannot have struct or array type");
+                                "cannot have struct or matrix type");
             switch (check_type->base_type) {
             case GLSL_TYPE_UINT:
             case GLSL_TYPE_INT: