summaryrefslogtreecommitdiffstats
path: root/src/mesa/main
diff options
context:
space:
mode:
authorZack Rusin <[email protected]>2010-07-07 00:54:33 -0400
committerZack Rusin <[email protected]>2010-07-08 00:28:29 -0400
commit7c42390453e611367cf1ba11446692ec04e0abfb (patch)
tree379033d3f7659d4214c0808bbc276072685a504c /src/mesa/main
parent6988f65e43297ae63bbce30bf882f870b370096c (diff)
gs: inject const int gl_VerticesIn at link time
Diffstat (limited to 'src/mesa/main')
-rw-r--r--src/mesa/main/mtypes.h22
1 files changed, 10 insertions, 12 deletions
diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h
index a3f89f2f9b9..cbb9eb84f33 100644
--- a/src/mesa/main/mtypes.h
+++ b/src/mesa/main/mtypes.h
@@ -252,17 +252,16 @@ typedef enum
*/
typedef enum
{
- GEOM_ATTRIB_VERTICES = 0, /*gl_VerticesIn*/
- GEOM_ATTRIB_POSITION = 1,
- GEOM_ATTRIB_COLOR0 = 2,
- GEOM_ATTRIB_COLOR1 = 3,
- GEOM_ATTRIB_SECONDARY_COLOR0 = 4,
- GEOM_ATTRIB_SECONDARY_COLOR1 = 5,
- GEOM_ATTRIB_FOG_FRAG_COORD = 6,
- GEOM_ATTRIB_POINT_SIZE = 7,
- GEOM_ATTRIB_CLIP_VERTEX = 8,
- GEOM_ATTRIB_PRIMITIVE_ID = 9,
- GEOM_ATTRIB_TEX_COORD = 10,
+ 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)
@@ -273,7 +272,6 @@ typedef enum
* These are used in bitfields in many places.
*/
/*@{*/
-#define GEOM_BIT_VERTICES (1 << GEOM_ATTRIB_VERTICES)
#define GEOM_BIT_COLOR0 (1 << GEOM_ATTRIB_COLOR0)
#define GEOM_BIT_COLOR1 (1 << GEOM_ATTRIB_COLOR1)
#define GEOM_BIT_SCOLOR0 (1 << GEOM_ATTRIB_SECONDARY_COLOR0)