i965: Fix compile warning about missing opcodes.
authorEric Anholt <eric@anholt.net>
Sun, 5 Dec 2010 00:27:57 +0000 (16:27 -0800)
committerEric Anholt <eric@anholt.net>
Sun, 5 Dec 2010 00:27:57 +0000 (16:27 -0800)
src/mesa/drivers/dri/i965/brw_fs_channel_expressions.cpp

index 3b7b03a05b80193557591d8589f8022b15dd2a85..20bfa4c3ea372ccd7f07aef72b07b852891c223b 100644 (file)
@@ -205,6 +205,8 @@ ir_channel_expressions_visitor::visit_leave(ir_assignment *ir)
    case ir_unop_round_even:
    case ir_unop_sin:
    case ir_unop_cos:
+   case ir_unop_sin_reduced:
+   case ir_unop_cos_reduced:
    case ir_unop_dFdx:
    case ir_unop_dFdy:
       for (i = 0; i < vector_elements; i++) {
@@ -328,6 +330,9 @@ ir_channel_expressions_visitor::visit_leave(ir_assignment *ir)
    case ir_unop_noise:
       assert(!"noise should have been broken down to function call");
       break;
+   case ir_quadop_vector:
+      assert(!"should have been lowered");
+      break;
    }
 
    ir->remove();