GPU/Commands: Difference between revisions

No edit summary
No edit summary
Line 1: Line 1:
This page describes the structure of the buffer for [[GSP_Shared_Memory|GX command]] 1 with the registers at [[GPU|0x1EF018E0]]. This buffer is used for GPU commands including OpenGL commands, each 8-byte entry in the buffer is a command. Cmd+0 is the command parameter, and cmd+4 is the command header.
This page describes the structure of the buffer for [[GSP_Shared_Memory|GX command]] 1 with the registers at [[GPU|0x1EF018E0]]. This buffer is used for GPU commands including OpenGL commands, each 8-byte entry in the buffer is a command. Cmd+0 is the command parameter, and cmd+4 is the command header.
Invalid GPU command parameters can cause the GPU to hang, this then causes the GSP module to hang as well.


=== Command Header ===
=== Command Header ===
Line 108: Line 110:
|-
|-
| 0x000F0227
| 0x000F0227
| u32, bit31 is unknown. Bits30-0 is address>>3, where address is relative to VRAM.
| u32, bit31 is unknown. Bits30-0 is the address, where address is relative to VRAM.
| This specifies the address of an array containing vertex array indices, used for rendering primitives. Each index entry is an u16.
| This specifies the address of an array containing vertex array indices, used for rendering primitives. Each index entry is an u16.
|-
|-