glsl: fix error message for redeclaring gl_PerVertex as output

Signed-off-by: Chris Forbes <chrisf@ijw.co.nz>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
This commit is contained in:
Chris Forbes 2014-09-09 19:55:29 +12:00
parent 667f758788
commit b84c02f9cd

View file

@ -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;