mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 11:18:08 +02:00
i965/fs: Add another use of MAX_VGRF_SIZE
Signed-off-by: Jason Ekstrand <jason.ekstrand@intel.com> Reviewed-by: Matt Turner <mattst88@gmail.com>
This commit is contained in:
parent
f84adb8481
commit
1988b71655
1 changed files with 1 additions and 1 deletions
|
|
@ -102,7 +102,7 @@ brw_alloc_reg_set(struct intel_screen *screen, int reg_width)
|
|||
* regs).
|
||||
*/
|
||||
int class_count;
|
||||
int class_sizes[BRW_MAX_MRF];
|
||||
int class_sizes[MAX_VGRF_SIZE];
|
||||
|
||||
if (devinfo->gen >= 7) {
|
||||
for (class_count = 0; class_count < MAX_VGRF_SIZE; class_count++)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue