diff options
author | Paul Berry <[email protected]> | 2013-02-23 07:31:33 -0800 |
---|---|---|
committer | Paul Berry <[email protected]> | 2013-03-15 09:25:05 -0700 |
commit | 094bcf399c9630707c92ccd8f78e2ade29323a4d (patch) | |
tree | ff1ae4b70a078dec2c6228c44d9570f662f8d316 | |
parent | 36b252e94724b2512ea941eff2b3a3abeb80be79 (diff) |
mtypes.h: Modify gl_geom_attrib to refer to new gl_varying_slot enum.
This paves the way for eliminating the gl_geom_attrib enum entirely.
Reviewed-by: Kenneth Graunke <[email protected]>
Reviewed-by: Eric Anholt <[email protected]>
Tested-by: Brian Paul <[email protected]>
-rw-r--r-- | src/mesa/main/mtypes.h | 26 |
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; /** |