From c34bbe110d1e562b1594a9a4f2e83a2ab5630036 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Fri, 29 Mar 2013 17:21:33 -0600 Subject: [PATCH] st/mesa: add ir_lod case in GLSL->TGSI code to silence warning --- 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 e728f797a15..338c652cb6a 100644 --- a/src/mesa/state_tracker/st_glsl_to_tgsi.cpp +++ b/src/mesa/state_tracker/st_glsl_to_tgsi.cpp @@ -2774,6 +2774,9 @@ glsl_to_tgsi_visitor::visit(ir_texture *ir) case ir_txf_ms: assert(!"Unexpected ir_txf_ms opcode"); break; + case ir_lod: + assert(!"Unexpected ir_lod opcode"); + break; } if (ir->projector) { -- 2.30.2