fixed bit field field the encoding fixes should be
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| 1 | 0 | 1 | 0 | 0 | 1 | id | dest | ||||||||||||||||||||||||
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.
| Field | Bits | The Sail reads it in |
|---|---|---|
| id | 23:22 | execute_LOOP |
| dest | 21:10 | Dest |
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.