Lines Matching refs:dst
129 nir_deref_instr *dst = nir_src_as_deref(cpy->src[0]);
133 if (dst == src) {
148 glsl_type_is_vector_or_scalar(dst->type) &&
149 glsl_get_explicit_size(dst->type, false) == size &&
154 data = nir_bitcast_vector(b, data, glsl_get_bit_size(dst->type));
155 assert(data->num_components == glsl_get_vector_elements(dst->type));
156 nir_store_deref_with_access(b, dst, data, ~0 /* write mask */,
162 if (dst->type == src->type &&
163 type_is_tightly_packed(dst->type, &type_size) &&
166 nir_copy_deref_with_access(b, dst, src,
184 if (dst->modes == nir_var_function_temp &&
185 type_is_tightly_packed(dst->type, &type_size) &&
189 src->modes, dst->type, 0);
190 nir_copy_deref_with_access(b, dst, src,
203 if (dst->deref_type == nir_deref_type_var &&
204 dst->modes == nir_var_function_temp &&
205 _mesa_set_search(complex_vars, dst->var) == NULL &&
206 glsl_get_explicit_size(dst->type, false) <= size) {
209 src->modes, dst->type, 0);
210 nir_copy_deref_with_access(b, dst, src,
220 dst = nir_build_deref_cast(b, &dst->dest.ssa,
221 dst->modes, src->type, 0);
222 nir_copy_deref_with_access(b, dst, src,