i965/fs: Remove extra allocation for classes[].
This was to slot in the magic aligned pairs class, but it got moved to a descriptive name later. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
This commit is contained in:
@@ -107,7 +107,7 @@ brw_alloc_reg_set(struct brw_context *brw, int reg_width, int base_reg_count)
|
||||
ralloc_free(brw->wm.regs);
|
||||
brw->wm.regs = ra_alloc_reg_set(brw, ra_reg_count);
|
||||
ralloc_free(brw->wm.classes);
|
||||
brw->wm.classes = ralloc_array(brw, int, class_count + 1);
|
||||
brw->wm.classes = ralloc_array(brw, int, class_count);
|
||||
|
||||
brw->wm.aligned_pairs_class = -1;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user