compiler/glsl: fix volatile string
authorErik Faye-Lund <erik.faye-lund@collabora.com>
Wed, 31 Mar 2021 08:09:58 +0000 (10:09 +0200)
committerMarge Bot <eric+marge@anholt.net>
Fri, 9 Apr 2021 03:57:51 +0000 (03:57 +0000)
commitd5e0be9342d032ce1180e6b77df22e698e688fbe
tree4d9dfd28752923fcaeba0f1e83f39b2197fe8379
parent01e012dab80850187bed48ea3a0c6a12ed9cb8ba
compiler/glsl: fix volatile string

The reason the member has a leading underscore is because volatile is a
keyword in C. We don't want to carry that detail into the error-string,
so let's drop the underscore.

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