GPU/Commands: Difference between revisions

No edit summary
Line 275: Line 275:
| 0x000500E0
| 0x000500E0
| <nowiki>5 | val<<16</nowiki>, where val is 0 or 1.
| <nowiki>5 | val<<16</nowiki>, where val is 0 or 1.
|  
| Val0 = enable, val1 = disable.
|-
|-
| 1
| 1
| 0x000F00E1
| 0x000F00E1
| Each 8-bits is an u8 converted from a float, bits31-24 are unused.
|  
|  
| This specifies a color.
|}
|}


This is usually used immediately after command set glDrawElements().
This is usually used immediately after command set glDrawElements(). This is used to specify a color used for blending?


===== CmdID 0x000F00E6 =====
===== CmdID 0x000F00E6 =====
Line 873: Line 873:


See command set 0x80XF00C0.
See command set 0x80XF00C0.
=== Parameter value format for CmdID 0x000F00E1 ===
{| class="wikitable" border="1"
!  Bit
!  Description
|-
| 7-0
| Red component
|-
| 15-8
| Green component
|-
| 23-16
| Blue component
|-
| 31-24
| Unused
|}


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