KILL

Loads, texture reads and special instructions

fixed bit field field the encoding fixes should be

Encoding

6362616059585756555453525150494847464544434241403938373635343332
1111100111000000000pred000000110
313029282726252423222120191817161514131211109876543210
1111

bits 63:0: 1111 1001 --11 0000 0000 0xx0 0000 0110 1111 ---- ---- ---- ---- ---- ---- ----

It is in a group of patterns that may match the same word: the decoder tries them in this order, and the first that matches decodes it: SMP, PHAS, NOP, BR, SMLSI, SMBO, KILL, LIMM, DEPTHF, SPEC, VLDST.

Runs execute_KILL with Form() 0.

Fields

FieldBitsThe Sail reads it in
pred42:41

Operation Sail

KILL: the fragment is discarded (predicated: the instruction's if around it)

if not_bool(Fragment()) then throw(Refuse("KILL in a vertex program"));
Kill()

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 Vita3K's usse_translator_entry.cpp (GPL-2.0-or-later).