aboutsummaryrefslogtreecommitdiffstats
path: root/src/util/00-mesa-defaults.conf
diff options
context:
space:
mode:
authorTimothy Arceri <[email protected]>2018-07-23 18:02:28 +1000
committerTimothy Arceri <[email protected]>2018-08-18 09:03:13 +1000
commitd0803dea11233ee4df079fbf6bba40e6f6cd2c2b (patch)
treeecb4eeb4900b62fa36d66a64353fcd4d13d001ab /src/util/00-mesa-defaults.conf
parent9baff597ce021f7691187b0d1d1bbc16d07b13e1 (diff)
nir: allow more nested loops to be unrolled
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. This unrolls a loop in a Deus Ex: MD shader on ultra settings and also unrolls a loop in a shader from the game Prey when running on DXVK. Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src/util/00-mesa-defaults.conf')
0 files changed, 0 insertions, 0 deletions