diff options
author | Kenneth Graunke <[email protected]> | 2010-10-20 14:59:40 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2010-10-20 15:07:47 -0700 |
commit | a75da2c0e85eb6b8279ec895c3f74cc4aefc0257 (patch) | |
tree | fecfb3d71bc2b31d24712c527b78c3453a6db326 /src/glsl/ast_to_hir.cpp | |
parent | 460da0db4add19b79050b816e3bef086293ab630 (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.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/glsl/ast_to_hir.cpp b/src/glsl/ast_to_hir.cpp index af301e535ee..15e1afc4dd2 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, |