diff --git a/src/freedreno/ir3/ir3_nir_lower_tess.c b/src/freedreno/ir3/ir3_nir_lower_tess.c index 998132700fb..7ce254513a5 100644 --- a/src/freedreno/ir3/ir3_nir_lower_tess.c +++ b/src/freedreno/ir3/ir3_nir_lower_tess.c @@ -162,7 +162,7 @@ replace_intrinsic(nir_builder *b, nir_intrinsic_instr *intr, if (nir_intrinsic_infos[op].has_dest) nir_ssa_dest_init(&new_intr->instr, &new_intr->dest, intr->num_components, - 32, NULL); + intr->dest.ssa.bit_size, NULL); nir_builder_instr_insert(b, &new_intr->instr);