summaryrefslogtreecommitdiff
path: root/src/glsl/ast_to_hir.cpp
diff options
context:
space:
mode:
authorKenneth Graunke <kenneth@whitecape.org>2010-10-20 14:59:40 -0700
committerKenneth Graunke <kenneth@whitecape.org>2010-10-20 15:07:47 -0700
commita75da2c0e85eb6b8279ec895c3f74cc4aefc0257 (patch)
treefecfb3d71bc2b31d24712c527b78c3453a6db326 /src/glsl/ast_to_hir.cpp
parent460da0db4add19b79050b816e3bef086293ab630 (diff)
glsl: Remove useless ir_shader enumeration value.
Diffstat (limited to 'src/glsl/ast_to_hir.cpp')
-rw-r--r--src/glsl/ast_to_hir.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/glsl/ast_to_hir.cpp b/src/glsl/ast_to_hir.cpp
index af301e535e..15e1afc4dd 100644
--- a/src/glsl/ast_to_hir.cpp
+++ b/src/glsl/ast_to_hir.cpp
@@ -1785,11 +1785,7 @@ apply_type_qualifier_to_variable(const struct ast_type_qualifier *qual,
string = "output";
}
break;
-
- case ir_shader:
- assert(!"Should not get here.");
- break;
- }
+ };
if (fail) {
_mesa_glsl_error(loc, state,