projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d0cf8b9
)
pan/bi: Fix incorrect swizzle packing assert
author
Alyssa Rosenzweig
<alyssa.rosenzweig@collabora.com>
Mon, 13 Apr 2020 22:12:12 +0000
(18:12 -0400)
committer
Marge Bot
<eric+marge@anholt.net>
Mon, 13 Apr 2020 22:32:40 +0000
(22:32 +0000)
Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4539>
src/panfrost/bifrost/bi_pack.c
patch
|
blob
|
history
diff --git
a/src/panfrost/bifrost/bi_pack.c
b/src/panfrost/bifrost/bi_pack.c
index 604b0300746343259d572cbbc6d87c0db561f6cb..7c2f11ab82198c856a2a72d2f702fa76545efdd4 100644
(file)
--- 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);
}