GPU/Commands: Difference between revisions
No edit summary |
|||
Line 58: | Line 58: | ||
| First word in parameter structure | | First word in parameter structure | ||
| ? | | ? | ||
|- | |||
| 0x000F006E | |||
| u32 | |||
| This is used immediately after CmdID 0x000F011E, with the same input parameter value as CmdID 0x000F011E. | |||
|- | |||
| 0x000F011E | |||
| u32 | |||
| This sets the width and height for the framebuffer used for rendering. | |||
|- | |- | ||
| 0x000F02C0 | | 0x000F02C0 | ||
Line 67: | Line 75: | ||
| A list of entries follow this command. | | A list of entries follow this command. | ||
|} | |} | ||
=== Parameter value format for CmdID 0x000F011E === | |||
{| class="wikitable" border="1" | |||
! Bit | |||
! Description | |||
|- | |||
| 11-0 | |||
| Framebuffer width | |||
|- | |||
| 23-12 | |||
| Framebuffer height - 1 | |||
|- | |||
| 24 | |||
| Must be set | |||
|- | |||
| 31-25 | |||
| Unused? | |||
|} | |||
Normally the width and height is set to the same [[GPU|dimensions]] used with GX [[GSP_Shared_Memory|command]] 3 and 4. | |||
=== Entries for CmdID 0xXXXF02C1 === | === Entries for CmdID 0xXXXF02C1 === | ||
Line 105: | Line 133: | ||
| 5 | | 5 | ||
| float | | float | ||
|} | |||
==== Vertex Entry ==== | |||
{| class="wikitable" border="1" | |||
! Index Word | |||
! Description | |||
|- | |||
| 0 | |||
| float X coordinate | |||
|- | |||
| 1 | |||
| float Y coordinate | |||
|- | |||
| 2 | |||
| float Z coordinate | |||
|} | |} | ||