i965/fs: Misc simplification.
authorFrancisco Jerez <currojerez@riseup.net>
Fri, 2 Sep 2016 04:19:29 +0000 (21:19 -0700)
committerFrancisco Jerez <currojerez@riseup.net>
Wed, 14 Sep 2016 21:50:57 +0000 (14:50 -0700)
commit950af5ed40895ba7eb664a64e869cf4ae1104fc7
treea83ef8c5b1eb954107b938050559be69216d4488
parent80e1d670b4b4c080ce2092a3b52d2415bc4c6a42
i965/fs: Misc simplification.

Get rid of some leftover redundant arithmetic introduced during the
conversion to byte offsets and sizes that can be simplified easily.

Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
src/mesa/drivers/dri/i965/brw_fs_combine_constants.cpp
src/mesa/drivers/dri/i965/brw_fs_nir.cpp
src/mesa/drivers/dri/i965/brw_fs_visitor.cpp
src/mesa/drivers/dri/i965/brw_schedule_instructions.cpp