glsl: Add a new ast_type_qualifier::has_auxiliary_storage() method.
authorKenneth Graunke <kenneth@whitecape.org>
Sun, 14 Jul 2013 02:20:37 +0000 (19:20 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Thu, 18 Jul 2013 23:57:22 +0000 (16:57 -0700)
commit1b719df14dcde947f3d9c43282866a65cf3a3fd2
tree98b7d3ea832cb08854c3eef5ad41c8a46420735a
parenteb30af51d68e3cc137dd640e57c81bdda1aae527
glsl: Add a new ast_type_qualifier::has_auxiliary_storage() method.

"Auxiliary storage qualifiers" is the new term given to "centroid",
"patch", and "sample" by GLSL 4.20/GL_ARB_shading_language_420pack.

Even though we only support "centroid", it's useful to add this now
so that all auxiliary storage qualifiers get handled in the right places
once they're eventually supported.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Matt Turner <mattst88@gmail.com>
src/glsl/ast.h
src/glsl/ast_type.cpp