i965/fs: Factor out calculation of the block of MRFs reserved for spilling.
authorFrancisco Jerez <currojerez@riseup.net>
Wed, 27 Apr 2016 09:16:22 +0000 (02:16 -0700)
committerFrancisco Jerez <currojerez@riseup.net>
Mon, 23 May 2016 21:05:20 +0000 (14:05 -0700)
commitf471d3eedeeffd0dfcc4b9bdd6135f731cec96e9
tree72acaee4203a2d0c889c98db37b76defa6d29379
parent21edd24c0de903a12a92e969b78d3a928b9ed50c
i965/fs: Factor out calculation of the block of MRFs reserved for spilling.

And as we're at it fix the calculation to allocate a larger block of
registers for 32-wide dispatch.

Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/mesa/drivers/dri/i965/brw_fs_reg_allocate.cpp