projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a5a7678
)
register_allocate: Fix the type of best_benefit.
author
Matt Turner
<mattst88@gmail.com>
Tue, 2 Apr 2013 20:38:07 +0000
(13:38 -0700)
committer
Matt Turner
<mattst88@gmail.com>
Mon, 8 Apr 2013 17:30:40 +0000
(10:30 -0700)
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/program/register_allocate.c
patch
|
blob
|
history
diff --git
a/src/mesa/program/register_allocate.c
b/src/mesa/program/register_allocate.c
index 2c826fc6604b9f52ef62f7a37f25d9c37ee20afa..e276b8ac84bfd9dc1a1ed0b2474936f7e6661393 100644
(file)
--- a/
src/mesa/program/register_allocate.c
+++ b/
src/mesa/program/register_allocate.c
@@
-586,7
+586,7
@@
int
ra_get_best_spill_node(struct ra_graph *g)
{
unsigned int best_node = -1;
-
unsigned in
t best_benefit = 0.0;
+
floa
t best_benefit = 0.0;
unsigned int n;
for (n = 0; n < g->count; n++) {