projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bfb6b76
)
ra: move declarations before code to fix MSVC build
author
Brian Paul
<brianp@vmware.com>
Thu, 14 Aug 2014 14:44:06 +0000
(08:44 -0600)
committer
Brian Paul
<brianp@vmware.com>
Thu, 14 Aug 2014 14:53:45 +0000
(08:53 -0600)
Trivial.
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 d81a47f24a7c0e870df69fd964a7be3d2e18aa05..db2be5dfad4ec38a5d6a79678c9dff0462b68dd0 100644
(file)
--- a/
src/mesa/program/register_allocate.c
+++ b/
src/mesa/program/register_allocate.c
@@
-456,11
+456,11
@@
ra_simplify(struct ra_graph *g)
int i;
while (progress) {
- progress = false;
-
unsigned int best_optimistic_node = ~0;
unsigned int lowest_q_total = ~0;
+ progress = false;
+
for (i = g->count - 1; i >= 0; i--) {
if (g->nodes[i].in_stack || g->nodes[i].reg != NO_REG)
continue;