GPU/Commands: Difference between revisions

No edit summary
mNo edit summary
Line 256: Line 256:


This is used to set various rendering parameters for the slot indicated by the CmdID. There's a total of 6 slots.
This is used to set various rendering parameters for the slot indicated by the CmdID. There's a total of 6 slots.
=== Parameter structure for CmdID 0x804F00C0 ===
{| class="wikitable" border="1"
!  Index Word
!  Description
|-
| 0
| Value 0xFFF0FFF / 0x0
|-
| 1
| Value 0x0
|-
| 2
| Value 0x0
|-
| 3
| Value 0xFFFFFFFF
|-
| 4
| Value 0x0
|}
This CmdID is 0x804F00C0 + slotindex*8. This individual command is used instead of the 0x80XF00C0 command set when none of the associated rendering parameters for this slot are set.
=== Parameter structure for CmdID 0x802F00C0 ===
{| class="wikitable" border="1"
!  Index Word
!  Description
|-
| 0
| ?
|-
| 1
| ?
|-
| 2
| ?
|}
This CmdID is 0x802F00C0 + slotindex*8.


===== CmdID 0x000F00E6 =====
===== CmdID 0x000F00E6 =====
Line 573: Line 533:


This specifies the X/Y coordinates for glViewport().
This specifies the X/Y coordinates for glViewport().
=== Parameter structure for CmdID 0x804F00C0 ===
{| class="wikitable" border="1"
!  Index Word
!  Description
|-
| 0
| Value 0xFFF0FFF / 0x0
|-
| 1
| Value 0x0
|-
| 2
| Value 0x0
|-
| 3
| Value 0xFFFFFFFF
|-
| 4
| Value 0x0
|}
This CmdID is 0x804F00C0 + slotindex*8. This individual command is used instead of the 0x80XF00C0 command set when none of the associated rendering parameters for this slot are set.
=== Parameter structure for CmdID 0x802F00C0 ===
{| class="wikitable" border="1"
!  Index Word
!  Description
|-
| 0
| ?
|-
| 1
| ?
|-
| 2
| ?
|}
This CmdID is 0x802F00C0 + slotindex*8.


=== Parameter structure for CmdID 0x000F00E8 ===
=== Parameter structure for CmdID 0x000F00E8 ===