mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-08 08:30:10 +01:00
glsl: Allow GLSL_TYPE_INT64 for ir_unop_abs and ir_unop_sign
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Matt Turner <mattst88@gmail.com>
This commit is contained in:
parent
8e7e1ae036
commit
f82ced5af3
1 changed files with 2 additions and 1 deletions
|
|
@ -253,7 +253,8 @@ ir_validate::visit_leave(ir_expression *ir)
|
|||
case ir_unop_sign:
|
||||
assert(ir->operands[0]->type->base_type == GLSL_TYPE_INT ||
|
||||
ir->operands[0]->type->base_type == GLSL_TYPE_FLOAT ||
|
||||
ir->operands[0]->type->base_type == GLSL_TYPE_DOUBLE);
|
||||
ir->operands[0]->type->base_type == GLSL_TYPE_DOUBLE ||
|
||||
ir->operands[0]->type->base_type == GLSL_TYPE_INT64);
|
||||
assert(ir->type == ir->operands[0]->type);
|
||||
break;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue