On Thu, 2015-10-15 at 07:27 -0600, Brian Paul wrote:

Reviewed-by: Timothy Arceri <t_arc...@yahoo.com.au>

> ---
>  src/glsl/ast_to_hir.cpp | 3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/src/glsl/ast_to_hir.cpp b/src/glsl/ast_to_hir.cpp
> index cd40fe3..ede02d9 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;
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to