summaryrefslogtreecommitdiffstats
path: root/src/mesa/main
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/main')
-rw-r--r--src/mesa/main/mtypes.h26
1 files changed, 13 insertions, 13 deletions
diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h
index 1e62e19d69d..b39c9c51437 100644
--- a/src/mesa/main/mtypes.h
+++ b/src/mesa/main/mtypes.h
@@ -290,19 +290,19 @@ typedef enum
*/
typedef enum
{
- GEOM_ATTRIB_POSITION = 0,
- GEOM_ATTRIB_COLOR0 = 1,
- GEOM_ATTRIB_COLOR1 = 2,
- GEOM_ATTRIB_SECONDARY_COLOR0 = 3,
- GEOM_ATTRIB_SECONDARY_COLOR1 = 4,
- GEOM_ATTRIB_FOG_FRAG_COORD = 5,
- GEOM_ATTRIB_POINT_SIZE = 6,
- GEOM_ATTRIB_CLIP_VERTEX = 7,
- GEOM_ATTRIB_PRIMITIVE_ID = 8,
- GEOM_ATTRIB_TEX_COORD = 9,
-
- GEOM_ATTRIB_VAR0 = 16,
- GEOM_ATTRIB_MAX = (GEOM_ATTRIB_VAR0 + MAX_VARYING)
+ GEOM_ATTRIB_POSITION = VARYING_SLOT_POS,
+ GEOM_ATTRIB_COLOR0 = VARYING_SLOT_COL0,
+ GEOM_ATTRIB_COLOR1 = VARYING_SLOT_COL1,
+ GEOM_ATTRIB_SECONDARY_COLOR0 = VARYING_SLOT_BFC0,
+ GEOM_ATTRIB_SECONDARY_COLOR1 = VARYING_SLOT_BFC1,
+ GEOM_ATTRIB_FOG_FRAG_COORD = VARYING_SLOT_FOGC,
+ GEOM_ATTRIB_POINT_SIZE = VARYING_SLOT_PNTC,
+ GEOM_ATTRIB_CLIP_VERTEX = VARYING_SLOT_CLIP_VERTEX,
+ GEOM_ATTRIB_PRIMITIVE_ID = VARYING_SLOT_PRIMITIVE_ID,
+ GEOM_ATTRIB_TEX_COORD = VARYING_SLOT_TEX0,
+
+ GEOM_ATTRIB_VAR0 = VARYING_SLOT_VAR0,
+ GEOM_ATTRIB_MAX = VARYING_SLOT_MAX
} gl_geom_attrib;
/**