From 0b6e72f8d75a31ef233ad5be0c9f59497880657f Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Fri, 1 Mar 2013 17:36:34 -0700 Subject: [PATCH] st/mesa: add switch case for ir_txf_ms to silence warning Reviewed-by: Roland Scheidegger --- src/mesa/state_tracker/st_glsl_to_tgsi.cpp | 3 +++ 1 file changed, 3 insertions(+) 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) { -- 2.30.2