mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-22 07:00:12 +01:00
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:
parent
667f758788
commit
b84c02f9cd
1 changed files with 1 additions and 1 deletions
|
|
@ -5462,7 +5462,7 @@ ast_interface_block::hir(exec_list *instructions,
|
||||||
}
|
}
|
||||||
if (this->instance_name != NULL) {
|
if (this->instance_name != NULL) {
|
||||||
_mesa_glsl_error(&loc, state,
|
_mesa_glsl_error(&loc, state,
|
||||||
"gl_PerVertex input may not be redeclared with "
|
"gl_PerVertex output may not be redeclared with "
|
||||||
"an instance name");
|
"an instance name");
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue