st/mesa: silence warning about unhandled ir_query_levels in switch
authorBrian Paul <brianp@vmware.com>
Mon, 7 Oct 2013 15:08:10 +0000 (09:08 -0600)
committerBrian Paul <brianp@vmware.com>
Mon, 7 Oct 2013 15:08:16 +0000 (09:08 -0600)
src/mesa/state_tracker/st_glsl_to_tgsi.cpp

index d1706ca27dfc81f3866f65004a7edc8dfd6ddba6..f11305b590a46991e5dc81bf8e6bebd5140d5b27 100644 (file)
@@ -2791,6 +2791,9 @@ glsl_to_tgsi_visitor::visit(ir_texture *ir)
    case ir_tg4:
       assert(!"Unexpected ir_tg4 opcode");
       break;
+   case ir_query_levels:
+      assert(!"Unexpected ir_query_levels opcode");
+      break;
    }
 
    if (ir->projector) {