Mesa (master): glsl: fix compile error message
Timothy Arceri
tarceri at kemper.freedesktop.org
Sat Jun 13 02:21:33 UTC 2015
Module: Mesa
Branch: master
Commit: faf7670ee86253cb7bf9422bf7937a0a63f4956f
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=faf7670ee86253cb7bf9422bf7937a0a63f4956f
Author: Timothy Arceri <t_arceri at yahoo.com.au>
Date: Wed Jun 10 18:35:08 2015 +1000
glsl: fix compile error message
Reviewed-by: Anuj Phogat <anuj.phogat at gmail.com>
---
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:
More information about the mesa-commit
mailing list