diff options
author | Brian Paul <brianp@vmware.com> | 2011-02-22 08:17:21 -0700 |
---|---|---|
committer | Brian Paul <brianp@vmware.com> | 2011-02-22 08:17:21 -0700 |
commit | ffd90332270f746fdec491fafdcb37fbaf1d0af1 (patch) | |
tree | 9054acc91dbe0641169f4afd493feafb977e3348 | |
parent | 439c298595a617d9b10047f950334d05b64fa8e5 (diff) |
glsl: add ir_shader case in switch stmt to silence warning
-rw-r--r-- | src/glsl/ast_to_hir.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/glsl/ast_to_hir.cpp b/src/glsl/ast_to_hir.cpp index 4f2bce644b6..14e6b1892dd 100644 --- a/src/glsl/ast_to_hir.cpp +++ b/src/glsl/ast_to_hir.cpp @@ -1714,6 +1714,8 @@ apply_type_qualifier_to_variable(const struct ast_type_qualifier *qual, if (var->mode == ir_var_in) var->invariant = true; break; + case ir_shader: + ; /* no op */ } } |