diff options
Diffstat (limited to 'src/glsl/ir.h')
-rw-r--r-- | src/glsl/ir.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/glsl/ir.h b/src/glsl/ir.h index cf3a882f07..efe59d8064 100644 --- a/src/glsl/ir.h +++ b/src/glsl/ir.h @@ -731,6 +731,12 @@ public: const char *operator_string(); /** + * Return a string representing this expression's operator. + */ + static const char *operator_string(ir_expression_operation); + + + /** * Do a reverse-lookup to translate the given string into an operator. */ static ir_expression_operation get_operator(const char *); |