[Mesa-dev] [PATCH 1/4] mesa: Update a comment about valid values of a field.

Ian Romanick idr at freedesktop.org
Thu Nov 14 14:36:00 PST 2013


On 11/13/2013 03:11 PM, Eric Anholt wrote:
> Notably, ENV and LOCAL aren't used any more (replaced by STATE_VAR), but
> apparently CONSTANT is.

Good times.

Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>

> ---
>  src/mesa/program/program_parser.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/src/mesa/program/program_parser.h b/src/mesa/program/program_parser.h
> index ca36bb6..04c64f4 100644
> --- a/src/mesa/program/program_parser.h
> +++ b/src/mesa/program/program_parser.h
> @@ -44,7 +44,7 @@ struct asm_symbol {
>     unsigned output_binding;   /**< Output / result register number. */
>  
>     /**
> -    * One of PROGRAM_STATE_VAR, PROGRAM_LOCAL_PARAM, or PROGRAM_ENV_PARAM.
> +    * One of PROGRAM_STATE_VAR or PROGRAM_CONSTANT.
>      */
>     unsigned param_binding_type;
>  



More information about the mesa-dev mailing list