diff options
author | Kenneth Graunke <[email protected]> | 2016-09-13 15:14:28 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2016-09-14 12:01:51 -0700 |
commit | 2d8a3fa7ea994ad02a40ff497109f966e3fcbeec (patch) | |
tree | 59bb6bdd47d2cd9120af0ffeff1bcc9e0b79107b /src/gallium/drivers/vc4 | |
parent | 32630e211e60a2b41388d403cfbd4f43344d8590 (diff) |
nir: Report progress from nir_lower_phis_to_scalar.
Signed-off-by: Kenneth Graunke <[email protected]>
Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src/gallium/drivers/vc4')
-rw-r--r-- | src/gallium/drivers/vc4/vc4_program.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gallium/drivers/vc4/vc4_program.c b/src/gallium/drivers/vc4/vc4_program.c index 24e4699b92e..986a1ffc64b 100644 --- a/src/gallium/drivers/vc4/vc4_program.c +++ b/src/gallium/drivers/vc4/vc4_program.c @@ -1424,8 +1424,7 @@ vc4_optimize_nir(struct nir_shader *s) NIR_PASS_V(s, nir_lower_vars_to_ssa); NIR_PASS(progress, s, nir_lower_alu_to_scalar); - NIR_PASS_V(s, nir_lower_phis_to_scalar); - + NIR_PASS(progress, s, nir_lower_phis_to_scalar); NIR_PASS(progress, s, nir_copy_prop); NIR_PASS(progress, s, nir_opt_remove_phis); NIR_PASS(progress, s, nir_opt_dce); |