Lines Matching refs:src
40 #define LVP_PIPELINE_DUP(dst, src, type, count) do { \
43 memcpy(temp, (src), sizeof(type) * count); \
157 nir_deref_instr *deref = nir_instr_as_deref(instr->src[0].ssa->parent_instr);
160 nir_binding b = nir_chase_binding(instr->src[0]);
308 if (!nir_src_is_const(tex_instr->src[idx].src))
310 offset = nir_src_comp_as_uint(tex_instr->src[idx].src, 0);
700 merge_layouts(struct lvp_pipeline *dst, struct lvp_pipeline_layout *src)
702 if (!src)
707 memcpy(dst->layout, src, sizeof(struct lvp_pipeline_layout));
712 const struct lvp_pipeline_layout *smaller = dst->layout->vk.set_count < src->vk.set_count ? dst->layout : src;
713 const struct lvp_pipeline_layout *bigger = smaller == dst->layout ? src : dst->layout;
729 for (unsigned i = 0; i < src->vk.set_count; i++) {
731 dst->layout->vk.set_layouts[i] = src->vk.set_layouts[i];
734 src->vk.set_count);
735 dst->layout->push_constant_size += src->push_constant_size;
736 dst->layout->push_constant_stages |= src->push_constant_stages;