i965/fs: Factor out region zipping and unzipping from the SIMD lowering pass.
authorFrancisco Jerez <currojerez@riseup.net>
Fri, 27 May 2016 06:07:58 +0000 (23:07 -0700)
committerFrancisco Jerez <currojerez@riseup.net>
Mon, 30 May 2016 06:41:38 +0000 (23:41 -0700)
commit6956015aa514f2d06d0e4b33bfe6bca83142fbf0
tree10db8a965a772ee2de870dfc1dfd12a9dab069c6
parenta9f00a9e535019747d041f4121c56404057465a3
i965/fs: Factor out region zipping and unzipping from the SIMD lowering pass.

Just to make sure we keep the SIMD lowering pass tidy when we
introduce additional logic to try to optimize out the copy
instructions used to zip and unzip the destination and source regions
into multiple packed regions of the lowered instruction width.
Shouldn't cause any functional changes.

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