From e0f64a837f58d50b4eb7d3d38ad6f188e767c045 Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Mon, 3 Sep 2012 10:43:45 -0400 Subject: 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 --- src/mesa/drivers/dri/i965/brw_fs_reg_allocate.cpp | 2 +- src/mesa/drivers/dri/i965/brw_vec4_reg_allocate.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/mesa/drivers') 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 -- cgit v1.2.3