[Mesa-dev] [PATCH 2/8] i965: Add INTEL_DEBUG=perf for failure to compile 16-wide shaders.

Jordan Justen jordan.l.justen at intel.com
Tue Aug 7 11:27:34 PDT 2012


On Tue, 2012-08-07 at 11:04 -0700, Eric Anholt wrote:
> diff --git a/src/mesa/drivers/dri/intel/intel_context.h b/src/mesa/drivers/dri/intel/intel_context.h
> index 6d1a81c..c4efa54 100644
> --- a/src/mesa/drivers/dri/intel/intel_context.h
> +++ b/src/mesa/drivers/dri/intel/intel_context.h
> @@ -463,6 +463,11 @@ extern int INTEL_DEBUG;
>  		printf(__VA_ARGS__);				\
>  } while(0)
>  
> +#define perf_debug(...) do {					\
> +	if (unlikely(INTEL_DEBUG & DEBUG_PERF))			\
> +		printf(__VA_ARGS__);				\
> +} while(0)

Should perf_debug be used in the paths in PATCH 1/8?

For series:
Reviewed-by: Jordan Justen <jordan.l.justen at intel.com>

-Jordan




More information about the mesa-dev mailing list