nir: add new partially_unrolled bool to nir_loop

Graphics / Mesa 3D Graphics Library / Mesa - Timothy Arceri [itsqueeze.com] - 12 March 2019 00:52 EDT

In order to stop continuously partially unrolling the same loop we add the bool partially_unrolled to nir_loop, we add it here rather than in nir_loop_info because nir_loop_info is only set
via loop analysis and is intended to be cleared before each analysis. Also nir_loop_info is never cloned.

fba5d275db1 nir: add new partially_unrolled bool to nir_loop
src/compiler/nir/nir.h | 1 +
src/compiler/nir/nir_clone.c | 1 +
2 files changed, 2 insertions(+)

Upstream: cgit.freedesktop.org


  • Share