nir: add complex_loop bool to loop info

Graphics / Mesa 3D Graphics Library / Mesa - Timothy Arceri [itsqueeze.com] - 29 August 2018 06:02 EDT

In order to be sure loop_terminator_list is an accurate representation of all the jumps in the loop we need to be sure we didn't encounter any other complex behaviour such as continues, nested breaks, etc during analysis.

This will be used in the following patch.

5a6b04d94b nir: add complex_loop bool to loop info
src/compiler/nir/nir.h | 6 ++++++
src/compiler/nir/nir_loop_analyze.c | 8 ++++++--
2 files changed, 12 insertions(+), 2 deletions(-)

Upstream: cgit.freedesktop.org


  • Share