i965/fs: Set up the builder execution size explicitly in opt_sampler_eot().
authorFrancisco Jerez <currojerez@riseup.net>
Mon, 27 Jul 2015 15:15:44 +0000 (18:15 +0300)
committerFrancisco Jerez <currojerez@riseup.net>
Wed, 29 Jul 2015 11:15:03 +0000 (14:15 +0300)
commitbfad71606a987f14f20d2c3607846648f8537f2b
tree2df340b26bd55fc0728f1a7dbf83ba58861fd0b7
parent09039f4bc120481219d01ed17e1552ca8ad66455
i965/fs: Set up the builder execution size explicitly in opt_sampler_eot().

opt_sampler_eot() was relying on the default builder to have the same
width as the sampler and FB write opcodes it was eliminating, the
channel selects didn't matter because the builder was only being used
to allocate registers, no new instructions were being emitted with it.
A future commit will change the width of the default builder what will
break this assumption, so initialize it explicitly here.

Reviewed-by: Jason Ekstrand <jason.ekstrand@intel.com>
src/mesa/drivers/dri/i965/brw_fs.cpp