st/mesa: add ir_lod case in GLSL->TGSI code to silence warning
authorBrian Paul <brianp@vmware.com>
Fri, 29 Mar 2013 23:21:33 +0000 (17:21 -0600)
committerBrian Paul <brianp@vmware.com>
Fri, 29 Mar 2013 23:21:33 +0000 (17:21 -0600)
src/mesa/state_tracker/st_glsl_to_tgsi.cpp

index e728f79..338c652 100644 (file)
@@ -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) {