GPU/Commands: Difference between revisions

Luigi2us (talk | contribs)
mNo edit summary
Luigi2us (talk | contribs)
No edit summary
Line 85: Line 85:
| u32
| u32
| See command set 0x0111.
| See command set 0x0111.
|-
| 0x006F
| u32
| See command set 0x006F.
|-
|-
| 0x0080
| 0x0080
Line 313: Line 317:
===== Command 0x0081 =====
===== Command 0x0081 =====
This sets current texture info, see [[GPU Textures|GPU textures]].
This sets current texture info, see [[GPU Textures|GPU textures]].
===== Command 0x006F =====
{| class="wikitable" border="1"
!  Command Index
!  CommandID
!  Parameter
!  Description
|-
| 0
| 0x006F
| Typically only bit8-10 are used.
| Bit8 enables texture coordinate output for texture unit 0, bit9 enables texcoords for texture unit 1, and bit2 enables texcoords for texture unit 2.
|}


===== Command 0x0080 =====
===== Command 0x0080 =====
Line 326: Line 343:
| bit0-2 enables/disables texture units 0-2 respectively
| bit0-2 enables/disables texture units 0-2 respectively
|}
|}
Note that bit0-2 in this command only enable texture processing. For texturing to work fully, the corresponding texture coordinate outputs must be enabled as well via command 0x006F.


===== Command 0x00C0 =====
===== Command 0x00C0 =====