summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2013-03-01 17:36:34 -0700
committerBrian Paul <[email protected]>2013-03-02 05:52:40 -0700
commit0b6e72f8d75a31ef233ad5be0c9f59497880657f (patch)
treea17cad6ef987fea16beba722df74e56bedd9803d
parent2ea0e30bed87174bc376c391e2c4a23298c36b5a (diff)
st/mesa: add switch case for ir_txf_ms to silence warning
Reviewed-by: Roland Scheidegger <[email protected]>
-rw-r--r--src/mesa/state_tracker/st_glsl_to_tgsi.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/state_tracker/st_glsl_to_tgsi.cpp b/src/mesa/state_tracker/st_glsl_to_tgsi.cpp
index 8e3e3b838e8..c41b5833ebf 100644
--- a/src/mesa/state_tracker/st_glsl_to_tgsi.cpp
+++ b/src/mesa/state_tracker/st_glsl_to_tgsi.cpp
@@ -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) {