mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-26 19:20:08 +01:00
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:
parent
34c84b6f0e
commit
01e012dab8
1 changed files with 2 additions and 1 deletions
|
|
@ -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" : "",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue