From: Timothy Arceri Date: Wed, 10 Jun 2015 08:35:08 +0000 (+1000) Subject: glsl: fix compile error message X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=faf7670ee86253cb7bf9422bf7937a0a63f4956f;p=mesa.git glsl: fix compile error message Reviewed-by: Anuj Phogat --- diff --git a/src/glsl/ast_to_hir.cpp b/src/glsl/ast_to_hir.cpp index a7811af5d0f..a05efe00470 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: