GPU/Commands: Difference between revisions
Added lightning stage component sources |
→Param1 field0 values for command 0x00C0: Added single component color sources |
||
Line 1,012: | Line 1,012: | ||
|- | |- | ||
| 0x4 | | 0x4 | ||
| | | GL_SRC_R | ||
|- | |- | ||
| 0x5 | | 0x5 | ||
| | | GL_ONE_MINUS_SRC_R | ||
|- | |- | ||
| 0x6 | | 0x6 | ||
Line 1,024: | Line 1,024: | ||
|- | |- | ||
| 0x8 | | 0x8 | ||
| | | GL_SRC_G | ||
|- | |- | ||
| 0x9 | | 0x9 | ||
| | | GL_ONE_MINUS_SRC_G | ||
|- | |- | ||
| 0xA | | 0xA | ||
Line 1,036: | Line 1,036: | ||
|- | |- | ||
| 0xC | | 0xC | ||
| | | GL_SRC_B | ||
|- | |- | ||
| 0xD | | 0xD | ||
| | | GL_ONE_MINUS_SRC_B | ||
|} | |} | ||
Note : GL_SRC_X and GL_ONE_MINUS_SRC_X where X=R|G|B are the same as GL_SRC_COLOR and GL_ONE_MINUS_SRC_COLOR but will use only the corresponding color component. | |||
==== Param1 field1 values for command 0x00C0 ==== | ==== Param1 field1 values for command 0x00C0 ==== |