Home | History | Annotate | Download | only in nv50

Lines Matching defs:dst

74 nv50_2d_texture_set(struct nouveau_pushbuf *push, int dst,
80 uint32_t mthd = dst ? NV50_2D_DST_FORMAT : NV50_2D_SRC_FORMAT;
127 if (dst) {
140 struct nv50_miptree *dst, unsigned dst_level,
158 ret = nv50_2d_texture_set(push, 1, dst, dst_level, dz);
174 PUSH_DATA (push, dx << dst->ms_x);
175 PUSH_DATA (push, dy << dst->ms_y);
176 PUSH_DATA (push, w << dst->ms_x);
177 PUSH_DATA (push, h << dst->ms_y);
179 PUSH_DATA (push, duvdxy[2 + ((int)src->ms_x - (int)dst->ms_x)] & 0xf0000000);
180 PUSH_DATA (push, duvdxy[2 + ((int)src->ms_x - (int)dst->ms_x)] & 0x0000000f);
181 PUSH_DATA (push, duvdxy[2 + ((int)src->ms_y - (int)dst->ms_y)] & 0xf0000000);
182 PUSH_DATA (push, duvdxy[2 + ((int)src->ms_y - (int)dst->ms_y)] & 0x0000000f);
194 struct pipe_resource *dst, unsigned dst_level,
205 if (dst->target == PIPE_BUFFER && src->target == PIPE_BUFFER) {
206 util_resource_copy_region(pipe, dst, dst_level, dstx, dsty, dstz,
212 assert((src->nr_samples | 1) == (dst->nr_samples | 1));
214 m2mf = (src->format == dst->format) ||
216 util_format_get_blocksizebits(dst->format));
218 nv04_resource(dst)->status |= NOUVEAU_BUFFER_STATUS_GPU_WRITING;
226 nv50_m2mf_rect_setup(&drect, dst, dst_level, dstx, dsty, dstz);
233 if (nv50_miptree(dst)->layout_3d)
236 drect.base += nv50_miptree(dst)->layer_stride;
246 assert((src->format == dst->format) ||
248 nv50_2d_format_faithful(dst->format)));
251 BCTX_REFN(nv50->bufctx, 2D, nv04_resource(dst), WR);
257 nv50_miptree(dst), dst_level,
270 struct pipe_surface *dst,
277 struct nv50_miptree *mt = nv50_miptree(dst->texture);
278 struct nv50_surface *sf = nv50_surface(dst);
295 PUSH_DATA (push, nv50_format_table[dst->format].rt);
326 struct pipe_surface *dst,
335 struct nv50_miptree *mt = nv50_miptree(dst->texture);
336 struct nv50_surface *sf = nv50_surface(dst);
360 PUSH_DATA (push, nv50_format_table[dst->format].rt);
871 struct pipe_resource *dst = info->dst.res;
875 nv50_blitctx_get_color_mask_and_fp(blit, dst->format, info->mask);
877 blit->filter = util_format_is_depth_or_stencil(dst->format) ? 0 : 1;
881 nv50_blit_set_dst(nv50, dst, info->dst.level, info->dst.layer);
890 (float)(info->dst.x1 - info->dst.x0);
893 (float)(info->dst.y1 - info->dst.y0);
895 x0 = (float)info->src.x0 - x_range * (float)info->dst.x0;
896 y0 = (float)info->src.y0 - y_range * (float)info->dst.y0;
922 PUSH_DATA (push, (info->dst.x1 << 16) | info->dst.x0);
923 PUSH_DATA (push, (info->dst.y1 << 16) | info->dst.y0);
939 PUSH_DATAf(push, 16384 << nv50_miptree(dst)->ms_x);
947 PUSH_DATAf(push, 16384 << nv50_miptree(dst)->ms_y);