freedreno/ir3: fix missing recursion into block condition

Fixes a problem seen with dEQP-GLES31.functional.ssbo.layout.single_basic_array.shared.row_major_mat4

Signed-off-by: Rob Clark <robdclark@gmail.com>
This commit is contained in:
Rob Clark 2018-06-13 10:50:37 -04:00
parent 1a6150207c
commit 658f1f6003
1 changed files with 4 additions and 0 deletions

View File

@ -263,6 +263,10 @@ find_neighbors(struct ir3 *ir)
struct ir3_instruction *instr = block->keeps[i];
instr_find_neighbors(instr);
}
/* We also need to account for if-condition: */
if (block->condition)
instr_find_neighbors(block->condition);
}
}