Home
last modified time | relevance | path

Searched refs:src_level (Results 1 – 25 of 67) sorted by relevance

123

/third_party/mesa3d/src/mesa/state_tracker/
Dst_cb_copyimage.c271 unsigned src_level, in blit() argument
280 blit.src.level = src_level; in blit()
297 unsigned src_level, in swizzled_copy() argument
346 src, blit_src_format, src_level, src_box); in swizzled_copy()
416 unsigned src_level, in handle_complex_copy() argument
444 noncanon_format, src_level, src_box); in handle_complex_copy()
451 noncanon_format, src_level, src_box); in handle_complex_copy()
466 src_level, src_box); in handle_complex_copy()
477 canon_format, src_level, src_box); in handle_complex_copy()
490 swizzled_copy(pipe, temp, 0, 0, 0, 0, src, src_level, src_box); in handle_complex_copy()
[all …]
/third_party/mesa3d/src/gallium/drivers/d3d12/
Dd3d12_blit.cpp270 unsigned src_level, in copy_subregion_no_barriers() argument
320 …src_loc.SubresourceIndex = get_subresource_id(src->base.b.target, src_level, src_subres_stride, sr… in copy_subregion_no_barriers()
330 psrc_box->width == (int)u_minify(src->base.b.width0, src_level) && in copy_subregion_no_barriers()
331 psrc_box->height == (int)u_minify(src->base.b.height0, src_level) && in copy_subregion_no_barriers()
332 psrc_box->depth == (int)u_minify(src->base.b.depth0, src_level)) { in copy_subregion_no_barriers()
347 … src_box.right = MIN2(psrc_box->x + psrc_box->width, (int)u_minify(src->base.b.width0, src_level)); in copy_subregion_no_barriers()
349 …c_box.bottom = MIN2(psrc_box->y + psrc_box->height, (int)u_minify(src->base.b.height0, src_level)); in copy_subregion_no_barriers()
371 unsigned src_level, in copy_resource_y_flipped_no_barriers() argument
377 util_format_name(src->base.b.format), src_level, in copy_resource_y_flipped_no_barriers()
398 src, src_level, &src_box, mask); in copy_resource_y_flipped_no_barriers()
[all …]
Dd3d12_blit.h40 unsigned src_level,
/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dsi_test_image_copy_region.c569 unsigned src_level = j % (tsrc.last_level + 1); in si_test_image_copy_region() local
572 max_width = MIN2(u_minify(tsrc.width0, src_level), u_minify(tdst.width0, dst_level)); in si_test_image_copy_region()
573 max_height = MIN2(u_minify(tsrc.height0, src_level), u_minify(tdst.height0, dst_level)); in si_test_image_copy_region()
574 max_depth = MIN2(util_num_layers(&tsrc, src_level), util_num_layers(&tdst, dst_level)); in si_test_image_copy_region()
578 srcz = rand() % (util_num_layers(&tsrc, src_level) - depth + 1); in si_test_image_copy_region()
587 srcx = rand() % (u_minify(tsrc.width0, src_level) - width + 1); in si_test_image_copy_region()
588 srcy = rand() % (u_minify(tsrc.height0, src_level) - height + 1); in si_test_image_copy_region()
605 si_resource_copy_region(ctx, dst, dst_level, dstx, dsty, dstz, src, src_level, &box); in si_test_image_copy_region()
614 width, height, depth, src_cpu[src_level].ptr, src_cpu[src_level].stride, in si_test_image_copy_region()
615 src_cpu[src_level].layer_stride, srcx, srcy, srcz); in si_test_image_copy_region()
[all …]
/third_party/mesa3d/src/gallium/drivers/freedreno/
Dfreedreno_blitter.c320 unsigned src_level, in fd_blitter_pipe_copy_region() argument
338 src, src_level, src_box); in fd_blitter_pipe_copy_region()
352 unsigned src_level, const struct pipe_box *src_box) in fd_resource_copy_region() argument
383 info.src.level = src_level; in fd_resource_copy_region()
396 src_level, src_box)) in fd_resource_copy_region()
402 src_level, src_box); in fd_resource_copy_region()
Dfreedreno_blitter.h45 struct pipe_resource *src, unsigned src_level,
/third_party/mesa3d/src/gallium/drivers/svga/
Dsvga_pipe_blit.c52 unsigned src_level, in build_blit_info() argument
64 blit->src.level = src_level; in build_blit_info()
116 unsigned src_level, unsigned src_layer_face, in copy_region_vgpu10() argument
130 srcSubResource = src_layer_face * (src_tex->last_level + 1) + src_level; in copy_region_vgpu10()
154 struct pipe_resource *src_tex, unsigned src_level, in copy_region_fallback() argument
161 dsty, dstz, src_tex, src_level, src_box); in copy_region_fallback()
896 unsigned src_level, in svga_resource_copy_region() argument
933 dsty, dstz, src_tex, src_level, src_box); in svga_resource_copy_region()
939 src_tex, src_level, src_box, &blit); in svga_resource_copy_region()
957 src_tex, src_level, src_box); in svga_resource_copy_region()
Dsvga_surface.h122 unsigned src_level, unsigned src_face,
/third_party/mesa3d/src/gallium/drivers/crocus/
Dcrocus_blit.c681 unsigned src_level, in crocus_copy_region() argument
694 src_res, src_level, src_box)) in crocus_copy_region()
730 src, src_aux_usage, src_level, false); in crocus_copy_region()
734 crocus_resource_prepare_access(ice, src_res, src_level, 1, in crocus_copy_region()
746 blorp_copy(&blorp_batch, &src_surf, src_level, src_box->z + slice, in crocus_copy_region()
772 unsigned src_level, in crocus_resource_copy_region() argument
789 p_src, src_level, src_box); in crocus_resource_copy_region()
793 p_src, src_level, src_box); in crocus_resource_copy_region()
803 dsty, dstz, &s_src_res->base.b, src_level, src_box); in crocus_resource_copy_region()
Dcrocus_blt.c239 unsigned src_level, in crocus_emit_blt() argument
265 crocus_resource_get_image_offset(src, src_level, src_box->z, &src_image_x, in crocus_emit_blt()
395 unsigned src_level, in crocus_copy_region_blt() argument
405 src_level, in crocus_copy_region_blt()
/third_party/mesa3d/src/gallium/drivers/iris/
Diris_blit.c655 unsigned src_level, in iris_copy_region() argument
670 get_copy_region_aux_settings(ice, batch, src_res, src_level, in iris_copy_region()
714 src, src_aux_usage, src_level, false); in iris_copy_region()
718 iris_resource_prepare_access(ice, src_res, src_level, 1, in iris_copy_region()
733 blorp_copy(&blorp_batch, &src_surf, src_level, src_box->z + slice, in iris_copy_region()
761 unsigned src_level, in iris_resource_copy_region() argument
768 p_src, src_level, src_box); in iris_resource_copy_region()
777 dsty, dstz, &s_src_res->base.b, src_level, src_box); in iris_resource_copy_region()
/third_party/mesa3d/src/gallium/drivers/i915/
Di915_surface.c78 unsigned src_level, const struct pipe_box *src_box) in i915_surface_copy_render() argument
104 util_blitter_default_src_texture(i915->blitter, &src_templ, src, src_level); in i915_surface_copy_render()
126 src_level, src_box); in i915_surface_copy_render()
199 unsigned src_level, const struct pipe_box *src_box) in i915_surface_copy_blitter() argument
204 src_level, src_box); in i915_surface_copy_blitter()
222 src_offset = i915_texture_offset(src_tex, src_level, src_box->z); in i915_surface_copy_blitter()
/third_party/mesa3d/src/gallium/frontends/d3d10umd/
DResource.cpp746 unsigned src_level = SrcSubResource % (src_resource->last_level + 1); in ResourceCopyRegion() local
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()
770 src_resource, src_level, in ResourceCopyRegion()
776 src_resource, src_level, in ResourceCopyRegion()
/third_party/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_surface.c43 struct pipe_resource *src, unsigned src_level, in lp_resource_copy_ms() argument
88 struct pipe_resource *src, unsigned src_level, in lp_resource_copy() argument
99 src, src_level, in lp_resource_copy()
109 src, src_level, src_box); in lp_resource_copy()
113 src, src_level, src_box); in lp_resource_copy()
/third_party/mesa3d/src/gallium/drivers/etnaviv/
Detnaviv_clear_blit.c155 unsigned src_level, const struct pipe_box *src_box) in etna_resource_copy_region() argument
163 src, src_level, src_box); in etna_resource_copy_region()
166 src_level, src_box); in etna_resource_copy_region()
/third_party/mesa3d/src/gallium/auxiliary/util/
Du_surface.c207 unsigned src_level, in util_resource_copy_region() argument
282 assert(src_box.x + src_box.width <= (int)u_minify(src->width0, src_level)); in util_resource_copy_region()
283 assert(src_box.y + src_box.height <= (int)u_minify(src->height0, src_level)); in util_resource_copy_region()
294 src_level, in util_resource_copy_region()
325 src_level, in util_resource_copy_region()
Du_surface.h82 unsigned src_level,
Du_blitter.h244 unsigned src_level,
400 unsigned src_level,
Du_blitter.c1777 unsigned src_level, in util_blitter_copy_texture() argument
1797 util_blitter_default_src_texture(blitter, &src_templ, src, src_level); in util_blitter_copy_texture()
2286 unsigned src_level; in util_blitter_generate_mipmap() local
2332 for (src_level = base_level; src_level < last_level; src_level++) { in util_blitter_generate_mipmap()
2334 unsigned dst_level = src_level + 1; in util_blitter_generate_mipmap()
2339 srcbox.width = u_minify(tex->width0, src_level); in util_blitter_generate_mipmap()
2340 srcbox.height = u_minify(tex->height0, src_level); in util_blitter_generate_mipmap()
2344 srcbox.depth = util_num_layers(tex, src_level); in util_blitter_generate_mipmap()
2357 util_blitter_default_src_texture(blitter, &src_templ, tex, src_level); in util_blitter_generate_mipmap()
2880 unsigned src_level, in util_blitter_stencil_fallback() argument
[all …]
/third_party/mesa3d/src/intel/blorp/
Dblorp.h157 unsigned src_level, float src_layer,
172 unsigned src_level, unsigned src_layer,
/third_party/mesa3d/src/gallium/drivers/r600/
Dr600_state.c2857 unsigned src_level, in r600_dma_copy_tile() argument
2873 src_mode = rsrc->surface.u.legacy.level[src_level].mode; in r600_dma_copy_tile()
2883 …slice_tile_max = (rsrc->surface.u.legacy.level[src_level].nblk_x * rsrc->surface.u.legacy.level[sr… in r600_dma_copy_tile()
2890 height = u_minify(rsrc->resource.b.b.height0, src_level); in r600_dma_copy_tile()
2895 base = (uint64_t)rsrc->surface.u.legacy.level[src_level].offset_256B * 256; in r600_dma_copy_tile()
2915 addr = (uint64_t)rsrc->surface.u.legacy.level[src_level].offset_256B * 256; in r600_dma_copy_tile()
2916 addr += (uint64_t)rsrc->surface.u.legacy.level[src_level].slice_size_dw * 4 * src_z; in r600_dma_copy_tile()
2958 unsigned src_level, in r600_dma_copy() argument
2983 dstz, rsrc, src_level, src_box)) in r600_dma_copy()
2993 src_pitch = rsrc->surface.u.legacy.level[src_level].nblk_x * rsrc->surface.bpe; in r600_dma_copy()
[all …]
Dr600_blit.c670 unsigned src_level, in r600_resource_copy_region() argument
695 if (!r600_decompress_subresource(ctx, src, src_level, in r600_resource_copy_region()
704 src_widthFL = u_minify(src->width0, src_level); in r600_resource_copy_region()
705 src_heightFL = u_minify(src->height0, src_level); in r600_resource_copy_region()
708 util_blitter_default_src_texture(rctx->blitter, &src_templ, src, src_level); in r600_resource_copy_region()
738 src_force_level = src_level; in r600_resource_copy_region()
/third_party/mesa3d/src/gallium/drivers/nouveau/nv30/
Dnv30_resource.h75 struct pipe_resource *src, unsigned src_level,
/third_party/mesa3d/src/gallium/drivers/virgl/
Dvirgl_texture.c37 unsigned src_level, in virgl_copy_region_with_blit() argument
45 blit.src.level = src_level; in virgl_copy_region_with_blit()
/third_party/mesa3d/src/compiler/nir/
Dnir_split_vars.c653 unsigned src_level, nir_deref_instr *src) in emit_split_copies() argument
665 while ((src_p = src_path->path[src_level + 1])) { in emit_split_copies()
670 src_level++; in emit_split_copies()
681 (src_info && src_info->levels[src_level].split)) { in emit_split_copies()
686 glsl_get_length(src_path->path[src_level]->type)); in emit_split_copies()
691 src_info, src_path, src_level + 1, in emit_split_copies()
698 src_info, src_path, src_level + 1, in emit_split_copies()

123