summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2013-10-03 09:13:39 -0600
committerBrian Paul <[email protected]>2013-10-03 09:14:03 -0600
commitbde5b626c29464426eac29a5b750ea9a49273f56 (patch)
tree393bf69b8252d0a3a7b5a6ff26e465a836ef9b34 /src/mesa
parentd1335926196c216f1abe73f37cfcb61cf7f2bd28 (diff)
st/mesa: silence warning about unhandled enum in switch statement
Diffstat (limited to 'src/mesa')
-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 a5d0b84e391..d1706ca27df 100644
--- a/src/mesa/state_tracker/st_glsl_to_tgsi.cpp
+++ b/src/mesa/state_tracker/st_glsl_to_tgsi.cpp
@@ -2788,6 +2788,9 @@ glsl_to_tgsi_visitor::visit(ir_texture *ir)
case ir_lod:
assert(!"Unexpected ir_lod opcode");
break;
+ case ir_tg4:
+ assert(!"Unexpected ir_tg4 opcode");
+ break;
}
if (ir->projector) {