From bde5b626c29464426eac29a5b750ea9a49273f56 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Thu, 3 Oct 2013 09:13:39 -0600 Subject: [PATCH] st/mesa: silence warning about unhandled enum in switch statement --- 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 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) { -- 2.30.2