i965: Shut up more compiler warnings from vector insert/extract changes.
authorEric Anholt <eric@anholt.net>
Wed, 22 May 2013 00:39:58 +0000 (17:39 -0700)
committerEric Anholt <eric@anholt.net>
Wed, 22 May 2013 21:35:25 +0000 (14:35 -0700)
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_fs_visitor.cpp

index b7bbaabf699ecf791aab4838577f8dab7fcee37e..36d9cf0505379f68d3ccd13d2379d4ab1b8819c2 100644 (file)
@@ -493,6 +493,14 @@ fs_visitor::visit(ir_expression *ir)
       assert(!"not reached: should be handled by lower_quadop_vector");
       break;
 
+   case ir_binop_vector_extract:
+      assert(!"not reached: should be handled by lower_vec_index_to_cond_assign()");
+      break;
+
+   case ir_triop_vector_insert:
+      assert(!"not reached: should be handled by lower_vector_insert()");
+      break;
+
    case ir_unop_sqrt:
       emit_math(SHADER_OPCODE_SQRT, this->result, op[0]);
       break;