From: Brian Paul Date: Mon, 7 Oct 2013 15:08:10 +0000 (-0600) Subject: st/mesa: silence warning about unhandled ir_query_levels in switch X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e58dd465f07b36fb68758a22fbd77c4bee3a2a7d;p=mesa.git st/mesa: silence warning about unhandled ir_query_levels in switch --- diff --git a/src/mesa/state_tracker/st_glsl_to_tgsi.cpp b/src/mesa/state_tracker/st_glsl_to_tgsi.cpp index d1706ca27df..f11305b590a 100644 --- a/src/mesa/state_tracker/st_glsl_to_tgsi.cpp +++ b/src/mesa/state_tracker/st_glsl_to_tgsi.cpp @@ -2791,6 +2791,9 @@ glsl_to_tgsi_visitor::visit(ir_texture *ir) case ir_tg4: assert(!"Unexpected ir_tg4 opcode"); break; + case ir_query_levels: + assert(!"Unexpected ir_query_levels opcode"); + break; } if (ir->projector) {