i965: Drop INTEL_DEBUG=stats.
authorKenneth Graunke <kenneth@whitecape.org>
Tue, 9 May 2017 06:53:36 +0000 (23:53 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Wed, 10 May 2017 18:37:19 +0000 (11:37 -0700)
commit620f12a53f9de09fa122912c8bb07e82332b565d
treec8a3d90d7ee9a9944c540a348e7d046958a5374a
parent31abfd2d350efe59fe3ecd283807402c6695b15a
i965: Drop INTEL_DEBUG=stats.

For whatever reason, we had an INTEL_DEBUG=stats option that enabled
various statistics counters on Gen4-5 systems.  It's been around
forever, though I can't think of a single time that it's been useful.

On Gen6+, we enable statistics all the time because they're necessary
to support various query object targets.  Turning them off would break
those queries.

Gen4-5 don't support those queries, so the statistics counters generally
aren't useful; we disabled them by default.  This patch disables them
altogether.

Reviewed-by: Samuel Iglesias Gonsálvez <siglesias@igalia.com>
docs/envvars.html
src/intel/common/gen_debug.c
src/intel/common/gen_debug.h
src/mesa/drivers/dri/i965/brw_cc.c
src/mesa/drivers/dri/i965/brw_clip_state.c
src/mesa/drivers/dri/i965/brw_gs_state.c
src/mesa/drivers/dri/i965/brw_sf_state.c
src/mesa/drivers/dri/i965/brw_vs_state.c
src/mesa/drivers/dri/i965/brw_wm_state.c