mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-04 20:38:06 +02:00
i965: Add switch cases for ir_unop_noise, which should have been lowered.
Fixes compiler warnings.
This commit is contained in:
parent
50526e094f
commit
6ef5f21234
2 changed files with 7 additions and 0 deletions
|
|
@ -753,6 +753,10 @@ fs_visitor::visit(ir_expression *ir)
|
|||
assert(!"not reached: should be handled by brw_channel_expressions");
|
||||
break;
|
||||
|
||||
case ir_unop_noise:
|
||||
assert(!"not reached: should be handled by lower_noise");
|
||||
break;
|
||||
|
||||
case ir_unop_sqrt:
|
||||
emit(fs_inst(FS_OPCODE_SQRT, this->result, op[0]));
|
||||
break;
|
||||
|
|
|
|||
|
|
@ -356,6 +356,9 @@ ir_channel_expressions_visitor::visit_leave(ir_assignment *ir)
|
|||
assign(ir, 0, last);
|
||||
break;
|
||||
}
|
||||
case ir_unop_noise:
|
||||
assert(!"noise should have been broken down to function call");
|
||||
break;
|
||||
}
|
||||
|
||||
ir->remove();
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue