GPU/Commands: Difference between revisions
mNo edit summary |
geoshader equivalents |
||
Line 281: | Line 281: | ||
| u32, val<<8. | | u32, val<<8. | ||
| This sets the GL rendering mode, see command set [[GPU_GL_Arrays|0x0200]]. | | This sets the GL rendering mode, see command set [[GPU_GL_Arrays|0x0200]]. | ||
|- | |||
| 0x0280 | |||
| u32, value is <nowiki>0x7FFF0000 | val</nowiki>. | |||
| Used to set geo shader boolean uniforms. ((val>>i)&1 = !b_i) value (b0 = False => val&1 == 1) | |||
|- | |||
| 0x0281 | |||
| u32, value is <nowiki>(x&0xff)|((y&0xff)<<8)|((z&0xff)<<16)|((w&0xff)<<24)</nowiki>. | |||
| Used to set i0 (geo shader) (TODO check) | |||
|- | |||
| 0x0282 | |||
| u32, value is <nowiki>(x&0xff)|((y&0xff)<<8)|((z&0xff)<<16)|((w&0xff)<<24)</nowiki>. | |||
| Used to set i1 (geo shader) (TODO check) | |||
|- | |||
| 0x0283 | |||
| u32, value is <nowiki>(x&0xff)|((y&0xff)<<8)|((z&0xff)<<16)|((w&0xff)<<24)</nowiki>. | |||
| Used to set i2 (geo shader) (TODO check) | |||
|- | |||
| 0x0284 | |||
| u32, value is <nowiki>(x&0xff)|((y&0xff)<<8)|((z&0xff)<<16)|((w&0xff)<<24)</nowiki>. | |||
| Used to set i3 (geo shader) (TODO check) | |||
|- | |- | ||
| 0x028A | | 0x028A |