GPU/Commands: Difference between revisions

No edit summary
No edit summary
Line 563: Line 563:
|-
|-
| 0
| 0
| ?
| Param0
|-
|-
| 1
| 1
| ?
| Param1
|-
|-
| 2
| 2
| ?
| Param2
|}
|}


See command set 0x80XF00C0.
See command set 0x80XF00C0.
==== Param0 format for CmdID 0x802F00C0 ====
{| class="wikitable" border="1"
!  Bit
!  Description
|-
| 3-0
| See below values.
|-
| 7-4
| See below values.
|-
| 11-8
| See below values.
|-
| 15-12
| Unused
|-
| 19-16
| See below values.
|-
| 23-20
| See below values.
|-
| 27-24
| See below values.
|-
| 31-28
| Unused
|}
==== Param0 values for CmdID 0x802F00C0 ====
{| class="wikitable" border="1"
!  Value
!  GL type
|-
| 0x0
| GL_PRIMARY_COLOR
|-
| 0x1
| ?
|-
| 0x2
| ?
|-
| 0x3
| GL_TEXTURE0
|-
| 0x4
| GL_TEXTURE1
|-
| 0x5
| GL_TEXTURE2
|-
| 0x6
| GL_TEXTURE3
|-
| 0xC-0x7
| GL_PRIMARY_COLOR
|-
| 0xD
| ?
|-
| 0xE
| GL_CONSTANT
|-
| 0xF
| GL_PREVIOUS
|}


=== Parameter value format for CmdID 0x800F00C4 ===
=== Parameter value format for CmdID 0x800F00C4 ===