From e58dd465f07b36fb68758a22fbd77c4bee3a2a7d Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Mon, 7 Oct 2013 09:08:10 -0600 Subject: [PATCH] st/mesa: silence warning about unhandled ir_query_levels in switch --- src/mesa/state_tracker/st_glsl_to_tgsi.cpp | 3 +++ 1 file changed, 3 insertions(+) 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) { -- 2.30.2