i965/cs: Set invocation counts based on max_cs_threads
authorJordan Justen <jordan.l.justen@intel.com>
Wed, 29 Apr 2015 17:54:17 +0000 (10:54 -0700)
committerJordan Justen <jordan.l.justen@intel.com>
Sat, 2 May 2015 07:49:59 +0000 (00:49 -0700)
commitcb18f3f0213c010e657fd0b41e681e960a20b790
tree4acfd9df56411501965c1afdb6ea3190ec36d90c
parent73cb2d3a73425c5efa4f98b71393e7dad4f387c7
i965/cs: Set invocation counts based on max_cs_threads

For ES, we set the max counts based on SIMD8, which is currently
accurate.

For desktop GL, we set the max counts based on SIMD16, which can fail
in some cases where a SIMD16 program is not currently supported.
Therefore, this value is not currently accurate, but will work fine in
many cases, and lets us run more test cases. Eventually we want to
always be able to generate a SIMD16 program.

Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_context.c