i965: Don't disable exec masking for sampler message sends.
authorFrancisco Jerez <currojerez@riseup.net>
Thu, 26 Feb 2015 15:24:03 +0000 (17:24 +0200)
committerFrancisco Jerez <currojerez@riseup.net>
Fri, 20 Mar 2015 15:01:35 +0000 (17:01 +0200)
commita815cd8449c207956176020e752cd0051ed842ec
tree8478f209064fa95809a46deb862c6f88b172ae40
parenta902a5d6ba921ab006496aeecab0f68bca7ffb09
i965: Don't disable exec masking for sampler message sends.

This was telling the sampler to do texture fetches for *all* channels
in the non-constant surface index case, what could have reduced
throughput unnecessarily when some of the channels were disabled by
control flow.

Reviewed-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
Acked-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_fs_generator.cpp
src/mesa/drivers/dri/i965/brw_vec4_generator.cpp