-/* $Id: gen_matypes.c,v 1.6 2002/01/22 14:35:16 brianp Exp $ */
+/* $Id: gen_matypes.c,v 1.7 2002/02/15 16:32:36 brianp Exp $ */
/*
* Mesa 3-D graphics library
DEFINE_HEADER( "struct vertex_buffer" );
/* XXX use new labels here someday after vertex proram is done */
- DEFINE( "VERT_OBJ ", VERT_OBJ_BIT );
- DEFINE( "VERT_NORM ", VERT_NORMAL_BIT );
- DEFINE( "VERT_RGBA ", VERT_COLOR0_BIT );
- DEFINE( "VERT_SPEC_RGB ", VERT_COLOR1_BIT );
- DEFINE( "VERT_FOG_COORD ", VERT_BIT_FOG );
- DEFINE( "VERT_INDEX ", VERT_INDEX_BIT );
- DEFINE( "VERT_EDGE ", VERT_EDGEFLAG_BIT );
- DEFINE( "VERT_TEX0 ", VERT_TEX0_BIT );
- DEFINE( "VERT_TEX1 ", VERT_TEX1_BIT );
- DEFINE( "VERT_TEX2 ", VERT_TEX2_BIT );
- DEFINE( "VERT_TEX3 ", VERT_TEX3_BIT );
- DEFINE( "VERT_EVAL_C1 ", VERT_EVAL_C1 );
- DEFINE( "VERT_EVAL_C2 ", VERT_EVAL_C2 );
- DEFINE( "VERT_EVAL_P1 ", VERT_EVAL_P1 );
- DEFINE( "VERT_EVAL_P2 ", VERT_EVAL_P2 );
- DEFINE( "VERT_OBJ_3 ", VERT_OBJ_3 );
- DEFINE( "VERT_OBJ_4 ", VERT_OBJ_4 );
- DEFINE( "VERT_MATERIAL ", VERT_MATERIAL );
- DEFINE( "VERT_ELT ", VERT_ELT );
- DEFINE( "VERT_BEGIN ", VERT_BEGIN );
- DEFINE( "VERT_END ", VERT_END );
- DEFINE( "VERT_END_VB ", VERT_END_VB );
- DEFINE( "VERT_POINT_SIZE ", VERT_POINT_SIZE );
- DEFINE( "VERT_EYE ", VERT_EYE );
- DEFINE( "VERT_CLIP ", VERT_CLIP );
+ DEFINE( "VERT_BIT_OBJ ", VERT_BIT_POS );
+ DEFINE( "VERT_BIT_NORM ", VERT_BIT_NORMAL );
+ DEFINE( "VERT_BIT_RGBA ", VERT_BIT_COLOR0 );
+ DEFINE( "VERT_BIT_SPEC_RGB ", VERT_BIT_COLOR1 );
+ DEFINE( "VERT_BIT_FOG_COORD ", VERT_BIT_FOG );
+ DEFINE( "VERT_BIT_INDEX ", VERT_BIT_INDEX );
+ DEFINE( "VERT_BIT_EDGE ", VERT_BIT_EDGEFLAG );
+ DEFINE( "VERT_BIT_TEX0 ", VERT_BIT_TEX0 );
+ DEFINE( "VERT_BIT_TEX1 ", VERT_BIT_TEX1 );
+ DEFINE( "VERT_BIT_TEX2 ", VERT_BIT_TEX2 );
+ DEFINE( "VERT_BIT_TEX3 ", VERT_BIT_TEX3 );
+ DEFINE( "VERT_BIT_EVAL_C1 ", VERT_BIT_EVAL_C1 );
+ DEFINE( "VERT_BIT_EVAL_C2 ", VERT_BIT_EVAL_C2 );
+ DEFINE( "VERT_BIT_EVAL_P1 ", VERT_BIT_EVAL_P1 );
+ DEFINE( "VERT_BIT_EVAL_P2 ", VERT_BIT_EVAL_P2 );
+ DEFINE( "VERT_BIT_OBJ_3 ", VERT_BIT_OBJ_3 );
+ DEFINE( "VERT_BIT_OBJ_4 ", VERT_BIT_OBJ_4 );
+ DEFINE( "VERT_BIT_MATERIAL ", VERT_BIT_MATERIAL );
+ DEFINE( "VERT_BIT_ELT ", VERT_BIT_ELT );
+ DEFINE( "VERT_BIT_BEGIN ", VERT_BIT_BEGIN );
+ DEFINE( "VERT_BIT_END ", VERT_BIT_END );
+ DEFINE( "VERT_BIT_END_VB ", VERT_BIT_END_VB );
+ DEFINE( "VERT_BIT_POINT_SIZE ", VERT_BIT_POINT_SIZE );
+ DEFINE( "VERT_BIT_EYE ", VERT_BIT_EYE );
+ DEFINE( "VERT_BIT_CLIP ", VERT_BIT_CLIP );
printf( "\n" );
- DEFINE( "VERT_OBJ_23 ", VERT_OBJ_3 );
- DEFINE( "VERT_OBJ_234 ", VERT_OBJ_4 );
+ DEFINE( "VERT_BIT_OBJ_23 ", VERT_BIT_OBJ_3 );
+ DEFINE( "VERT_BIT_OBJ_234 ", VERT_BIT_OBJ_4 );
/* GLvector3f offsets: