~mmach/netext73/mesa-ryzen

« back to all changes in this revision

Viewing changes to src/compiler/nir/nir_lower_alu_width.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:
91
91
nir_alu_ssa_dest_init(nir_alu_instr *alu, unsigned num_components,
92
92
                      unsigned bit_size)
93
93
{
94
 
   nir_ssa_dest_init(&alu->instr, &alu->dest.dest, num_components,
95
 
                     bit_size, NULL);
 
94
   nir_ssa_dest_init(&alu->instr, &alu->dest.dest, num_components, bit_size);
96
95
   alu->dest.write_mask = (1 << num_components) - 1;
97
96
}
98
97
 
220
219
   case nir_op_vec4:
221
220
   case nir_op_vec3:
222
221
   case nir_op_vec2:
223
 
   case nir_op_cube_face_coord_amd:
224
 
   case nir_op_cube_face_index_amd:
 
222
   case nir_op_cube_amd:
225
223
      /* We don't need to scalarize these ops, they're the ones generated to
226
224
       * group up outputs into a value that can be SSAed.
227
225
       */