summaryrefslogtreecommitdiffstats
path: root/src/glsl
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2015-10-15 07:26:49 -0600
committerBrian Paul <[email protected]>2015-10-16 11:34:05 -0600
commitcb473c46feb17d652f69836bf0d8843803fe77cd (patch)
tree5d1f4f3688c6bd9a6aef1819b960de2dc8b7f205 /src/glsl
parentafff809fea373f849b648983bff8390c090b7145 (diff)
glsl: silence warning about unhandled ast_unsized_array_dim case in switch
Reviewed-by: Timothy Arceri <[email protected]>
Diffstat (limited to 'src/glsl')
-rw-r--r--src/glsl/ast_to_hir.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/glsl/ast_to_hir.cpp b/src/glsl/ast_to_hir.cpp
index cd40fe343e3..ede02d94cb2 100644
--- a/src/glsl/ast_to_hir.cpp
+++ b/src/glsl/ast_to_hir.cpp
@@ -2017,6 +2017,9 @@ ast_expression::has_sequence_subexpression() const
case ast_function_call:
unreachable("should be handled by ast_function_expression::hir");
+
+ case ast_unsized_array_dim:
+ unreachable("ast_unsized_array_dim: Should never get here.");
}
return false;