JMPU

Flow control

fixed bit field field the encoding fixes should be

Encoding

313029282726252423222120191817161514131211109876543210
101101iddestnum

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

JMPU: the jump is taken when the bool uniform differs from num's bit 0

Its format is @uniform: formats 2 and 3: flow control.

Runs execute_JMPU with Form() 0.

Fields

FieldBitsThe Sail reads it in
id25:22UniformBool
dest21:10Dest
num7:0execute_JMPU (0)

Operation Sail

JumpTo(UniformBool(Field(0, 1) == 0b1), 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.