From 2ea0e30bed87174bc376c391e2c4a23298c36b5a Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Fri, 1 Mar 2013 17:36:24 -0700 Subject: mesa: add switch case for ir_txf_ms to silence warning Reviewed-by: Roland Scheidegger Reviewed-by: Ian Romanick --- src/mesa/program/ir_to_mesa.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/mesa') diff --git a/src/mesa/program/ir_to_mesa.cpp b/src/mesa/program/ir_to_mesa.cpp index 54323232570..486cf4639ce 100644 --- a/src/mesa/program/ir_to_mesa.cpp +++ b/src/mesa/program/ir_to_mesa.cpp @@ -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; -- cgit v1.2.3