summaryrefslogtreecommitdiffstats
path: root/src/mesa/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/mesa/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/mesa/drivers')
-rw-r--r--src/mesa/drivers/dri/i965/brw_fs_reg_allocate.cpp2
-rw-r--r--src/mesa/drivers/dri/i965/brw_vec4_reg_allocate.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_fs_reg_allocate.cpp b/src/mesa/drivers/dri/i965/brw_fs_reg_allocate.cpp
index e7f11aee0df..b0d412439d2 100644
--- a/src/mesa/drivers/dri/i965/brw_fs_reg_allocate.cpp
+++ b/src/mesa/drivers/dri/i965/brw_fs_reg_allocate.cpp
@@ -142,7 +142,7 @@ brw_alloc_reg_set_for_classes(struct brw_context *brw,
class_count++;
}
- ra_set_finalize(brw->wm.regs);
+ ra_set_finalize(brw->wm.regs, NULL);
}
bool
diff --git a/src/mesa/drivers/dri/i965/brw_vec4_reg_allocate.cpp b/src/mesa/drivers/dri/i965/brw_vec4_reg_allocate.cpp
index 2d9d0c82e98..2cda6784d0e 100644
--- a/src/mesa/drivers/dri/i965/brw_vec4_reg_allocate.cpp
+++ b/src/mesa/drivers/dri/i965/brw_vec4_reg_allocate.cpp
@@ -136,7 +136,7 @@ brw_alloc_reg_set_for_classes(struct brw_context *brw,
}
assert(reg == ra_reg_count);
- ra_set_finalize(brw->vs.regs);
+ ra_set_finalize(brw->vs.regs, NULL);
}
void