diff options
author | Iago Toral Quiroga <[email protected]> | 2015-09-22 12:53:08 +0200 |
---|---|---|
committer | Iago Toral Quiroga <[email protected]> | 2015-10-08 11:28:16 +0200 |
commit | 0c2add775192f3ee0325d61964ef67f7ca3f6d4e (patch) | |
tree | 5c4d5578f0c58f035c8bd68b926e23c8694ffaa8 /src/mesa/drivers/dri | |
parent | aee28a0aa3bb77b728972d4efcdf93c1cc09c73b (diff) |
i965: Fix remove_duplicate_mrf_writes so it can handle 24 MRFs in gen6
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_fs.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_fs.cpp b/src/mesa/drivers/dri/i965/brw_fs.cpp index 1187c6765cd..2a90ed4b165 100644 --- a/src/mesa/drivers/dri/i965/brw_fs.cpp +++ b/src/mesa/drivers/dri/i965/brw_fs.cpp @@ -2678,7 +2678,7 @@ fs_visitor::emit_repclear_shader() bool fs_visitor::remove_duplicate_mrf_writes() { - fs_inst *last_mrf_move[16]; + fs_inst *last_mrf_move[BRW_MAX_MRF(devinfo->gen)]; bool progress = false; /* Need to update the MRF tracking for compressed instructions. */ |