compiler/glsl: correct the number of string-arguments
This format-string seems to have been incorrect since it's inception. But there's also been commits that have both forgotten to add and remove flags as appropriate as well. Let's correct the format-list. This was done by counting by hand. A better solution for the long-term is coming in a future commit. Reviewed-by: Matt Turner <mattst88@gmail.com> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9896>
This commit is contained in:

committed by
Marge Bot

parent
34c84b6f0e
commit
01e012dab8
@@ -835,7 +835,8 @@ ast_type_qualifier::validate_flags(YYLTYPE *loc,
|
||||
"%s '%s':"
|
||||
"%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s"
|
||||
"%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s"
|
||||
"%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s\n",
|
||||
"%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s"
|
||||
"%s%s%s%s%s%s%s\n",
|
||||
message, name,
|
||||
bad.flags.q.invariant ? " invariant" : "",
|
||||
bad.flags.q.precise ? " precise" : "",
|
||||
|
Reference in New Issue
Block a user