st/mesa: add switch cases for new IR enums to silence warnings
authorBrian Paul <brianp@vmware.com>
Thu, 23 May 2013 15:33:19 +0000 (09:33 -0600)
committerBrian Paul <brianp@vmware.com>
Fri, 24 May 2013 22:35:25 +0000 (16:35 -0600)
src/mesa/state_tracker/st_glsl_to_tgsi.cpp

index b1b6e612267686548a0e1b27138feec7447f5017..f8176eb77b2dc7616f022e150395fa37bbad159a 100644 (file)
@@ -1976,6 +1976,8 @@ glsl_to_tgsi_visitor::visit(ir_expression *ir)
    case ir_triop_bitfield_extract:
    case ir_quadop_bitfield_insert:
    case ir_quadop_vector:
+   case ir_binop_vector_extract:
+   case ir_triop_vector_insert:
       /* This operation is not supported, or should have already been handled.
        */
       assert(!"Invalid ir opcode in glsl_to_tgsi_visitor::visit()");