projects
/
platform
/
upstream
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2f4bb3d
)
pan/bi: Improve assert for vector size errors
author
Alyssa Rosenzweig
<alyssa@collabora.com>
Tue, 13 Apr 2021 17:21:19 +0000
(13:21 -0400)
committer
Marge Bot
<eric+marge@anholt.net>
Mon, 3 May 2021 15:10:20 +0000
(15:10 +0000)
Signed-off-by: Alyssa Rosenzweig <alyssa@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10392>
src/panfrost/bifrost/bifrost_compile.c
patch
|
blob
|
history
diff --git
a/src/panfrost/bifrost/bifrost_compile.c
b/src/panfrost/bifrost/bifrost_compile.c
index
bd02721
..
e68237f
100644
(file)
--- a/
src/panfrost/bifrost/bifrost_compile.c
+++ b/
src/panfrost/bifrost/bifrost_compile.c
@@
-1299,7
+1299,7
@@
bi_alu_src_index(nir_alu_src src, unsigned comps)
unsigned new_offset = (src.swizzle[i] >> subword_shift);
if (i > 0)
- assert(offset == new_offset);
+ assert(offset == new_offset
&& "wrong vectorization"
);
offset = new_offset;
}