From: Brian Paul Date: Fri, 29 Mar 2013 23:21:33 +0000 (-0600) Subject: st/mesa: add ir_lod case in GLSL->TGSI code to silence warning X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c34bbe110d1e562b1594a9a4f2e83a2ab5630036;p=mesa.git st/mesa: add ir_lod case in GLSL->TGSI code to silence warning --- 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) {