diff --git a/src/gallium/drivers/etnaviv/etnaviv_compiler_nir.c b/src/gallium/drivers/etnaviv/etnaviv_compiler_nir.c index 936c655f7e7..ab49c067810 100644 --- a/src/gallium/drivers/etnaviv/etnaviv_compiler_nir.c +++ b/src/gallium/drivers/etnaviv/etnaviv_compiler_nir.c @@ -1189,6 +1189,7 @@ etna_compile_shader(struct etna_shader_variant *v) */ NIR_PASS_V(s, nir_opt_dce); + NIR_PASS_V(s, nir_opt_cse); NIR_PASS_V(s, nir_lower_bool_to_bitsize); NIR_PASS_V(s, etna_lower_alu, c->specs->has_new_transcendentals);