aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/program/register_allocate.h
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/mesa/program/register_allocate.h
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/mesa/program/register_allocate.h')
-rw-r--r--src/mesa/program/register_allocate.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mesa/program/register_allocate.h b/src/mesa/program/register_allocate.h
index 00b851ec21b..2a9d6119103 100644
--- a/src/mesa/program/register_allocate.h
+++ b/src/mesa/program/register_allocate.h
@@ -43,7 +43,9 @@ void ra_add_reg_conflict(struct ra_regs *regs,
void ra_add_transitive_reg_conflict(struct ra_regs *regs,
unsigned int base_reg, unsigned int reg);
void ra_class_add_reg(struct ra_regs *regs, unsigned int c, unsigned int reg);
-void ra_set_finalize(struct ra_regs *regs);
+void ra_set_num_conflicts(struct ra_regs *regs, unsigned int class_a,
+ unsigned int class_b, unsigned int num_conflicts);
+void ra_set_finalize(struct ra_regs *regs, unsigned int **conflicts);
/** @} */
/** @{ Interference graph setup.