[Mesa-dev] [PATCH 06/14] mesa: reorder prog_instruction

Ian Romanick idr at freedesktop.org
Fri Mar 20 17:45:12 PDT 2015


On 03/20/2015 12:30 AM, Dave Airlie wrote:
> From: Dave Airlie <airlied at redhat.com>
> 
> reduces size from 64 to 56 bytes.
> 
> Signed-off-by: Dave Airlie <airlied at redhat.com>
> ---
>  src/mesa/program/prog_instruction.h | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/src/mesa/program/prog_instruction.h b/src/mesa/program/prog_instruction.h
> index 0957bd9..ab3acbc 100644
> --- a/src/mesa/program/prog_instruction.h
> +++ b/src/mesa/program/prog_instruction.h
> @@ -366,11 +366,11 @@ struct prog_instruction
>      */
>     GLint BranchTarget;
>  
> -   /** for debugging purposes */
> -   const char *Comment;
> -
>     /** for driver use (try to remove someday) */
>     GLint Aux;

I don't see any users of Aux in the tree.  Removing that field should be
even better, right?

> +
> +   /** for debugging purposes */
> +   const char *Comment;
>  };
>  
>  



More information about the mesa-dev mailing list