Lines Matching defs:info

241    const struct intel_device_info *devinfo = isl_dev->info;
364 iris_blit(struct pipe_context *ctx, const struct pipe_blit_info *info)
373 assert((info->mask & PIPE_MASK_RGBA) == PIPE_MASK_RGBA ||
374 (info->mask & PIPE_MASK_RGBA) == 0);
376 if (info->render_condition_enable) {
384 float src_x0 = info->src.box.x;
385 float src_x1 = info->src.box.x + info->src.box.width;
386 float src_y0 = info->src.box.y;
387 float src_y1 = info->src.box.y + info->src.box.height;
388 float dst_x0 = info->dst.box.x;
389 float dst_x1 = info->dst.box.x + info->dst.box.width;
390 float dst_y0 = info->dst.box.y;
391 float dst_y1 = info->dst.box.y + info->dst.box.height;
396 if (info->scissor_enable) {
397 bool noop = apply_blit_scissor(&info->scissor,
407 (info->dst.resource->bind & PIPE_BIND_PRIME_BLIT_DST)) {
408 assert(!info->render_condition_enable);
409 assert(util_can_blit_via_copy_region(info, false, false));
411 info->dst.resource, info->dst.level,
412 info->dst.box.x, info->dst.box.y, info->dst.box.z,
413 info->src.resource, info->src.level,
414 &info->src.box);
418 if (abs(info->dst.box.width) == abs(info->src.box.width) &&
419 abs(info->dst.box.height) == abs(info->src.box.height)) {
420 if (info->src.resource->nr_samples > 1 &&
421 info->dst.resource->nr_samples <= 1) {
441 if (util_format_is_depth_or_stencil(info->src.format) ||
442 util_format_is_pure_integer(info->src.format)) {
459 } else if (info->filter == PIPE_TEX_FILTER_LINEAR) {
468 float src_z_step = (float)info->src.box.depth / (float)info->dst.box.depth;
474 if (info->src.resource->target == PIPE_TEXTURE_3D)
475 depth_center_offset = 0.5 / info->dst.box.depth * info->src.box.depth;
479 unsigned aspect_mask = info->mask & (PIPE_MASK_R | PIPE_MASK_ZS);
484 iris_resource_for_aspect(info->src.resource, aspect);
486 iris_resource_for_aspect(info->dst.resource, aspect);
489 pipe_format_for_aspect(info->src.format, aspect);
491 pipe_format_for_aspect(info->dst.format, aspect);
499 info->src.level, 1, info->src.box.z,
500 info->src.box.depth);
508 iris_resource_render_aux_usage(ice, dst_res, info->dst.level,
514 info->src.level, false);
517 info->dst.level, true);
519 iris_resource_prepare_render(ice, dst_res, info->dst.level,
520 info->dst.box.z, info->dst.box.depth,
533 for (int slice = 0; slice < info->dst.box.depth; slice++) {
534 unsigned dst_z = info->dst.box.z + slice;
535 float src_z = info->src.box.z + slice * src_z_step +
542 &src_surf, info->src.level, src_z,
544 &dst_surf, info->dst.level, dst_z,
555 iris_resource_finish_render(ice, dst_res, info->dst.level,
556 info->dst.box.z, info->dst.box.depth,
562 iris_dirty_for_history(ice, (struct iris_resource *)info->dst.resource);