diff options
author | Kenneth Graunke <[email protected]> | 2010-07-12 13:55:10 -0700 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2010-07-20 17:10:05 -0700 |
commit | e340854115f2562109c91fa908ffe6628432f989 (patch) | |
tree | 137cd12923a0b14ca6352c2188ae81e15d7f67f6 /src/glsl/ir_constant_expression.cpp | |
parent | e1acbfca322c4ac720707ec8d3fda08fab65a30b (diff) |
glsl2: Move constant_expression_value method to ir_rvalue.
This prevents top-level callers from asking for the value of something
that is guaranteed not to have one.
Diffstat (limited to 'src/glsl/ir_constant_expression.cpp')
-rw-r--r-- | src/glsl/ir_constant_expression.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glsl/ir_constant_expression.cpp b/src/glsl/ir_constant_expression.cpp index ca834978f47..44f4a642099 100644 --- a/src/glsl/ir_constant_expression.cpp +++ b/src/glsl/ir_constant_expression.cpp @@ -96,7 +96,7 @@ public: ir_constant * -ir_instruction::constant_expression_value() +ir_rvalue::constant_expression_value() { ir_constant_visitor visitor; |