i965/fs: Use exec_size instead of dispatch_width to determine the message variant.
authorFrancisco Jerez <currojerez@riseup.net>
Mon, 13 Jul 2015 12:42:20 +0000 (15:42 +0300)
committerFrancisco Jerez <currojerez@riseup.net>
Wed, 29 Jul 2015 11:12:47 +0000 (14:12 +0300)
commit8fbb3d3569e6d353dee6e558eb9fd961b5a8a12c
tree5fbbf6ad88472113f79ebf1ec14d90af8fa89d3f
parent33deff4f0582d2c073d34d4d6ec8344d2b1fbf7d
i965/fs: Use exec_size instead of dispatch_width to determine the message variant.

dispatch_width is global for a single compilation and doesn't
necessarily match the desired execution width if we had to lower the
original full-width instruction due to hardware limitations.  These
were all inside a Gen4-specific branch so this patch shouldn't have
any effect on more recent hardware.

Reviewed-by: Jason Ekstrand <jason.ekstrand@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_fs_generator.cpp