GPU/Shader Instruction Set: Difference between revisions

Smea (talk | contribs)
added JMPU/JMPC
Smea (talk | contribs)
LOOP/BREAK
Line 168: Line 168:
|  END1
|  END1
|  ?
|  ?
|-
|  0x23
|  1
|  BREAK?
|  Conditionally breaks out of LOOP block ?
|-
|-
|  0x24
|  0x24
Line 191: Line 196:
|  0x29
|  0x29
|  3
|  3
JMPU?
LOOP?
Jumps to DST if BOOL is true, else does nothing.
Loops over the code between itself and DST an unknown number of times. Possibly set by an integer uniform.
|-
|-
|  0x2A
|  0x2A