From db4580cbdf66c587867130cb7b2e630ea247971e Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Thu, 23 May 2013 09:33:19 -0600 Subject: [PATCH] st/mesa: add switch cases for new IR enums to silence warnings --- src/mesa/state_tracker/st_glsl_to_tgsi.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/mesa/state_tracker/st_glsl_to_tgsi.cpp b/src/mesa/state_tracker/st_glsl_to_tgsi.cpp index b1b6e61..f8176eb 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()"); -- 2.7.4