glsl: Add a method to print error messages for illegal qualifiers.
authorKenneth Graunke <kenneth@whitecape.org>
Mon, 11 Apr 2016 05:41:46 +0000 (22:41 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Tue, 12 Apr 2016 21:06:42 +0000 (14:06 -0700)
commit929e44099f83acee74d07eb3e33a3c0d22f8bc6b
tree80652a6db68c72bc28586e40f73d160f077c3a3f
parent7f0854724827bd34b9e64ab0c9cabc328e404c62
glsl: Add a method to print error messages for illegal qualifiers.

Suggested by Timothy Arceri a while back on mesa-dev:
https://lists.freedesktop.org/archives/mesa-dev/2016-February/107735.html

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Timothy Arceri <timothy.arceri@collabora.com>
Acked-by: Matt Turner <mattst88@gmail.com>
src/compiler/glsl/ast.h
src/compiler/glsl/ast_type.cpp