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