From: Brian Paul Date: Sat, 2 Mar 2013 00:36:34 +0000 (-0700) Subject: st/mesa: add switch case for ir_txf_ms to silence warning X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0b6e72f8d75a31ef233ad5be0c9f59497880657f;p=mesa.git st/mesa: add switch case for ir_txf_ms to silence warning Reviewed-by: Roland Scheidegger --- diff --git a/src/mesa/state_tracker/st_glsl_to_tgsi.cpp b/src/mesa/state_tracker/st_glsl_to_tgsi.cpp index 8e3e3b838e8..c41b5833ebf 100644 --- a/src/mesa/state_tracker/st_glsl_to_tgsi.cpp +++ b/src/mesa/state_tracker/st_glsl_to_tgsi.cpp @@ -2746,6 +2746,9 @@ glsl_to_tgsi_visitor::visit(ir_texture *ir) offset = this->result; } break; + case ir_txf_ms: + assert(!"Unexpected ir_txf_ms opcode"); + break; } if (ir->projector) {