diff options
author | Jason Ekstrand <[email protected]> | 2014-10-03 18:09:52 -0700 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2014-10-24 16:23:24 -0700 |
commit | 1988b7165567f19f3439514625adf8ed6ccf3b62 (patch) | |
tree | e6a8dca16ddda4cb7874a7ad752fa95d468a25a4 /src/mesa | |
parent | f84adb848161bd0a23b26edc0c136489dd2d38da (diff) |
i965/fs: Add another use of MAX_VGRF_SIZE
Signed-off-by: Jason Ekstrand <[email protected]>
Reviewed-by: Matt Turner <[email protected]>
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_fs_reg_allocate.cpp | 2 |
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 65a09a0ee97..be02dfe6ef4 100644 --- a/src/mesa/drivers/dri/i965/brw_fs_reg_allocate.cpp +++ b/src/mesa/drivers/dri/i965/brw_fs_reg_allocate.cpp @@ -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++) |