diff options
author | Alyssa Rosenzweig <[email protected]> | 2020-04-13 18:12:12 -0400 |
---|---|---|
committer | Marge Bot <[email protected]> | 2020-04-13 22:32:40 +0000 |
commit | 0b000c54c01930c5637526aa875f5372399f5e55 (patch) | |
tree | e63c10587d70fc7a32f0f61192967453515f2465 /src | |
parent | d0cf8b977c94e2bab0ccc91bb8bad91e2bb71358 (diff) |
pan/bi: Fix incorrect swizzle packing assert
Signed-off-by: Alyssa Rosenzweig <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4539>
Diffstat (limited to 'src')
-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); } |