aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTimothy Arceri <[email protected]>2015-06-10 18:35:08 +1000
committerTimothy Arceri <[email protected]>2015-06-13 12:21:26 +1000
commitfaf7670ee86253cb7bf9422bf7937a0a63f4956f (patch)
tree3a0649de1ba82afcb92446fe6e1c95e85703ea8b /src
parent935f1f60da71df07aa45a3da92fa764a1830e0fb (diff)
glsl: fix compile error message
Reviewed-by: Anuj Phogat <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/glsl/ast_to_hir.cpp2
1 files changed, 1 insertions, 1 deletions
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: