Lines Matching refs:src_resource
604 areResourcesCompatible(const struct pipe_resource *src_resource, // IN in areResourcesCompatible() argument
607 if (src_resource->format == dst_resource->format) { in areResourcesCompatible()
613 } else if (src_resource->target == PIPE_BUFFER && in areResourcesCompatible()
629 src_format_desc = util_format_description(src_resource->format); in areResourcesCompatible()
668 struct pipe_resource *src_resource = pSrcResource->resource; in ResourceCopy() local
671 assert(dst_resource->target == src_resource->target); in ResourceCopy()
672 assert(dst_resource->width0 == src_resource->width0); in ResourceCopy()
673 assert(dst_resource->height0 == src_resource->height0); in ResourceCopy()
674 assert(dst_resource->depth0 == src_resource->depth0); in ResourceCopy()
675 assert(dst_resource->last_level == src_resource->last_level); in ResourceCopy()
676 assert(dst_resource->array_size == src_resource->array_size); in ResourceCopy()
678 compatible = areResourcesCompatible(src_resource, dst_resource); in ResourceCopy()
695 src_resource, level, in ResourceCopy()
701 src_resource, level, in ResourceCopy()
742 struct pipe_resource *src_resource = pSrcResource->resource; in ResourceCopyRegion() local
746 unsigned src_level = SrcSubResource % (src_resource->last_level + 1); in ResourceCopyRegion()
747 unsigned src_layer = SrcSubResource / (src_resource->last_level + 1); in ResourceCopyRegion()
761 src_box.width = u_minify(src_resource->width0, src_level); in ResourceCopyRegion()
762 src_box.height = u_minify(src_resource->height0, src_level); in ResourceCopyRegion()
763 src_box.depth = u_minify(src_resource->depth0, src_level); in ResourceCopyRegion()
766 if (areResourcesCompatible(src_resource, dst_resource)) { in ResourceCopyRegion()
770 src_resource, src_level, in ResourceCopyRegion()
776 src_resource, src_level, in ResourceCopyRegion()