summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/i965/brw_fs_reg_allocate.cpp
diff options
context:
space:
mode:
authorTom Stellard <thomas.stellard@amd.com>2012-09-03 10:43:45 -0400
committerTom Stellard <thomas.stellard@amd.com>2012-09-19 19:25:53 -0400
commite0f64a837f58d50b4eb7d3d38ad6f188e767c045 (patch)
tree8dfd6dce7b65d973e56a1874c2c539855c1ea09e /src/mesa/drivers/dri/i965/brw_fs_reg_allocate.cpp
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 <kenneth@whitecape.org>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_fs_reg_allocate.cpp')
-rw-r--r--src/mesa/drivers/dri/i965/brw_fs_reg_allocate.cpp2
1 files changed, 1 insertions, 1 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