On Thu, Feb 05, 2015 at 11:56:33PM -0500, Ilia Mirkin wrote:
> From: Dave Airlie <airl...@gmail.com>
> 
> Signed-off-by: Dave Airlie <airl...@redhat.com>
> Reviewed-by: Matt Turner <matts...@gmail.com>

If we want to squash this somewhere, the first patch of the split
(glsl: Add double builtin type) could be a candidate - we get rid of
one warning.

> ---
>  src/glsl/ir_clone.cpp | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/src/glsl/ir_clone.cpp b/src/glsl/ir_clone.cpp
> index dffa578..5c7279c 100644
> --- a/src/glsl/ir_clone.cpp
> +++ b/src/glsl/ir_clone.cpp
> @@ -327,6 +327,7 @@ ir_constant::clone(void *mem_ctx, struct hash_table *ht) 
> const
>     case GLSL_TYPE_UINT:
>     case GLSL_TYPE_INT:
>     case GLSL_TYPE_FLOAT:
> +   case GLSL_TYPE_DOUBLE:
>     case GLSL_TYPE_BOOL:
>        return new(mem_ctx) ir_constant(this->type, &this->value);
>  
> -- 
> 2.0.5
> 
> _______________________________________________
> mesa-dev mailing list
> mesa-dev@lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to