GPU/Shader Instruction Set: Difference between revisions
comp ops |
No edit summary |
||
Line 293: | Line 293: | ||
| 0x23 | | 0x23 | ||
| 1 | | 1 | ||
| | | BREAKC | ||
| | | If condition (see [[#Conditions|below]] for details) is true, then breaks out of LOOP block. | ||
|- | |- | ||
| 0x24 | | 0x24 | ||
Line 300: | Line 300: | ||
| CALL | | CALL | ||
| Jumps to DST and executes instructions until it reaches DST+NUM instructions | | Jumps to DST and executes instructions until it reaches DST+NUM instructions | ||
|- | |||
| 0x25 | |||
| 1 | |||
| CALLC | |||
| If condition (see [[#Conditions|below]] for details) is true, then jumps to DST and executes instructions until it reaches DST+NUM instructions, else does nothing. | |||
|- | |- | ||
| 0x26 | | 0x26 | ||
| 3 | | 3 | ||
| | | CALLU | ||
| Jumps to DST and executes instructions until it reaches DST+NUM instructions if BOOL is true | | Jumps to DST and executes instructions until it reaches DST+NUM instructions if BOOL is true | ||
|- | |- | ||
Line 313: | Line 318: | ||
| 0x28 | | 0x28 | ||
| 2 | | 2 | ||
| | | IFC | ||
| If condition (see [[#Conditions|below]] for details) is true, then executes instructions until DST, then jumps to DST+NUM; else, jumps to DST | | If condition (see [[#Conditions|below]] for details) is true, then executes instructions until DST, then jumps to DST+NUM; else, jumps to DST | ||
|- | |- | ||
Line 333: | Line 338: | ||
| 0x2C | | 0x2C | ||
| 2 | | 2 | ||
| JMPC | | JMPC | ||
| | | If condition (see [[#Conditions|below]] for details) is true, then jumps to DST, else does nothing. | ||
|- | |- | ||
| 0x2E-0x2F | | 0x2E-0x2F |