compiler/glsl: drop rogue argument to _mesa_glsl_error
authorErik Faye-Lund <erik.faye-lund@collabora.com>
Mon, 29 Mar 2021 10:36:28 +0000 (12:36 +0200)
committerMarge Bot <eric+marge@anholt.net>
Tue, 13 Apr 2021 06:16:41 +0000 (06:16 +0000)
commit2a984da18e4e9ccd79ef24557bd0c8ce0a1b9971
tree014216a0351f1eae751f0d1dbeff658d123937db
parenta0718e897768c847c9ca9e5a02e8ff8f46845102
compiler/glsl: drop rogue argument to _mesa_glsl_error

This arugment is not present int the format-string, so we shouldn't pass
it to _mesa_glsl_error either.

Noticed by Coverity.

Fixes: 02dc74fbd72 ("glsl: parse invocations layout qualifier for ARB_gpu_shader5")
Reviewed-by: Eric Anholt <eric@anholt.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9911>
src/compiler/glsl/glsl_parser.yy