i965/fs: half exec_size when dealing with 64 bits attributes
authorAlejandro Piñeiro <apinheiro@igalia.com>
Wed, 23 Mar 2016 11:20:05 +0000 (12:20 +0100)
committerAlejandro Piñeiro <apinheiro@igalia.com>
Tue, 17 May 2016 05:34:40 +0000 (07:34 +0200)
commit96c276dda909ddf12714b9e64b7207156e8fd4bb
treec40e541b966984561bd3728c0ec84e16a69e0d6b
parent1ff32ae8b2367950c543770ee5e6e459312cebce
i965/fs: half exec_size when dealing with 64 bits attributes

The HW has a restriction that only vertical stride may cross register
boundaries. Until now this was only handled on VGRFs at
rw_reg_from_fs_reg, but it is also needed for attributes.

v2:
 * Remove reference to commit id on commit message (Juan Suarez)
 * Simplify code that compute final exec_size (Ian Romanick)
 * Use REG_SIZE on that same code (Kenneth Graunke)

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_fs.cpp