mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-14 16:10:17 +01:00
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:
parent
2f4bb3d6b9
commit
caebca4aa7
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue