glsl/lower_instructions: Handle fp16 for MOD_TO_FLOOR
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3929>
This commit is contained in:
parent
6c1c2b779a
commit
4fcac46cbd
|
@ -1789,7 +1789,7 @@ lower_instructions_visitor::visit_leave(ir_expression *ir)
|
|||
break;
|
||||
|
||||
case ir_binop_mod:
|
||||
if (lowering(MOD_TO_FLOOR) && (ir->type->is_float() || ir->type->is_double()))
|
||||
if (lowering(MOD_TO_FLOOR) && ir->type->is_float_16_32_64())
|
||||
mod_to_floor(ir);
|
||||
break;
|
||||
|
||||
|
|
Loading…
Reference in New Issue