Commit 33a95095 authored by Louis-Francis Ratté-Boulianne's avatar Louis-Francis Ratté-Boulianne Committed by Erik Faye-Lund
Browse files

microsoft/compiler: Lower indirect dereferences to phi nodes

parent 7100a06a
......@@ -4162,6 +4162,7 @@ optimize_nir(struct nir_shader *s, const struct nir_to_dxil_options *opts)
do {
progress = false;
NIR_PASS_V(s, nir_lower_vars_to_ssa);
NIR_PASS(progress, s, nir_lower_indirect_derefs, nir_var_function_temp);
NIR_PASS(progress, s, nir_lower_alu_to_scalar, NULL, NULL);
NIR_PASS(progress, s, nir_copy_prop);
NIR_PASS(progress, s, nir_lower_bit_size, lower_bit_size_callback, (void*)opts);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment