[Mesa-dev] [PATCH 1/3] mesa: Kill unused VERT_ATTRIB_GENERIC_NV and VERT_BIT_GENERIC_NV macros.

Mathias Fröhlich Mathias.Froehlich at gmx.net
Tue Oct 16 21:33:09 PDT 2012


Hi,
removal of these aliasing arrays will help a lot simplifying the array logic.

On Tuesday, October 16, 2012 11:57:30 Kenneth Graunke wrote:
> ---
>  src/mesa/main/mtypes.h | 10 ----------
>  1 file changed, 10 deletions(-)
> 
> diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h
> index c3378cd..60d5048 100644
> --- a/src/mesa/main/mtypes.h
> +++ b/src/mesa/main/mtypes.h
> @@ -144,9 +144,6 @@ typedef enum
>   * VERT_ATTRIB_TEX
>   *   include the classic texture coordinate attributes.
>   *   Is a subset of VERT_ATTRIB_FF.

Just above this block, can you also adapt 

 * VERT_ATTRIB_FF
 *   includes all fixed function attributes as well as
 *   the aliased GL_NV_vertex_program shader attributes.

to something like

 * VERT_ATTRIB_FF
 *   includes all fixed function attributes.

Thanks!

Mathias


More information about the mesa-dev mailing list