i965/fs: Set the header_size on LOAD_PAYLOAD in opt_sampler_eot
authorNeil Roberts <neil@linux.intel.com>
Thu, 7 May 2015 17:55:55 +0000 (18:55 +0100)
committerNeil Roberts <neil@linux.intel.com>
Fri, 8 May 2015 11:40:14 +0000 (12:40 +0100)
commit1c5de556c5972c3020b4095c586a9b439b20cf69
tree15e210c8c85357475fadcb70dfcad0ad986c4eb1
parente4b297360780740599afdc93f61bd8be425f0d75
i965/fs: Set the header_size on LOAD_PAYLOAD in opt_sampler_eot

Commit 94ee908448 added a header size parameter to the function to
create the LOAD_PAYLOAD instruction. However this broke
opt_sampler_eot which manually constructs the instruction and so
wasn't setting the header_size. This ends up making the parameters for
the send message all have the wrong location and it all falls apart.

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