summaryrefslogtreecommitdiffstats
path: root/src/mesa/program
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2013-03-01 17:36:24 -0700
committerBrian Paul <[email protected]>2013-03-02 05:52:28 -0700
commit2ea0e30bed87174bc376c391e2c4a23298c36b5a (patch)
tree4f055c7d7eafe5cabc6d7ef1a3f99bd41f271f0b /src/mesa/program
parentcf0c0a778273d6ada00e9bb8ee15938f3595bd7b (diff)
mesa: add switch case for ir_txf_ms to silence warning
Reviewed-by: Roland Scheidegger <[email protected]> Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src/mesa/program')
-rw-r--r--src/mesa/program/ir_to_mesa.cpp3
1 files changed, 3 insertions, 0 deletions
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;