diff --git a/src/panfrost/compiler/bifrost_compile.c b/src/panfrost/compiler/bifrost_compile.c index 3e450d8c81f..9da0df0b80c 100644 --- a/src/panfrost/compiler/bifrost_compile.c +++ b/src/panfrost/compiler/bifrost_compile.c @@ -2549,7 +2549,7 @@ static bool bi_nir_is_replicated(nir_alu_src *src) { for (unsigned i = 1; i < nir_src_num_components(src->src); ++i) { - if (src->swizzle[0] == src->swizzle[i]) + if (src->swizzle[0] != src->swizzle[i]) return false; }