summaryrefslogtreecommitdiffstats
path: root/src/glsl/glsl_parser_extras.cpp
diff options
context:
space:
mode:
authorChris Forbes <[email protected]>2013-11-29 21:21:56 +1300
committerChris Forbes <[email protected]>2013-12-07 17:14:39 +1300
commit51aa15aca2bf5764b8cd62bbf2329eda40f7a859 (patch)
tree93f13b8280c101da3a69ec0d9e8f251b4bd9582c /src/glsl/glsl_parser_extras.cpp
parenta1ca5802401c384c1eadbf72cf910c65e377600c (diff)
glsl: Add frontend support for `sample` auxiliary storage qualifier
Signed-off-by: Chris Forbes <[email protected]> Reviewed-by: Francisco Jerez <[email protected]>
Diffstat (limited to 'src/glsl/glsl_parser_extras.cpp')
-rw-r--r--src/glsl/glsl_parser_extras.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/glsl/glsl_parser_extras.cpp b/src/glsl/glsl_parser_extras.cpp
index 8e350902355..2645c08af90 100644
--- a/src/glsl/glsl_parser_extras.cpp
+++ b/src/glsl/glsl_parser_extras.cpp
@@ -878,6 +878,8 @@ _mesa_ast_type_qualifier_print(const struct ast_type_qualifier *q)
if (q->flags.q.centroid)
printf("centroid ");
+ if (q->flags.q.sample)
+ printf("sample ");
if (q->flags.q.uniform)
printf("uniform ");
if (q->flags.q.smooth)