summaryrefslogtreecommitdiffstats
path: root/src/glsl/ast_to_hir.cpp
diff options
context:
space:
mode:
authorChris Forbes <[email protected]>2014-09-09 19:55:29 +1200
committerChris Forbes <[email protected]>2014-09-17 08:33:16 +1200
commitb84c02f9cdcc23ecff7f21df28a827f71be9e5fd (patch)
tree2ac180fb849485b68e15ad940c6b3bc66176631c /src/glsl/ast_to_hir.cpp
parent667f758788f0796d9be16f0f361022d447f622f5 (diff)
glsl: fix error message for redeclaring gl_PerVertex as output
Signed-off-by: Chris Forbes <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/glsl/ast_to_hir.cpp')
-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 3b38dcfde69..5ec1614be34 100644
--- a/src/glsl/ast_to_hir.cpp
+++ b/src/glsl/ast_to_hir.cpp
@@ -5462,7 +5462,7 @@ ast_interface_block::hir(exec_list *instructions,
}
if (this->instance_name != NULL) {
_mesa_glsl_error(&loc, state,
- "gl_PerVertex input may not be redeclared with "
+ "gl_PerVertex output may not be redeclared with "
"an instance name");
}
break;