i965/hsw: Don't advertise more than 64 threads for compute shaders
authorJordan Justen <jordan.l.justen@intel.com>
Tue, 14 Jun 2016 22:04:34 +0000 (15:04 -0700)
committerJordan Justen <jordan.l.justen@intel.com>
Fri, 26 Aug 2016 17:09:22 +0000 (10:09 -0700)
commit30fee52036ac5e0180073ace4a8fd760556495be
tree250b344a10caa56308bf01e4031a86c7e8980730
parent861c9cbee3d741ea332a9ceee8ae64db49f114c2
i965/hsw: Don't advertise more than 64 threads for compute shaders

thread_width_max in the GPGPU walker command limits us to a maximum of
64 threads.

This fixes a crash on Haswell in the OpenGLES 3.1 conformance test
suite which tests the advertised limits of the max invocation counts.

Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/mesa/drivers/dri/i965/brw_context.c