mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 09:38:07 +02:00
pan/bi: Fix incorrect swizzle packing assert
Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4539>
This commit is contained in:
parent
d0cf8b977c
commit
0b000c54c0
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue