1 XXX this could be converted/formatted for Sphinx someday.
2 XXX do not use tabs in this file.
7 primary/secondary colors ]
9 texcoords, fog) ] User vertices / arrays
12 primitive ID } System-generated values
24 front/back & primary/secondary colors
30 +------------------------+
32 | (consume vertex ID) |
33 | (may change prim type) |
34 +------------------------+
41 +--------------------------+
43 | (consume clip distances) |
44 +--------------------------+
52 +-----------------------+
55 | (consume other color) |
56 +-----------------------+
60 primary/secondary colors only
68 +----------------------+
70 | (consume edge flags) |
71 | (change prim type) |
72 +----------------------+
77 primary/secondary colors
83 +---------------------------------+
84 | Optional Draw module helpers |
87 | * Line AA/smooth (as tris) |
88 | * Wide lines (as tris) |
89 | * Wide points/sprites (as tris) |
90 | * Point AA/smooth (as tris) |
91 | (NOTE: these stages may emit |
92 | new/extra generic attributes |
93 | such as texcoords) |
94 +---------------------------------+
98 generics (+ new/extra ones) ]
99 primary/secondary colors ] Software rast vertices
105 +---------------------+
106 | Triangle/Line/Point |
108 +---------------------+
112 primary/secondary colors
114 fragment win coord pos } System-generated values
115 front/back face flag }
118 +-------------------+
120 +-------------------+
127 NOTE: The instance ID is not shown. It can be imagined to be a global variable
128 accessible to all shader stages.