GPU/Commands: Difference between revisions

No edit summary
No edit summary
Line 140: Line 140:
| u32, value is 0x00E40100
| u32, value is 0x00E40100
| This command is used immediately before CmdID 0x000F0101.
| This command is used immediately before CmdID 0x000F0101.
|-
| 0x000500E0
|
| See command set 0x000500E0.
|-
| 0x000F00E1
|
| See command set 0x000500E0.
|-
|-
| 0x000F00E6
| 0x000F00E6
Line 256: Line 264:


This is used to set various rendering parameters for the slot indicated by the CmdID. There's a total of 6 slots, where each slot corresponds to the following u16 CmdIDs: 0xC0, 0xC8, 0xD0, 0xD8, 0xF0, 0xF8.
This is used to set various rendering parameters for the slot indicated by the CmdID. There's a total of 6 slots, where each slot corresponds to the following u16 CmdIDs: 0xC0, 0xC8, 0xD0, 0xD8, 0xF0, 0xF8.
===== CmdID 0x000500E0 =====
{| class="wikitable" border="1"
!  Command Index
!  CommandID
!  Parameter
!  Description
|-
| 0
| 0x000500E0
| <nowiki>5 | val<<16</nowiki>
|
|-
| 1
| 0x000F00E1
| Each 8-bits is an u8 converted from a float, bits31-24 are unused.
|
|}


===== CmdID 0x000F00E6 =====
===== CmdID 0x000F00E6 =====