| commit | 64d9bd149aa7f5a09f73cae07499577933722fb2 | [log] [tgz] |
|---|---|---|
| author | Dave Airlie <airlied@redhat.com> | Wed Sep 13 03:49:31 2017 +0100 |
| committer | Dave Airlie <airlied@redhat.com> | Wed Sep 13 21:13:03 2017 +0100 |
| tree | 143489629eb87ee09944813698fa668f52adf9ff | |
| parent | f9412a4e75eded35de2281c60efc2ebe1107400f [diff] |
radv/nir: call opt_remove_phis after trivial continues. With the shaders in the ssao demo, the nir_opt_if wasn't working properly without this, after this the if gets optimised so that loop unrolling gets called. (loop unrolling fails due to instruction count, but at least it gets to do that.) Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com> Cc: "17.2" <mesa-stable@lists.freedesktop.org> Signed-off-by: Dave Airlie <airlied@redhat.com>