[Mesa-dev] [PATCH 1/9] i915: remove occurances of _DD_NEW_x flags

Jose Fonseca jfonseca at vmware.com
Mon Mar 12 09:37:56 PDT 2012


The series looks good to me AFAICT.

Joe

----- Original Message -----
> Just use the corresponding _NEW_x flags intead.  The _DD_NEW_x flags
> will be removed in a following patch.
> ---
>  src/mesa/drivers/dri/i915/intel_tris.h |   12 +++++-------
>  1 files changed, 5 insertions(+), 7 deletions(-)
> 
> diff --git a/src/mesa/drivers/dri/i915/intel_tris.h
> b/src/mesa/drivers/dri/i915/intel_tris.h
> index ad84de8..8f45367 100644
> --- a/src/mesa/drivers/dri/i915/intel_tris.h
> +++ b/src/mesa/drivers/dri/i915/intel_tris.h
> @@ -34,13 +34,11 @@
>  /** 3 dwords of state_immediate and 2 of 3dprim, in intel_flush_prim
>  */
>  #define INTEL_PRIM_EMIT_SIZE	(5 * 4)
>  
> -#define _INTEL_NEW_RENDERSTATE (_DD_NEW_LINE_STIPPLE |		\
> -			       _DD_NEW_TRI_UNFILLED |		\
> -			       _DD_NEW_TRI_LIGHT_TWOSIDE |	\
> -			       _DD_NEW_TRI_OFFSET |		\
> -			       _DD_NEW_TRI_STIPPLE |		\
> -			       _NEW_PROGRAM |		\
> -			       _NEW_POLYGONSTIPPLE)
> +#define _INTEL_NEW_RENDERSTATE (_NEW_LINE | \
> +                                _NEW_POLYGON | \
> +                                _NEW_LIGHT | \
> +                                _NEW_PROGRAM | \
> +                                _NEW_POLYGONSTIPPLE)
>  
>  extern void intelInitTriFuncs(struct gl_context * ctx);
>  
> --
> 1.7.3.4
> 
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev
> 


More information about the mesa-dev mailing list