LOOP

Flow control

fixed bit field field the encoding fixes should be

Encoding

313029282726252423222120191817161514131211109876543210
101001iddest

bits 31:0: 1010 01-- xxxx xxxx xxxx xx-- ---- ----

aL = i[id].y, then the body (up to dest) runs i[id].x + 1 times, aL += i[id].z after each

Runs execute_LOOP with Form() 0.

Fields

FieldBitsThe Sail reads it in
id23:22execute_LOOP
dest21:10Dest

Operation Sail

LOOP: aL = i[id].y, then the body (up to dest) i[id].x + 1 times, aL += i[id].z after each

Loop(UInt(Field(22, 2)), Dest())

Made from ScarletNX's Sail at 166ad3910f80. The Sail and the encodings' file are ScarletNX's (GPL-3.0-or-later); its encodings are from nihstro's shader_bytecode.h (BSD-3-Clause), as Azahar reads them.