From: Eric Anholt Date: Tue, 20 Mar 2012 22:29:11 +0000 (-0700) Subject: i965: Drop the INTEL_FORCE_GS environment variable. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=447aff5b027dfab3f52d31c0b61030007d139693;p=mesa.git i965: Drop the INTEL_FORCE_GS environment variable. This was a debug option during gen6 transform feedback bringup (and a similar one existed during gen4 bringup). However, it looks like we're done with that, and we don't anticipate it being used again, either for geometry shaders or transform feedback. Suggested by: Kenneth Graunke --- diff --git a/src/mesa/drivers/dri/i965/brw_gs.c b/src/mesa/drivers/dri/i965/brw_gs.c index bfca169f7cb..52742d0cb72 100644 --- a/src/mesa/drivers/dri/i965/brw_gs.c +++ b/src/mesa/drivers/dri/i965/brw_gs.c @@ -231,11 +231,6 @@ static void populate_key( struct brw_context *brw, brw->primitive == _3DPRIM_QUADSTRIP || brw->primitive == _3DPRIM_LINELOOP); } - /* For testing, the environment variable INTEL_FORCE_GS can be used to - * force a GS program to be used, even if it's not necessary. - */ - if (getenv("INTEL_FORCE_GS")) - key->need_gs_prog = true; } /* Calculate interpolants for triangle and line rasterization.