On 04/11/2014 10:29 PM, Matt Turner wrote: > --- > src/mesa/drivers/dri/i965/intel_debug.c | 1 + > src/mesa/drivers/dri/i965/intel_debug.h | 1 + > 2 files changed, 2 insertions(+) > > diff --git a/src/mesa/drivers/dri/i965/intel_debug.c > b/src/mesa/drivers/dri/i965/intel_debug.c > index dc74202..44a38b4 100644 > --- a/src/mesa/drivers/dri/i965/intel_debug.c > +++ b/src/mesa/drivers/dri/i965/intel_debug.c > @@ -65,6 +65,7 @@ static const struct dri_debug_control debug_control[] = { > { "no16", DEBUG_NO16 }, > { "blorp", DEBUG_BLORP }, > { "nodualobj", DEBUG_NO_DUAL_OBJECT_GS }, > + { "optimizer", DEBUG_OPTIMIZER },
Seems handy. How about INTEL_DEBUG=opt or opts? optimizer is a bit wordy compared to the other options. But, whatever you like is fine. > { NULL, 0 } > }; > > diff --git a/src/mesa/drivers/dri/i965/intel_debug.h > b/src/mesa/drivers/dri/i965/intel_debug.h > index d4f1666..52a47cf 100644 > --- a/src/mesa/drivers/dri/i965/intel_debug.h > +++ b/src/mesa/drivers/dri/i965/intel_debug.h > @@ -61,6 +61,7 @@ extern uint64_t INTEL_DEBUG; > #define DEBUG_NO16 0x20000000 > #define DEBUG_VUE 0x40000000 > #define DEBUG_NO_DUAL_OBJECT_GS 0x80000000 > +#define DEBUG_OPTIMIZER 0x100000000 > > #ifdef HAVE_ANDROID_PLATFORM > #define LOG_TAG "INTEL-MESA" >
signature.asc
Description: OpenPGP digital signature
_______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev