diff options
Diffstat (limited to 'src/compiler/glsl/ir_equals.cpp')
-rw-r--r-- | src/compiler/glsl/ir_equals.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/glsl/ir_equals.cpp b/src/compiler/glsl/ir_equals.cpp index 81980eb50a7..f7359e23904 100644 --- a/src/compiler/glsl/ir_equals.cpp +++ b/src/compiler/glsl/ir_equals.cpp @@ -202,7 +202,7 @@ ir_expression::equals(const ir_instruction *ir, enum ir_node_type ignore) const if (operation != other->operation) return false; - for (unsigned i = 0; i < get_num_operands(); i++) { + for (unsigned i = 0; i < num_operands; i++) { if (!operands[i]->equals(other->operands[i], ignore)) return false; } |