Home
last modified time | relevance | path

Searched refs:max_layer (Results 1 – 11 of 11) sorted by relevance

/third_party/mesa3d/src/gallium/drivers/r600/
Dr600_blit.c121 unsigned layer, level, sample, checked_last_layer, max_layer, max_sample; in r600_blit_decompress_depth() local
160 max_layer = util_max_layer(&texture->resource.b.b, level); in r600_blit_decompress_depth()
161 checked_last_layer = last_layer < max_layer ? last_layer : max_layer; in r600_blit_decompress_depth()
196 first_layer == 0 && last_layer == max_layer && in r600_blit_decompress_depth()
214 unsigned layer, max_layer, checked_last_layer, level; in r600_blit_decompress_depth_in_place() local
237 max_layer = util_max_layer(&texture->resource.b.b, level); in r600_blit_decompress_depth_in_place()
238 checked_last_layer = last_layer < max_layer ? last_layer : max_layer; in r600_blit_decompress_depth_in_place()
256 if (first_layer == 0 && last_layer == max_layer) { in r600_blit_decompress_depth_in_place()
341 unsigned layer, level, checked_last_layer, max_layer; in r600_blit_decompress_color() local
352 max_layer = util_max_layer(&rtex->resource.b.b, level); in r600_blit_decompress_color()
[all …]
/third_party/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_scene.c606 unsigned max_layer = ~0; in lp_scene_begin_binning() local
636 max_layer = MIN2(max_layer, in lp_scene_begin_binning()
640 max_layer = 0; in lp_scene_begin_binning()
646 max_layer = MIN2(max_layer, zsbuf->u.tex.last_layer - zsbuf->u.tex.first_layer); in lp_scene_begin_binning()
648 scene->fb_max_layer = max_layer; in lp_scene_begin_binning()
/third_party/mesa3d/src/broadcom/vulkan/
Dv3dv_meta_clear.c99 uint32_t max_layer; in clear_image_tlb() local
102 max_layer = range->baseArrayLayer + in clear_image_tlb()
106 max_layer = 0; in clear_image_tlb()
111 max_layer = u_minify(image->vk.extent.depth, level); in clear_image_tlb()
122 v3dv_job_start_frame(job, width, height, max_layer, false, in clear_image_tlb()
140 range->aspectMask, min_layer, max_layer, level); in clear_image_tlb()
1169 uint32_t max_layer = rects[0].baseArrayLayer + rects[0].layerCount - 1; in gather_layering_info() local
1175 max_layer = MAX2(max_layer, rects[i].baseArrayLayer + in gather_layering_info()
1180 *is_layered = !(min_layer == 0 && max_layer == 0); in gather_layering_info()
Dv3dvx_meta_common.c941 uint32_t max_layer, in emit_clear_image_layers() argument
944 for (uint32_t layer = min_layer; layer < max_layer; layer++) { in emit_clear_image_layers()
958 uint32_t max_layer, in v3dX()
973 min_layer, max_layer, level); in v3dX()
Dv3dvx_private.h252 uint32_t max_layer,
Dv3dv_meta_copy.c2799 uint32_t *min_layer, uint32_t *max_layer,
3684 uint32_t *min_layer, uint32_t *max_layer, in compute_blit_3d_layers() argument
3690 *max_layer = offsets[1].z; in compute_blit_3d_layers()
3694 *max_layer = offsets[0].z; in compute_blit_3d_layers()
/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dsi_blit.c133 unsigned layer, sample, checked_last_layer, max_layer; in si_blit_dbcb_copy() local
151 max_layer = util_max_layer(&src->buffer.b.b, level); in si_blit_dbcb_copy()
152 checked_last_layer = MIN2(last_layer, max_layer); in si_blit_dbcb_copy()
184 if (first_layer == 0 && last_layer >= max_layer && first_sample == 0 && in si_blit_dbcb_copy()
205 unsigned layer, max_layer, checked_last_layer; in si_blit_decompress_zs_planes_in_place() local
228 max_layer = util_max_layer(&texture->buffer.b.b, level); in si_blit_decompress_zs_planes_in_place()
229 checked_last_layer = MIN2(last_layer, max_layer); in si_blit_decompress_zs_planes_in_place()
247 if (first_layer == 0 && last_layer >= max_layer) { in si_blit_decompress_zs_planes_in_place()
449 unsigned layer, checked_last_layer, max_layer; in si_blit_decompress_color() local
489 max_layer = util_max_layer(&tex->buffer.b.b, level); in si_blit_decompress_color()
[all …]
/third_party/mesa3d/src/gallium/drivers/softpipe/
Dsp_setup.c95 unsigned max_layer; member
790 layer = MIN2(layer, setup->max_layer); in sp_setup_tri()
1057 layer = MIN2(layer, setup->max_layer); in sp_setup_line()
1174 layer = MIN2(layer, setup->max_layer); in sp_setup_point()
1369 unsigned max_layer = ~0; in sp_setup_prepare() local
1386 max_layer = MIN2(max_layer, in sp_setup_prepare()
1402 setup->max_layer = max_layer; in sp_setup_prepare()
/third_party/mesa3d/src/mesa/state_tracker/
Dst_cb_texture.c1678 unsigned max_layer = util_max_layer(texture, level); in try_pbo_upload() local
1686 templ.u.tex.first_layer = MIN2(zoffset, max_layer); in try_pbo_upload()
1687 templ.u.tex.last_layer = MIN2(zoffset + depth - 1, max_layer); in try_pbo_upload()
1788 unsigned max_layer = util_max_layer(texture, level); in try_pbo_download() local
1797 templ.u.tex.first_layer = MIN2(zoffset, max_layer); in try_pbo_download()
1798 templ.u.tex.last_layer = MIN2(zoffset + depth - 1, max_layer); in try_pbo_download()
2230 unsigned bw, bh, level, max_layer; in st_CompressedTexSubImage() local
2310 max_layer = util_max_layer(texture, level); in st_CompressedTexSubImage()
2316 templ.u.tex.first_layer = MIN2(layer, max_layer); in st_CompressedTexSubImage()
2317 templ.u.tex.last_layer = MIN2(layer + d - 1, max_layer); in st_CompressedTexSubImage()
[all …]
/third_party/mesa3d/src/gallium/auxiliary/util/
Du_surface.c676 unsigned max_layer; in util_clear_depth_stencil() local
683 max_layer = dst->u.tex.last_layer - dst->u.tex.first_layer; in util_clear_depth_stencil()
687 width, height, max_layer + 1); in util_clear_depth_stencil()
/third_party/mesa3d/src/panfrost/lib/
Dpan_blitter.c1476 unsigned max_layer = info->dst.planes[0].image->layout.array_size - 1; in GENX() local
1479 ctx->dst.last_layer = MIN2(info->dst.end.layer, max_layer); in GENX()