diff options
Diffstat (limited to 'src/panfrost/bifrost')
-rw-r--r-- | src/panfrost/bifrost/bi_pack.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/panfrost/bifrost/bi_pack.c b/src/panfrost/bifrost/bi_pack.c index 604b0300746..7c2f11ab821 100644 --- a/src/panfrost/bifrost/bi_pack.c +++ b/src/panfrost/bifrost/bi_pack.c @@ -477,7 +477,7 @@ bi_swiz16(bi_instruction *ins, unsigned src) if (!bi_writes_component(ins, src)) continue; unsigned k = ins->swizzle[src][c]; - assert(k < 1); + assert(k <= 1); swizzle |= (k << c); } |