broadcom/compiler: add a loop unrolling pass
authorIago Toral Quiroga <itoral@igalia.com>
Mon, 3 May 2021 09:33:46 +0000 (11:33 +0200)
committerIago Toral Quiroga <itoral@igalia.com>
Thu, 6 May 2021 10:24:29 +0000 (12:24 +0200)
commitec72b876fe86683b28a7fad4c2e1fc0797802e99
tree89410ebbcddff68215390c96d0fd8f7297d1b0fe
parent43dd023bd1eb23a5cdb1470c6a30595c3fbf319a
broadcom/compiler: add a loop unrolling pass

Right now this is useful for Vulkan onnly, because GL gets loop
unrolling from the GLSL compiler and/or mesa state tracker
NIR front-ends.

Reviewed-by: Alejandro PiƱeiro <apinheiro@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10647>
src/broadcom/compiler/nir_to_vir.c