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 a7811af5d0fb526d8fe3aa4ca1c12113c7a24718..a05efe004701c331e38f4b4fec7bdf89865cd005 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: