i965: add missing ir_unop_*/ir_binop_* in visit_leave()
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Tue, 11 Apr 2017 12:50:39 +0000 (14:50 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Thu, 13 Apr 2017 08:06:07 +0000 (10:06 +0200)
commit9ced105a52896dddf272a6052412275f65efe3b6
tree10a218cc7ca9358b96b6849bab43fe59d41672cd
parentb6b566b48e0240c1be9b3fd5ff1bb227a40f9260
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>
src/mesa/drivers/dri/i965/brw_fs_channel_expressions.cpp