diff --git a/src/freedreno/isa/encode.py b/src/freedreno/isa/encode.py index 791450990fb..3ece9e0ff0b 100644 --- a/src/freedreno/isa/encode.py +++ b/src/freedreno/isa/encode.py @@ -329,11 +329,16 @@ template = """\ #include #include +#include <% isa = s.isa %> +typedef struct { + BITSET_WORD bitset[BITSET_WORDS(${isa.bitsize})]; +} bitmask_t; + /** * Opaque type from the PoV of generated code, but allows state to be passed * thru to the hand written helpers used by the generated code.