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 e728f797a1572d4473a594f24d44247cdc99ed8e..338c652cb6a95b09c331c62b6431bd6b866d8adc 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) {