compiler/glsl: clean up output
authorErik Faye-Lund <erik.faye-lund@collabora.com>
Mon, 29 Mar 2021 12:02:03 +0000 (14:02 +0200)
committerMarge Bot <eric+marge@anholt.net>
Fri, 9 Apr 2021 03:57:51 +0000 (03:57 +0000)
commiteeec9d56ad3265794a2db65e11fedbe0154ed28c
tree4610827fa1fda4357a9696fdbf0849877313a19e
parentd5e0be9342d032ce1180e6b77df22e698e688fbe
compiler/glsl: clean up output

It's really hard to make sure we have the right amount of %s in the
format string, so let's change how we generate this string.

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>
src/compiler/glsl/ast_type.cpp