diff options
author | Francisco Jerez <currojerez@riseup.net> | 2016-05-16 15:47:39 -0700 |
---|---|---|
committer | Francisco Jerez <currojerez@riseup.net> | 2016-05-27 23:28:59 -0700 |
commit | a7d319c00be425be219a101b5b4d48f1cbe4ec01 (patch) | |
tree | 7f311382073f9e9ef9f3ef8d51d05130d312e5d6 /src/mesa/drivers/dri/i965/brw_fs_reg_allocate.cpp | |
parent | fe5cdde2f9f84022b512de1fa42a036a371d31ba (diff) | |
download | external_mesa3d-a7d319c00be425be219a101b5b4d48f1cbe4ec01.zip external_mesa3d-a7d319c00be425be219a101b5b4d48f1cbe4ec01.tar.gz external_mesa3d-a7d319c00be425be219a101b5b4d48f1cbe4ec01.tar.bz2 |
i965/fs: Implement scratch reads and writes of 4 GRFs at a time.
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_fs_reg_allocate.cpp')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_fs_reg_allocate.cpp | 4 |
1 files changed, 1 insertions, 3 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 e770a7f..7fdedc0 100644 --- a/src/mesa/drivers/dri/i965/brw_fs_reg_allocate.cpp +++ b/src/mesa/drivers/dri/i965/brw_fs_reg_allocate.cpp @@ -928,11 +928,9 @@ fs_visitor::spill_reg(int spill_reg) /* We read the largest power-of-two divisor of the register count * (because only POT scratch read blocks are allowed by the * hardware) up to the maximum supported block size. - * XXX - Bump the limit when the generator code is ready for - * 32-wide spills. */ const unsigned width = - MIN2(16, 1u << (ffs(MAX2(1, regs_read) * 8) - 1)); + MIN2(32, 1u << (ffs(MAX2(1, regs_read) * 8) - 1)); /* Set exec_all() on unspill messages under the (rather * pessimistic) assumption that there is no one-to-one |