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 58b08d445b9..81980eb50a7 100644 --- a/src/compiler/glsl/ir_equals.cpp +++ b/src/compiler/glsl/ir_equals.cpp @@ -58,7 +58,7 @@ ir_constant::equals(const ir_instruction *ir, enum ir_node_type) const return false; for (unsigned i = 0; i < type->components(); i++) { - if (type->base_type == GLSL_TYPE_DOUBLE) { + if (type->is_double()) { if (value.d[i] != other->value.d[i]) return false; } else { |