mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-22 09:10:11 +01:00
pan/bi: Strengenth assert in the validator
We should only see SSA now. Signed-off-by: Alyssa Rosenzweig <alyssa@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17794>
This commit is contained in:
parent
98c69de80d
commit
3fbd1e97d3
1 changed files with 1 additions and 1 deletions
|
|
@ -116,7 +116,7 @@ bi_validate_width(bi_context *ctx)
|
||||||
|
|
||||||
bi_foreach_instr_global(ctx, I) {
|
bi_foreach_instr_global(ctx, I) {
|
||||||
bi_foreach_dest(I, d) {
|
bi_foreach_dest(I, d) {
|
||||||
if (!bi_is_ssa(I->dest[d])) continue;
|
assert(bi_is_ssa(I->dest[d]));
|
||||||
|
|
||||||
unsigned v = I->dest[d].value;
|
unsigned v = I->dest[d].value;
|
||||||
assert(width[v] == 0 && "broken SSA");
|
assert(width[v] == 0 && "broken SSA");
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue