summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2013-05-23 09:33:19 -0600
committerBrian Paul <[email protected]>2013-05-24 16:35:25 -0600
commitdb4580cbdf66c587867130cb7b2e630ea247971e (patch)
treea18cbc1af63f1a7ad82301cef64148183a651538
parent820de34ceb3e66f87f0dba85316f94975f98d97a (diff)
st/mesa: add switch cases for new IR enums to silence warnings
-rw-r--r--src/mesa/state_tracker/st_glsl_to_tgsi.cpp2
1 files changed, 2 insertions, 0 deletions
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()");