GPU/Shader Instruction Set: Difference between revisions
proper LOOP ! |
LOOP adjustment after test |
||
Line 470: | Line 470: | ||
| 3 | | 3 | ||
| FORLOOP | | FORLOOP | ||
| Loops over the code between itself and DST. First sets lcnt to INT.y, then increments lcnt by INT.z after each loop. | | Loops over the code between itself and DST. First sets lcnt to INT.y, then increments lcnt by INT.z after each loop. Loops until lcnt reaches INT.y+INT.x, inclusive (that is : for(aL=INT.y;aL<=INT.y+INT.x;aL+=INT.z)). (INT is i0-i3, an integer vector uniform) | ||
|- | |- | ||
| 0x2A | | 0x2A |