summaryrefslogtreecommitdiffstats
path: root/src/glsl/ir.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/glsl/ir.h')
-rw-r--r--src/glsl/ir.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/glsl/ir.h b/src/glsl/ir.h
index 1d667be89c0..b6cd1bae31c 100644
--- a/src/glsl/ir.h
+++ b/src/glsl/ir.h
@@ -71,8 +71,6 @@ public:
enum ir_node_type ir_type;
const struct glsl_type *type;
- class ir_constant *constant_expression_value();
-
/** ir_print_visitor helper for debugging. */
void print(void) const;
@@ -114,6 +112,8 @@ protected:
class ir_rvalue : public ir_instruction {
public:
+ class ir_constant *constant_expression_value();
+
virtual ir_rvalue *clone(struct hash_table *) const = 0;
virtual ir_rvalue * as_rvalue()