st/mesa: silence warning about unhandled enum in switch statement
authorBrian Paul <brianp@vmware.com>
Thu, 3 Oct 2013 15:13:39 +0000 (09:13 -0600)
committerBrian Paul <brianp@vmware.com>
Thu, 3 Oct 2013 15:14:03 +0000 (09:14 -0600)
src/mesa/state_tracker/st_glsl_to_tgsi.cpp

index a5d0b84e391f469304aeba99ef48f714bd25a979..d1706ca27dfc81f3866f65004a7edc8dfd6ddba6 100644 (file)
@@ -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) {