pan/bi: Improve assert for vector size errors
Signed-off-by: Alyssa Rosenzweig <alyssa@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10392>
This commit is contained in:
committed by
Marge Bot
parent
2f4bb3d6b9
commit
caebca4aa7
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user