Lines Matching refs:dst

441                                      struct pipe_surface *dst,
451 util_blitter_clear_render_target(r300->blitter, dst, color,
458 struct pipe_surface *dst,
471 if (fb->zsbuf->texture == dst->texture) {
479 util_blitter_clear_depth_stencil(r300->blitter, dst, clear_flags, depth, stencil,
543 struct pipe_resource *dst,
556 unsigned dst_width0 = r300_resource(dst)->tex.width0;
557 unsigned dst_height0 = r300_resource(dst)->tex.height0;
564 if ((dst->target == PIPE_BUFFER && src->target == PIPE_BUFFER) ||
565 !r300_is_blit_supported(dst->format)) {
566 util_resource_copy_region(pipe, dst, dst_level, dstx, dsty, dstz,
572 if (src->nr_samples > 1 || dst->nr_samples > 1) {
580 util_blitter_default_dst_texture(&dst_templ, dst, dst_level, dstz);
590 !screen->is_format_supported(screen, dst_templ.format, dst->target,
591 dst->nr_samples, dst->nr_storage_samples,
657 dst->target, dst->nr_samples,
658 dst->nr_storage_samples,
665 util_resource_copy_region(pipe, dst, dst_level, dstx, dsty, dstz,
673 fb->zsbuf->texture == dst) {
678 dst_view = r300_create_surface_custom(pipe, dst, &dst_templ, dst_width0, dst_height0);
697 unsigned dst_width = u_minify(info->dst.resource->width0, info->dst.level);
698 unsigned dst_height = u_minify(info->dst.resource->height0, info->dst.level);
701 info->dst.resource->nr_samples <= 1 &&
702 info->dst.resource->format == info->src.resource->format &&
703 info->dst.resource->format == info->dst.format &&
709 info->dst.box.x == 0 &&
710 info->dst.box.y == 0 &&
711 info->dst.box.width == dst_width &&
712 info->dst.box.height == dst_height &&
717 (r300_resource(info->dst.resource)->tex.microtile != RADEON_LAYOUT_LINEAR ||
718 r300_resource(info->dst.resource)->tex.macrotile[info->dst.level] != RADEON_LAYOUT_LINEAR);
722 struct pipe_resource *dst,
741 dstsurf = r300_surface(pipe->create_surface(pipe, dst, &surf_tmpl));
778 assert(info->dst.box.depth == 1);
781 r300_simple_msaa_resolve(pipe, info->dst.resource, info->dst.level,
782 info->dst.box.z, info->src.resource,
830 info.dst.format = util_format_linear(info.dst.format);
849 info.dst.format == PIPE_FORMAT_S8_UINT_Z24_UNORM) {
850 if (info.dst.resource->nr_samples > 1) {
859 info.dst.format = PIPE_FORMAT_B8G8R8A8_UNORM;
871 fb->zsbuf->texture == info.dst.resource) {