Mesa (master): i965/fs: Add another use of MAX_VGRF_SIZE
Jason Ekstrand
jekstrand at kemper.freedesktop.org
Fri Oct 24 23:25:37 UTC 2014
Module: Mesa
Branch: master
Commit: 1988b7165567f19f3439514625adf8ed6ccf3b62
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=1988b7165567f19f3439514625adf8ed6ccf3b62
Author: Jason Ekstrand <jason.ekstrand at intel.com>
Date: Fri Oct 3 18:09:52 2014 -0700
i965/fs: Add another use of MAX_VGRF_SIZE
Signed-off-by: Jason Ekstrand <jason.ekstrand at intel.com>
Reviewed-by: Matt Turner <mattst88 at gmail.com>
---
src/mesa/drivers/dri/i965/brw_fs_reg_allocate.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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 65a09a0..be02dfe 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++)
More information about the mesa-commit
mailing list