From 96cd96185365381ae28c196f3c4735dd38a6040c Mon Sep 17 00:00:00 2001 From: Jesse Natalie Date: Thu, 25 Mar 2021 18:17:19 -0700 Subject: [PATCH] microsoft/compiler: Add copy_prop_vars to optimization loop Reviewed-by: Bill Kristiansen Acked-by: Michael Tang Part-of: --- src/microsoft/compiler/nir_to_dxil.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/microsoft/compiler/nir_to_dxil.c b/src/microsoft/compiler/nir_to_dxil.c index d120d5fcdd9..37398c0c4d8 100644 --- a/src/microsoft/compiler/nir_to_dxil.c +++ b/src/microsoft/compiler/nir_to_dxil.c @@ -4083,6 +4083,7 @@ optimize_nir(struct nir_shader *s, const struct nir_to_dxil_options *opts) NIR_PASS(progress, s, nir_lower_indirect_derefs, nir_var_function_temp, UINT32_MAX); NIR_PASS(progress, s, nir_lower_alu_to_scalar, NULL, NULL); NIR_PASS(progress, s, nir_copy_prop); + NIR_PASS(progress, s, nir_opt_copy_prop_vars); NIR_PASS(progress, s, nir_lower_bit_size, lower_bit_size_callback, (void*)opts); NIR_PASS(progress, s, dxil_nir_lower_8bit_conv); if (opts->lower_int16)