Difference between revisions of "GPU/GL Arrays"
< GPU
Jump to navigation
Jump to search
Steveice10 (talk | contribs) |
Steveice10 (talk | contribs) m |
||
Line 1: | Line 1: | ||
− | This page describes the [[ | + | This page describes the [[GPU/Internal_Registers|GPU commands]] used for OpenGL arrays. |
== Command Sets == | == Command Sets == |
Revision as of 08:08, 5 December 2015
This page describes the GPU commands used for OpenGL arrays.
Command Sets
glDrawElements()
Command Index | Register | Description |
---|---|---|
0 | GPUREG_GEOSTAGE_CONFIG | Set whether drawing triangle elements |
1-2 | GPUREG_GEOSTAGE_CONFIG2 | Set whether drawing triangle elements |
3 | GPUREG_PRIMITIVE_CONFIG | Set primitive mode |
4 | GPUREG_PRIMITIVE_CONFIG | Set number of output map registers |
5 | GPUREG_RESTART_PRIMITIVE | Trigger reset |
6 | GPUREG_GEOSTAGE_CONFIG2 | Set function indicator to 0 |
7 | GPUREG_INDEXBUFFER_CONFIG | Set offset and type |
8 | GPUREG_NUMVERTICES | Set vertex count |
9 | GPUREG_START_DRAW_FUNC0 | Set mode to drawing |
10 | GPUREG_DRAWELEMENTS | Trigger draw |
11 | GPUREG_START_DRAW_FUNC0 | Set mode to configuration |
12 | GPUREG_VTX_FUNC | Trigger post-vertex cache clear |
13 | GPUREG_FRAMEBUFFER_FLUSH | Flush framebuffer |
14 | GPUREG_GEOSTAGE_CONFIG | Clear drawing triangle elements |
15 | GPUREG_GEOSTAGE_CONFIG2 | Clear drawing triangle elements |
16 | GPUREG_PRIMITIVE_CONFIG | Clear primitive mode |
17 | GPUREG_VSH_ENTRYPOINT | Clear entry point |