i965: Pretend there are 4 subslices for compute shader threads on Gen9+.
authorKenneth Graunke <kenneth@whitecape.org>
Wed, 8 Nov 2017 18:56:00 +0000 (10:56 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Thu, 9 Nov 2017 20:34:11 +0000 (12:34 -0800)
commit8ecdbb613609e58094af435a45c357aebce5ff66
treed1d19a6f04bb195e43ff0f1d0329423d9308d8d4
parent3e9533d9b88d75d99632fa40e38cfed842d10842
i965: Pretend there are 4 subslices for compute shader threads on Gen9+.

Similar to what we did for pixel shader threads - see gen_device_info.c.

We don't want to bump the actual Maximum Number of Threads though, so
we adjust it here.  For pixel shaders, we don't use max_wm_threads, so
we could just bump it globally.

Supposedly fixes Piglit tests:
arb_gpu_shader_int64/execution/built-in-functions/cs-op-div-i64vec3-int64_t
arb_gpu_shader_int64/execution/built-in-functions/cs-op-div-i64vec4-int64_t
arb_gpu_shader_int64/execution/built-in-functions/cs-op-div-u64vec4-uint64_t

Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
src/mesa/drivers/dri/i965/brw_program.c