i965: Move GS_THREAD_END mlen calculations out of the generator.
authorKenneth Graunke <kenneth@whitecape.org>
Fri, 25 Sep 2015 03:58:05 +0000 (20:58 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Sat, 26 Sep 2015 19:01:57 +0000 (12:01 -0700)
commitbcef2abad7cf255b6ac112b9ebf0ff75e491c968
treebeb0cfeacc41631b9de2572dab0b28a21b98898c
parent02530c5dc5dc88078f41fb134c7e0e3833c9f772
i965: Move GS_THREAD_END mlen calculations out of the generator.

The visitor was setting a mlen that was wrong for Broadwell, but the
generator was ignoring it and doing the right thing regardless.  We may
as well move the logic fully into the visitor.  This will be useful in
the next commit as well.

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