Lines Matching defs:dst
77 nvc0_2d_texture_set(struct nouveau_pushbuf *push, boolean dst,
83 uint32_t mthd = dst ? NVC0_2D_DST_FORMAT : NVC0_2D_SRC_FORMAT;
104 if (!dst) {
134 if (dst) {
147 struct nv50_miptree *dst, unsigned dst_level,
165 ret = nvc0_2d_texture_set(push, TRUE, dst, dst_level, dz);
181 PUSH_DATA (push, dx << dst->ms_x);
182 PUSH_DATA (push, dy << dst->ms_y);
183 PUSH_DATA (push, w << dst->ms_x);
184 PUSH_DATA (push, h << dst->ms_y);
186 PUSH_DATA (push, duvdxy[2 + ((int)src->ms_x - (int)dst->ms_x)] & 0xf0000000);
187 PUSH_DATA (push, duvdxy[2 + ((int)src->ms_x - (int)dst->ms_x)] & 0x0000000f);
188 PUSH_DATA (push, duvdxy[2 + ((int)src->ms_y - (int)dst->ms_y)] & 0xf0000000);
189 PUSH_DATA (push, duvdxy[2 + ((int)src->ms_y - (int)dst->ms_y)] & 0x0000000f);
201 struct pipe_resource *dst, unsigned dst_level,
212 if (dst->target == PIPE_BUFFER && src->target == PIPE_BUFFER) {
213 util_resource_copy_region(pipe, dst, dst_level, dstx, dsty, dstz,
219 assert((src->nr_samples | 1) == (dst->nr_samples | 1));
221 m2mf = (src->format == dst->format) ||
223 util_format_get_blocksizebits(dst->format));
225 nv04_resource(dst)->status |= NOUVEAU_BUFFER_STATUS_GPU_WRITING;
233 nv50_m2mf_rect_setup(&drect, dst, dst_level, dstx, dsty, dstz);
240 if (nv50_miptree(dst)->layout_3d)
243 drect.base += nv50_miptree(dst)->layer_stride;
254 assert(nvc0_2d_format_faithful(dst->format));
257 BCTX_REFN(nvc0->bufctx, 2D, nv04_resource(dst), WR);
263 nv50_miptree(dst), dst_level,
276 struct pipe_surface *dst,
283 struct nv50_surface *sf = nv50_surface(dst);
303 struct nv50_miptree *mt = nv50_miptree(dst->texture);
307 PUSH_DATA(push, nvc0_format_table[dst->format].rt);
310 PUSH_DATA(push, dst->u.tex.first_layer + sf->depth);
312 PUSH_DATA(push, dst->u.tex.first_layer);
344 struct pipe_surface *dst,
353 struct nv50_miptree *mt = nv50_miptree(dst->texture);
354 struct nv50_surface *sf = nv50_surface(dst);
378 PUSH_DATA (push, nvc0_format_table[dst->format].rt);
386 PUSH_DATA (push, (unk << 16) | (dst->u.tex.first_layer + sf->depth));
388 PUSH_DATA (push, dst->u.tex.first_layer);
957 struct pipe_resource *dst = info->dst.res;
967 nvc0_blitctx_get_color_mask_and_fp(blit, dst->format, info->mask);
969 blit->filter = util_format_is_depth_or_stencil(dst->format) ? 0 : 1;
973 nvc0_blit_set_dst(nvc0, dst, info->dst.level, info->dst.layer);
982 (float)(info->dst.x1 - info->dst.x0);
985 (float)(info->dst.y1 - info->dst.y0);
987 x0 = (float)info->src.x0 - x_range * (float)info->dst.x0;
988 y0 = (float)info->src.y0 - y_range * (float)info->dst.y0;
1011 PUSH_DATA (push, (info->dst.x1 << 16) | info->dst.x0);
1012 PUSH_DATA (push, (info->dst.y1 << 16) | info->dst.y0);
1031 PUSH_DATAf(push, 16384 << nv50_miptree(dst)->ms_x);
1040 PUSH_DATAf(push, 16384 << nv50_miptree(dst)->ms_y);