i965: Add a brw->scalar_gs flag controlled by INTEL_SCALAR_GS=1.
authorKenneth Graunke <kenneth@whitecape.org>
Fri, 26 Jun 2015 23:20:21 +0000 (16:20 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Wed, 21 Oct 2015 21:27:53 +0000 (14:27 -0700)
commit55dfd39b5f18f820694cad74ce40a3e0d3d6a0c4
treee7956dc10917d882aa0e91a43579551fea93e679
parentac0a33666bdab6e4d9abca6ae6ee19cb03919dcc
i965: Add a brw->scalar_gs flag controlled by INTEL_SCALAR_GS=1.

This patch introduces a brw->scalar_gs flag, similar to brw->scalar_vs,
which controls whether or not to use SIMD8 geometry shaders.

For now, we control it via a new environment variable, INTEL_SCALAR_GS.
This provides a convenient way to try it out.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Kristian Høgsberg <krh@bitplanet.net>
src/mesa/drivers/dri/i965/brw_compiler.h
src/mesa/drivers/dri/i965/brw_gs.c
src/mesa/drivers/dri/i965/brw_shader.cpp