summaryrefslogtreecommitdiffstats
path: root/glsl_parser_extras.cpp
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2010-04-29 17:57:28 -0700
committerEric Anholt <[email protected]>2010-05-03 11:40:26 -0700
commit81f49a774eec3990b0a6ffeca75119e6a3ef827d (patch)
tree20f2faf682c9b29f564b882f8aad334956e2b223 /glsl_parser_extras.cpp
parent7f436a837c2f265cfd790ff20ac51377d7207c40 (diff)
Quiet warnings about ir_shader not being handled in places it's not needed.
Diffstat (limited to 'glsl_parser_extras.cpp')
-rw-r--r--glsl_parser_extras.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/glsl_parser_extras.cpp b/glsl_parser_extras.cpp
index 4255d2d66e7..4183d138566 100644
--- a/glsl_parser_extras.cpp
+++ b/glsl_parser_extras.cpp
@@ -48,6 +48,7 @@ _mesa_glsl_shader_target_name(enum _mesa_glsl_parser_targets target)
case vertex_shader: return "vertex";
case fragment_shader: return "fragment";
case geometry_shader: return "geometry";
+ case ir_shader: break;
}
assert(!"Should not get here.");