diff options
-rw-r--r-- | src/glsl/ast_to_hir.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/glsl/ast_to_hir.cpp b/src/glsl/ast_to_hir.cpp index f5ea6613ce5..af301e535ee 100644 --- a/src/glsl/ast_to_hir.cpp +++ b/src/glsl/ast_to_hir.cpp @@ -1785,6 +1785,10 @@ 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) { |