summaryrefslogtreecommitdiffstats
path: root/src/glsl/ast.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/glsl/ast.h')
-rw-r--r--src/glsl/ast.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/glsl/ast.h b/src/glsl/ast.h
index c096f9aa876..523a38937a5 100644
--- a/src/glsl/ast.h
+++ b/src/glsl/ast.h
@@ -366,6 +366,11 @@ struct ast_type_qualifier {
unsigned location;
/**
+ * Return true if and only if an interpolation qualifier is present.
+ */
+ bool has_interpolation() const;
+
+ /**
* \brief Return string representation of interpolation qualifier.
*
* If an interpolation qualifier is present, then return that qualifier's