For ld_vary in the IR.
Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4061>
unsigned channels;
};
+/* BI_LD_VARY */
+struct bi_load_vary {
+ /* All parameters used here. Indirect location specified in
+ * src1 and ignoring location, if present. */
+ struct bi_load load;
+
+ enum bifrost_interp_mode interp_mode;
+ bool reuse;
+ bool flat;
+};
+
typedef struct {
struct list_head link; /* Must be first */
enum bi_class type;
union {
enum bifrost_minmax_mode minmax;
struct bi_load load;
+ struct bi_load_vary load_vary;
};
} bi_instruction;