From: Brian Paul Date: Thu, 3 Oct 2013 15:13:39 +0000 (-0600) Subject: st/mesa: silence warning about unhandled enum in switch statement X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=bde5b626c29464426eac29a5b750ea9a49273f56;p=mesa.git st/mesa: silence warning about unhandled enum in switch statement --- diff --git a/src/mesa/state_tracker/st_glsl_to_tgsi.cpp b/src/mesa/state_tracker/st_glsl_to_tgsi.cpp index a5d0b84e391..d1706ca27df 100644 --- a/src/mesa/state_tracker/st_glsl_to_tgsi.cpp +++ b/src/mesa/state_tracker/st_glsl_to_tgsi.cpp @@ -2788,6 +2788,9 @@ glsl_to_tgsi_visitor::visit(ir_texture *ir) case ir_lod: assert(!"Unexpected ir_lod opcode"); break; + case ir_tg4: + assert(!"Unexpected ir_tg4 opcode"); + break; } if (ir->projector) {