summaryrefslogtreecommitdiffstats
path: root/src/panfrost/midgard/compiler.h
diff options
context:
space:
mode:
authorAlyssa Rosenzweig <[email protected]>2019-10-23 20:19:11 -0400
committerAlyssa Rosenzweig <[email protected]>2019-10-25 08:45:39 -0400
commit9bba18284027bfa26826c458b0b726a79edd9a63 (patch)
treebc88eea30abf1af9d541add63a3bbab282f4245c /src/panfrost/midgard/compiler.h
parent85cc40f7ce3460ea4b4b1a6a98a9f56520dbbb04 (diff)
pan/midgard: Add mir_set_bytemask helper
Signed-off-by: Alyssa Rosenzweig <[email protected]>
Diffstat (limited to 'src/panfrost/midgard/compiler.h')
-rw-r--r--src/panfrost/midgard/compiler.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/panfrost/midgard/compiler.h b/src/panfrost/midgard/compiler.h
index 425a4dd85f1..e66424d0fd8 100644
--- a/src/panfrost/midgard/compiler.h
+++ b/src/panfrost/midgard/compiler.h
@@ -518,6 +518,7 @@ midgard_reg_mode mir_typesize(midgard_instruction *ins);
uint16_t mir_from_bytemask(uint16_t bytemask, midgard_reg_mode mode);
uint16_t mir_bytemask(midgard_instruction *ins);
uint16_t mir_round_bytemask_down(uint16_t mask, midgard_reg_mode mode);
+void mir_set_bytemask(midgard_instruction *ins, uint16_t bytemask);
/* MIR printing */