mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-16 09:48:16 +02:00
i965: add missing ir_unop_*/ir_binop_* in visit_leave()
Fixes the following Clang warnings.
brw_fs_channel_expressions.cpp:219:12: warning: enumeration values 'ir_unop_ballot', 'ir_unop_read_first_invocation', and 'ir_binop_read_invocation' not handled in switch [-Wswitch]
switch (expr->operation) {
^
1 warning generated.
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
This commit is contained in:
parent
b6b566b48e
commit
9ced105a52
1 changed files with 3 additions and 0 deletions
|
|
@ -470,6 +470,9 @@ ir_channel_expressions_visitor::visit_leave(ir_assignment *ir)
|
|||
case ir_unop_vote_eq:
|
||||
case ir_unop_unpack_int_2x32:
|
||||
case ir_unop_unpack_uint_2x32:
|
||||
case ir_unop_ballot:
|
||||
case ir_unop_read_first_invocation:
|
||||
case ir_binop_read_invocation:
|
||||
unreachable("unsupported");
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue