On Tue, Apr 02, 2013 at 01:38:07PM -0700, Matt Turner wrote:
> ---
Nice catch, will this change have any affect on the compiled code?
-Tom
> src/mesa/program/register_allocate.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/src/mesa/program/register_allocate.c
> b/src/mesa/program/register_allocate.c
> index a9064c3..7d11b73 100644
> --- a/src/mesa/program/register_allocate.c
> +++ b/src/mesa/program/register_allocate.c
> @@ -561,7 +561,7 @@ int
> ra_get_best_spill_node(struct ra_graph *g)
> {
> unsigned int best_node = -1;
> - unsigned int best_benefit = 0.0;
> + float best_benefit = 0.0;
> unsigned int n;
>
> for (n = 0; n < g->count; n++) {
> --
> 1.7.8.6
>
> _______________________________________________
> mesa-dev mailing list
> [email protected]
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev
_______________________________________________
mesa-dev mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-dev