summaryrefslogtreecommitdiffstats
path: root/src/compiler/glsl/ast.h
diff options
context:
space:
mode:
authorTimothy Arceri <[email protected]>2016-02-14 09:51:31 +1100
committerTimothy Arceri <[email protected]>2016-02-17 07:26:38 +1100
commita61823b584d75dddf46061135b08b2777a8c468d (patch)
treea4adca727e82dd0a629cf008f15a5df7bbbf697d /src/compiler/glsl/ast.h
parente70ece4eea4c1e8fb6c3b3995baa36ad6634b690 (diff)
glsl: remove duplicate interpolation_string() function
We already have one in the IR code that can be used everywhere its needed in the AST code so remove the one from the AST. Reviewed-by: Samuel Iglesias Gonsálvez <[email protected]>
Diffstat (limited to 'src/compiler/glsl/ast.h')
-rw-r--r--src/compiler/glsl/ast.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/compiler/glsl/ast.h b/src/compiler/glsl/ast.h
index 03df6c08b2b..9aa5bb99f49 100644
--- a/src/compiler/glsl/ast.h
+++ b/src/compiler/glsl/ast.h
@@ -685,18 +685,6 @@ struct ast_type_qualifier {
*/
bool has_auxiliary_storage() const;
- /**
- * \brief Return string representation of interpolation qualifier.
- *
- * If an interpolation qualifier is present, then return that qualifier's
- * string representation. Otherwise, return null. For example, if the
- * noperspective bit is set, then this returns "noperspective".
- *
- * If multiple interpolation qualifiers are somehow present, then the
- * returned string is undefined but not null.
- */
- const char *interpolation_string() const;
-
bool merge_qualifier(YYLTYPE *loc,
_mesa_glsl_parse_state *state,
const ast_type_qualifier &q,