From: Brian Paul Date: Thu, 23 May 2013 15:33:19 +0000 (-0600) Subject: st/mesa: add switch cases for new IR enums to silence warnings X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=db4580cbdf66c587867130cb7b2e630ea247971e;p=mesa.git st/mesa: add switch cases for new IR enums to silence warnings --- diff --git a/src/mesa/state_tracker/st_glsl_to_tgsi.cpp b/src/mesa/state_tracker/st_glsl_to_tgsi.cpp index b1b6e612267..f8176eb77b2 100644 --- a/src/mesa/state_tracker/st_glsl_to_tgsi.cpp +++ b/src/mesa/state_tracker/st_glsl_to_tgsi.cpp @@ -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()");