Mesa (master): i965: Drop the INTEL_FORCE_GS environment variable.

Eric Anholt anholt at kemper.freedesktop.org
Tue Mar 20 23:15:44 UTC 2012


Module: Mesa
Branch: master
Commit: 447aff5b027dfab3f52d31c0b61030007d139693
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=447aff5b027dfab3f52d31c0b61030007d139693

Author: Eric Anholt <eric at anholt.net>
Date:   Tue Mar 20 15:29:11 2012 -0700

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 <kenneth at whitecape.org>

---

 src/mesa/drivers/dri/i965/brw_gs.c |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)

diff --git a/src/mesa/drivers/dri/i965/brw_gs.c b/src/mesa/drivers/dri/i965/brw_gs.c
index bfca169..52742d0 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.




More information about the mesa-commit mailing list