diff options
author | Alyssa Rosenzweig <[email protected]> | 2020-03-09 20:19:29 -0400 |
---|---|---|
committer | Marge Bot <[email protected]> | 2020-03-10 19:25:59 +0000 |
commit | 9b8cb9f5aee3428e49d80b2154718cae6c29938c (patch) | |
tree | 331812c161774e0b2bdcdedcd5ce8efd4e2033f9 /src/panfrost/midgard/compiler.h | |
parent | ba03e308b66b0b88f60b99d9d47851a5e1522e6e (diff) |
panfrost: Move mir_to_bytemask to common code
...also so we can start sharing code properly between the panfrost
compilers.
Signed-off-by: Alyssa Rosenzweig <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4139>
Diffstat (limited to 'src/panfrost/midgard/compiler.h')
-rw-r--r-- | src/panfrost/midgard/compiler.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/panfrost/midgard/compiler.h b/src/panfrost/midgard/compiler.h index 8ee99ab3549..51ac9566f2e 100644 --- a/src/panfrost/midgard/compiler.h +++ b/src/panfrost/midgard/compiler.h @@ -38,6 +38,7 @@ #include "main/mtypes.h" #include "compiler/nir_types.h" #include "compiler/nir/nir.h" +#include "panfrost/util/pan_ir.h" /* Forward declare */ struct midgard_block; @@ -553,7 +554,6 @@ midgard_reg_mode mir_srcsize(midgard_instruction *ins, unsigned i); unsigned mir_bytes_for_mode(midgard_reg_mode mode); midgard_reg_mode mir_mode_for_destsize(unsigned size); uint16_t mir_from_bytemask(uint16_t bytemask, midgard_reg_mode mode); -uint16_t mir_to_bytemask(midgard_reg_mode mode, unsigned mask); uint16_t mir_bytemask(midgard_instruction *ins); uint16_t mir_round_bytemask_up(uint16_t mask, midgard_reg_mode mode); void mir_set_bytemask(midgard_instruction *ins, uint16_t bytemask); |