st/mesa: add switch case for ir_txf_ms to silence warning
authorBrian Paul <brianp@vmware.com>
Sat, 2 Mar 2013 00:36:34 +0000 (17:36 -0700)
committerBrian Paul <brianp@vmware.com>
Sat, 2 Mar 2013 12:52:40 +0000 (05:52 -0700)
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
src/mesa/state_tracker/st_glsl_to_tgsi.cpp

index 8e3e3b838e89f83998678ed74d9fb191f47ac399..c41b5833ebf3a71c3b82b822ddafad78a316c3da 100644 (file)
@@ -2746,6 +2746,9 @@ glsl_to_tgsi_visitor::visit(ir_texture *ir)
         offset = this->result;
       }
       break;
+   case ir_txf_ms:
+      assert(!"Unexpected ir_txf_ms opcode");
+      break;
    }
 
    if (ir->projector) {