[Mesa-dev] [PATCH 07/13] util: Avoid double promition.

Iago Toral itoral at igalia.com
Tue Jul 14 02:52:23 PDT 2015


Reviewed-by: Iago Toral Quiroga <itoral at igalia.com>

On Mon, 2015-07-13 at 16:22 -0700, Matt Turner wrote:
> ---
>  src/util/register_allocate.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/src/util/register_allocate.c b/src/util/register_allocate.c
> index 2ad8c3c..95be20f 100644
> --- a/src/util/register_allocate.c
> +++ b/src/util/register_allocate.c
> @@ -648,7 +648,7 @@ ra_get_best_spill_node(struct ra_graph *g)
>        float cost = g->nodes[n].spill_cost;
>        float benefit;
>  
> -      if (cost <= 0.0)
> +      if (cost <= 0.0f)
>  	 continue;
>  
>        if (g->nodes[n].in_stack)




More information about the mesa-dev mailing list