• Timothy Arceri's avatar
    nir: allow more nested loops to be unrolled · 2865653c
    Timothy Arceri authored
    The innermost check was added to stop us from unrolling multiple
    loops in a single pass, and to stop outer loops from unrolling.
    
    When we successfully unroll a loop we need to run the analysis
    pass again before deciding if we want to go ahead an unroll a
    second loop.
    
    However the logic was flawed because it never tried to unroll any
    nested loops other than the first innermost loop it found.
    If this innermost loop is not unrolled we end up skipping all
    other nested loops.
    
    No change to shader-db. Unrolls a loop in a shader from the game
    Prey when running on DXVK.
    2865653c
Name
Last commit
Last update
bin Loading commit data...
build-support Loading commit data...
docs Loading commit data...
doxygen Loading commit data...
include Loading commit data...
m4 Loading commit data...
scons Loading commit data...
scripts Loading commit data...
src Loading commit data...
.dir-locals.el Loading commit data...
.editorconfig Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.mailmap Loading commit data...
.travis.yml Loading commit data...
Android.common.mk Loading commit data...
Android.mk Loading commit data...
CleanSpec.mk Loading commit data...
Makefile.am Loading commit data...
README.rst Loading commit data...
REVIEWERS Loading commit data...
SConstruct Loading commit data...
VERSION Loading commit data...
appveyor.yml Loading commit data...
autogen.sh Loading commit data...
common.py Loading commit data...
configure.ac Loading commit data...
install-gallium-links.mk Loading commit data...
install-lib-links.mk Loading commit data...
meson.build Loading commit data...
meson_options.txt Loading commit data...