Mesa (master): microsoft/compiler: Add copy_prop_vars to optimization loop
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Fri Apr 2 17:24:52 UTC 2021
Module: Mesa
Branch: master
Commit: 96cd96185365381ae28c196f3c4735dd38a6040c
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=96cd96185365381ae28c196f3c4735dd38a6040c
Author: Jesse Natalie <jenatali at microsoft.com>
Date: Thu Mar 25 18:17:19 2021 -0700
microsoft/compiler: Add copy_prop_vars to optimization loop
Reviewed-by: Bill Kristiansen <billkris at microsoft.com>
Acked-by: Michael Tang <tangm at microsoft.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9846>
---
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)
More information about the mesa-commit
mailing list