diff options
Diffstat (limited to 'src/panfrost/bifrost/compiler.h')
-rw-r--r-- | src/panfrost/bifrost/compiler.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/panfrost/bifrost/compiler.h b/src/panfrost/bifrost/compiler.h index 1a777feaaac..ee868f75d92 100644 --- a/src/panfrost/bifrost/compiler.h +++ b/src/panfrost/bifrost/compiler.h @@ -111,7 +111,8 @@ extern unsigned bi_class_props[BI_NUM_CLASSES]; * the end of a clause. Implies ADD */ #define BI_SCHED_HI_LATENCY (1 << 7) -/* Intrinsic is vectorized and should read 4 components regardless of writemask */ +/* Intrinsic is vectorized and should read 4 components in the first source + * regardless of writemask */ #define BI_VECTOR (1 << 8) /* Use a data register for src0/dest respectively, bypassing the usual @@ -530,7 +531,7 @@ bool bi_has_source_mods(bi_instruction *ins); bool bi_is_src_swizzled(bi_instruction *ins, unsigned s); bool bi_has_arg(bi_instruction *ins, unsigned arg); uint16_t bi_from_bytemask(uint16_t bytemask, unsigned bytes); -unsigned bi_get_component_count(bi_instruction *ins); +unsigned bi_get_component_count(bi_instruction *ins, unsigned s); unsigned bi_load32_components(bi_instruction *ins); uint16_t bi_bytemask_of_read_components(bi_instruction *ins, unsigned node); |