summaryrefslogtreecommitdiff
path: root/ir_to_mesa.h
diff options
context:
space:
mode:
Diffstat (limited to 'ir_to_mesa.h')
-rw-r--r--ir_to_mesa.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/ir_to_mesa.h b/ir_to_mesa.h
index 43ddd5fe51..515feb19a3 100644
--- a/ir_to_mesa.h
+++ b/ir_to_mesa.h
@@ -40,6 +40,7 @@ typedef struct ir_to_mesa_src_reg {
int file; /**< PROGRAM_* from Mesa */
int index; /**< temporary index, VERT_ATTRIB_*, FRAG_ATTRIB_*, etc. */
int swizzle; /**< SWIZZLE_XYZWONEZERO swizzles from Mesa. */
+ bool reladdr; /**< Register index should be offset by address reg. */
} ir_to_mesa_src_reg;
typedef struct ir_to_mesa_dst_reg {
@@ -145,6 +146,9 @@ public:
exec_list instructions;
};
+extern ir_to_mesa_src_reg ir_to_mesa_undef;
+extern ir_to_mesa_dst_reg ir_to_mesa_undef_dst;
+
ir_to_mesa_instruction *
ir_to_mesa_emit_op1(struct mbtree *tree, enum prog_opcode op);