~mmach/netext73/mesa-ryzen

« back to all changes in this revision

Viewing changes to src/compiler/nir/nir_phi_builder.c

  • Committer: mmach
  • Date: 2023-11-02 21:31:35 UTC
  • Revision ID: netbit73@gmail.com-20231102213135-18d4tzh7tj0uz752
2023-11-02 22:11:57

Show diffs side-by-side

added added

removed removed

Lines of Context:
233
233
       */
234
234
      nir_phi_instr *phi = nir_phi_instr_create(val->builder->shader);
235
235
      nir_ssa_dest_init(&phi->instr, &phi->dest, val->num_components,
236
 
                        val->bit_size, NULL);
 
236
                        val->bit_size);
237
237
      phi->instr.block = dom;
238
238
      exec_list_push_tail(&val->phis, &phi->instr.node);
239
239
      def = &phi->dest.ssa;