intel/fs: Pass builders instead of blocks into emit_[un]zip
authorJason Ekstrand <jason.ekstrand@intel.com>
Thu, 7 Sep 2017 01:24:17 +0000 (18:24 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Tue, 7 Nov 2017 18:37:52 +0000 (10:37 -0800)
commitfcd4adb9d08094520fb8d118d3448b04c6ec1fd1
tree3a542ba3f2b44c4740931b11ad6b87e3a148e3d1
parente8c9e65185de3e821e1e482e77906d1d51efa3ec
intel/fs: Pass builders instead of blocks into emit_[un]zip

This makes it far more explicit where we're inserting the instructions
rather than the magic "before and after" stuff that the emit_[un]zip
helpers did based on block and inst.

Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
Cc: mesa-stable@lists.freedesktop.org
src/intel/compiler/brw_fs.cpp