Changes

Jump to navigation Jump to search
30 bytes removed ,  23:15, 23 January 2015
Fix LOOP instruction: Number of iterations is actually given by INT.x directly
Line 507: Line 507:  
|  3
 
|  3
 
|  LOOP
 
|  LOOP
|  Loops over the code between itself and DST. First sets aL to INT.y, then increments aL by INT.z after each loop. Loops until aL 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)
+
|  Loops over the code between itself and DST (inclusive), performing INT.x+1 iterations in total. First, aL is initialized to INT.y. After each iteration, aL is incremented by INT.z. (INT is i0-i3, an integer vector uniform.)
 
|-
 
|-
 
|  0x2A
 
|  0x2A
549

edits

Navigation menu