#define PACKED __attribute__((__packed__))
#include <stdint.h>
+#include <stdbool.h>
#include <assert.h>
/* size of largest OPC field of all the instruction categories: */
/* meta instructions (category -1): */
/* placeholder instr to mark shader inputs: */
OPC_META_INPUT = _OPC(-1, 0),
- OPC_META_PHI = _OPC(-1, 1),
/* The "fan-in" and "fan-out" instructions are used for keeping
* track of instructions that write to multiple dst registers
* (fan-out) like texture sample instructions, or read multiple