From faf7670ee86253cb7bf9422bf7937a0a63f4956f Mon Sep 17 00:00:00 2001 From: Timothy Arceri Date: Wed, 10 Jun 2015 18:35:08 +1000 Subject: [PATCH] glsl: fix compile error message Reviewed-by: Anuj Phogat --- src/glsl/ast_to_hir.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/glsl/ast_to_hir.cpp b/src/glsl/ast_to_hir.cpp index a7811af..a05efe0 100644 --- a/src/glsl/ast_to_hir.cpp +++ b/src/glsl/ast_to_hir.cpp @@ -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: -- 2.7.4