mesa: add switch case for ir_txf_ms to silence warning
authorBrian Paul <brianp@vmware.com>
Sat, 2 Mar 2013 00:36:24 +0000 (17:36 -0700)
committerBrian Paul <brianp@vmware.com>
Sat, 2 Mar 2013 12:52:28 +0000 (05:52 -0700)
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/mesa/program/ir_to_mesa.cpp

index 543232325702f09cc3652cd46fe77c4587f0d663..486cf4639cef4fa901dfe7ca9a0b492ce696a199 100644 (file)
@@ -2045,6 +2045,9 @@ ir_to_mesa_visitor::visit(ir_texture *ir)
       ir->lod_info.grad.dPdy->accept(this);
       dy = this->result;
       break;
+   case ir_txf_ms:
+      assert(!"Unexpected ir_txf_ms opcode");
+      break;
    }
 
    const glsl_type *sampler_type = ir->sampler->type;