diff options
author | Kenneth Graunke <[email protected]> | 2010-07-08 23:09:48 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2010-07-14 15:50:27 -0700 |
commit | 5e840dba4412b33ae49289efd357a60098ac2611 (patch) | |
tree | ec4c20c6302996c9abe03d3e40b50ccadf0f0cad | |
parent | 7d19bf2ec34dceb621ec82861be3d12ba73e67d3 (diff) |
ir_constant_expression: Remove bogus assert in ir_unop_abs case.
abs is defined for integral types; it's even implemented.
-rw-r--r-- | src/glsl/ir_constant_expression.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/glsl/ir_constant_expression.cpp b/src/glsl/ir_constant_expression.cpp index 0fe93adcead..06d7dd8fbe0 100644 --- a/src/glsl/ir_constant_expression.cpp +++ b/src/glsl/ir_constant_expression.cpp @@ -243,7 +243,6 @@ ir_constant_visitor::visit(ir_expression *ir) break; case ir_unop_abs: - assert(op[0]->type->base_type == GLSL_TYPE_FLOAT); for (unsigned c = 0; c < ir->operands[0]->type->components(); c++) { switch (ir->type->base_type) { case GLSL_TYPE_UINT: |