i965/compute: Skip SIMD8 generation if it can't be used
authorJordan Justen <jordan.l.justen@intel.com>
Mon, 22 Feb 2016 18:42:07 +0000 (10:42 -0800)
committerJordan Justen <jordan.l.justen@intel.com>
Tue, 8 Mar 2016 22:27:18 +0000 (14:27 -0800)
commitd8347f12ead89c5a58f69ce9283a54ac8487159c
tree0cf30528b08de7bc4aa8738d850c3e909e9b372f
parente1d54b1ba5a9d579020fab058bb065866bc35554
i965/compute: Skip SIMD8 generation if it can't be used

If the local workgroup size is sufficiently large, then the SIMD8
program can't be used. In this case we can skip generating the SIMD8
program. For complex programs this can save a significant amount of
time.

Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Matt Turner <mattst88@gmail.com>
src/mesa/drivers/dri/i965/brw_fs.cpp