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:
Timothy Arceri
2025-01-22 10:06:15 +11:00
committed by Marge Bot
parent ee625f44d5
commit 914697c4ac
+1 -1
View File
@@ -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;
}