Lines Matching refs:src1
68 struct vtn_ssa_value *src1 = wrap_matrix(b, _src1);
74 unsigned src1_columns = glsl_get_matrix_columns(src1->type);
90 src1 = src0_transpose;
99 /* We already have the rows of src0 and the columns of src1 available,
108 src1->elems[i]->def);
113 /* We don't handle the case where src1 is transposed but not src0, since
114 * the general case only uses individual components of src1 so the
115 * optimizer should chew through the transpose we emitted for src1.
119 /* dest[i] = sum(src0[j] * src1[i][j] for all j) */
122 nir_channel(&b->nb, src1->elems[i]->def, src0_columns - 1));
126 nir_channel(&b->nb, src1->elems[i]->def, j),
205 struct vtn_ssa_value *src0, struct vtn_ssa_value *src1)
221 nir_fadd(&b->nb, src0->elems[i]->def, src1->elems[i]->def);
230 nir_fsub(&b->nb, src0->elems[i]->def, src1->elems[i]->def);
240 src1->def));
242 return mat_times_scalar(b, src0, src1->def);
250 return matrix_multiply(b, vtn_ssa_transpose(b, src1), src0);
252 return matrix_multiply(b, src0, src1);
1159 nir_ssa_def *const src1 =
1163 nir_ssa_def *const mul_result = nir_imul(&b->nb, src0, src1);