diff options
Diffstat (limited to 'src/panfrost/midgard/helpers.h')
-rw-r--r-- | src/panfrost/midgard/helpers.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/panfrost/midgard/helpers.h b/src/panfrost/midgard/helpers.h index 66223f3fd78..6d1031841a5 100644 --- a/src/panfrost/midgard/helpers.h +++ b/src/panfrost/midgard/helpers.h @@ -23,6 +23,7 @@ #define __MDG_HELPERS_H #include "util/macros.h" +#include <stdio.h> #include <string.h> #define OP_IS_LOAD_VARY_F(op) (\ @@ -344,4 +345,9 @@ midgard_is_branch_unit(unsigned unit) return (unit == ALU_ENAB_BRANCH) || (unit == ALU_ENAB_BR_COMPACT); } +void +mir_print_constant_component(FILE *fp, const midgard_constants *consts, + unsigned c, midgard_reg_mode reg_mode, bool half, + unsigned mod, midgard_alu_op op); + #endif |