mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 05:18:08 +02:00
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:
parent
5d90b98879
commit
6c69df1e0f
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue