glsl: fix num_views validation message
Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33149>
This commit is contained in:
committed by
Marge Bot
parent
ee625f44d5
commit
914697c4ac
@@ -200,7 +200,7 @@ validate_view_qualifier(YYLTYPE *loc, struct _mesa_glsl_parse_state *state,
|
||||
}
|
||||
else if (view <= 0) {
|
||||
_mesa_glsl_error(loc, state,
|
||||
"invalid view specified %d is less than 0", view);
|
||||
"invalid view specified %d is less than 1", view);
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user