mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 04:48:08 +02:00
ir_constant_expression: Remove bogus assert in ir_unop_abs case.
abs is defined for integral types; it's even implemented.
This commit is contained in:
parent
7d19bf2ec3
commit
5e840dba44
1 changed files with 0 additions and 1 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue