mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 13:28:06 +02:00
register_allocate: Fix the type of best_benefit.
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
(cherry picked from commit 2e177bc8a5)
This commit is contained in:
parent
26f802d063
commit
ff4f5c340f
1 changed files with 1 additions and 1 deletions
|
|
@ -545,7 +545,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++) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue