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:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user