summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers
diff options
context:
space:
mode:
authorTom Stellard <[email protected]>2012-09-03 10:43:45 -0400
committerTom Stellard <[email protected]>2012-09-19 19:25:53 -0400
commite0f64a837f58d50b4eb7d3d38ad6f188e767c045 (patch)
tree8dfd6dce7b65d973e56a1874c2c539855c1ea09e /src/gallium/drivers
parentcfeb99c7daa127f397ae970eba47a181dd02f5d8 (diff)
ra: Add q_values parameter to ra_set_finalize()
This allows the user to pass precomputed q values to the allocator. Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r--src/gallium/drivers/r300/compiler/radeon_pair_regalloc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/r300/compiler/radeon_pair_regalloc.c b/src/gallium/drivers/r300/compiler/radeon_pair_regalloc.c
index bb5b43f2f95..85bb248b127 100644
--- a/src/gallium/drivers/r300/compiler/radeon_pair_regalloc.c
+++ b/src/gallium/drivers/r300/compiler/radeon_pair_regalloc.c
@@ -629,7 +629,7 @@ static void do_advanced_regalloc(struct regalloc_state * s)
get_reg_id(s->Input[i].Index, writemask));
}
- ra_set_finalize(regs);
+ ra_set_finalize(regs, NULL);
graph = ra_alloc_interference_graph(regs, node_count + s->NumInputs);