/external/mesa3d/src/gallium/drivers/radeonsi/ |
D | si_blit.c | 108 unsigned first_layer, unsigned last_layer, in si_blit_dbcb_copy() argument 133 for (layer = first_layer; layer <= checked_last_layer; layer++) { in si_blit_dbcb_copy() 137 surf_tmpl.u.tex.first_layer = layer; in si_blit_dbcb_copy() 161 if (first_layer == 0 && last_layer >= max_layer && in si_blit_dbcb_copy() 177 unsigned first_layer, unsigned last_layer, in si_blit_decompress_depth() argument 195 first_layer, last_layer, first_sample, last_sample); in si_blit_decompress_depth() 204 unsigned first_layer, unsigned last_layer) in si_blit_decompress_zs_planes_in_place() argument 231 for (layer = first_layer; layer <= checked_last_layer; layer++) { in si_blit_decompress_zs_planes_in_place() 232 surf_tmpl.u.tex.first_layer = layer; in si_blit_decompress_zs_planes_in_place() 248 if (first_layer == 0 && last_layer >= max_layer) { in si_blit_decompress_zs_planes_in_place() [all …]
|
/external/mesa3d/src/mesa/state_tracker/ |
D | st_gen_mipmap.c | 85 uint lastLevel, first_layer, last_layer; in st_generate_mipmap() local 140 first_layer = last_layer = _mesa_tex_target_to_face(target); in st_generate_mipmap() 143 first_layer = 0; in st_generate_mipmap() 159 lastLevel, first_layer, last_layer)) { in st_generate_mipmap() 162 first_layer, last_layer, PIPE_TEX_FILTER_LINEAR)) { in st_generate_mipmap()
|
D | st_cb_blit.c | 202 blit.dst.box.z = dstSurf->u.tex.first_layer; in st_BlitFramebuffer() 249 blit.dst.box.z = dstSurf->u.tex.first_layer; in st_BlitFramebuffer() 254 blit.src.box.z = srcSurf->u.tex.first_layer; in st_BlitFramebuffer() 293 blit.dst.box.z = dstDepthSurf->u.tex.first_layer; in st_BlitFramebuffer() 298 blit.src.box.z = srcDepthRb->surface->u.tex.first_layer; in st_BlitFramebuffer() 311 blit.dst.box.z = dstDepthSurf->u.tex.first_layer; in st_BlitFramebuffer() 316 blit.src.box.z = srcDepthRb->surface->u.tex.first_layer; in st_BlitFramebuffer() 327 blit.dst.box.z = dstStencilSurf->u.tex.first_layer; in st_BlitFramebuffer() 332 blit.src.box.z = srcStencilRb->surface->u.tex.first_layer; in st_BlitFramebuffer()
|
D | st_cb_fbo.c | 415 unsigned first_layer, last_layer, level; in st_update_renderbuffer_surface() local 435 first_layer = 0; in st_update_renderbuffer_surface() 439 first_layer = in st_update_renderbuffer_surface() 447 first_layer += tex->MinLayer; in st_update_renderbuffer_surface() 451 last_layer = MIN2(first_layer + tex->NumLayers - 1, last_layer); in st_update_renderbuffer_surface() 461 strb->surface->u.tex.first_layer != first_layer || in st_update_renderbuffer_surface() 468 surf_tmpl.u.tex.first_layer = first_layer; in st_update_renderbuffer_surface() 797 strb->surface->u.tex.first_layer, in st_MapRenderbuffer()
|
D | st_sampler_view.c | 434 templ.u.tex.first_layer = templ.u.tex.last_layer = stObj->layer_override; in st_create_texture_sampler_view_from_stobj() 436 templ.u.tex.first_layer = stObj->base.MinLayer; in st_create_texture_sampler_view_from_stobj() 439 assert(templ.u.tex.first_layer <= templ.u.tex.last_layer); in st_create_texture_sampler_view_from_stobj() 485 assert(stObj->layer_override || stObj->base.MinLayer == view->u.tex.first_layer); in st_get_texture_sampler_view_from_stobj() 488 (stObj->layer_override == view->u.tex.first_layer && in st_get_texture_sampler_view_from_stobj()
|
D | st_cb_readpixels.c | 177 templ.u.tex.first_layer = surface->u.tex.first_layer; in try_pbo_readpixels() 180 addr.constants.layer_offset = surface->u.tex.first_layer; in try_pbo_readpixels() 314 blit.src.box.z = strb->surface->u.tex.first_layer; in blit_to_staging() 351 st->readpix_cache.layer != strb->surface->u.tex.first_layer) { in try_cached_readpixels() 356 st->readpix_cache.layer = strb->surface->u.tex.first_layer; in try_cached_readpixels()
|
D | st_atom_image.c | 103 img->u.tex.first_layer = 0; in st_bind_images() 106 img->u.tex.first_layer = u->_Layer; in st_bind_images() 110 img->u.tex.first_layer = u->_Layer + stObj->base.MinLayer; in st_bind_images()
|
/external/mesa3d/src/gallium/drivers/swr/ |
D | swr_clear.cpp | 50 fb->cbufs[i]->u.tex.first_layer + 1u); in swr_clear() 57 fb->zsbuf->u.tex.first_layer + 1u); in swr_clear() 63 fb->zsbuf->u.tex.first_layer + 1u); in swr_clear() 79 (fb->zsbuf->u.tex.last_layer <= fb->zsbuf->u.tex.first_layer + i)) in swr_clear() 83 if (sf && (sf->u.tex.last_layer <= sf->u.tex.first_layer + i)) in swr_clear()
|
/external/mesa3d/src/gallium/drivers/freedreno/ |
D | freedreno_surface.c | 48 debug_assert(surf_tmpl->u.tex.first_layer == surf_tmpl->u.tex.last_layer); in fd_create_surface() 61 psurf->u.tex.first_layer = surf_tmpl->u.tex.first_layer; in fd_create_surface()
|
/external/mesa3d/src/gallium/drivers/r600/ |
D | r600_blit.c | 110 unsigned first_layer, unsigned last_layer, in r600_blit_decompress_depth() argument 156 for (layer = first_layer; layer <= checked_last_layer; layer++) { in r600_blit_decompress_depth() 167 surf_tmpl.u.tex.first_layer = layer; in r600_blit_decompress_depth() 189 first_layer == 0 && last_layer == max_layer && in r600_blit_decompress_depth() 204 unsigned first_layer, unsigned last_layer) in r600_blit_decompress_depth_in_place() argument 233 for (layer = first_layer; layer <= checked_last_layer; layer++) { in r600_blit_decompress_depth_in_place() 234 surf_tmpl.u.tex.first_layer = layer; in r600_blit_decompress_depth_in_place() 249 if (first_layer == 0 && last_layer == max_layer) { in r600_blit_decompress_depth_in_place() 297 unsigned first_layer, unsigned last_layer) in r600_blit_decompress_color() argument 314 for (layer = first_layer; layer <= checked_last_layer; layer++) { in r600_blit_decompress_color() [all …]
|
/external/mesa3d/src/gallium/drivers/svga/ |
D | svga_surface.c | 228 layer = surf_tmpl->u.tex.first_layer; in svga_create_surface_view() 233 layer = surf_tmpl->u.tex.first_layer; in svga_create_surface_view() 235 nlayers = surf_tmpl->u.tex.last_layer - surf_tmpl->u.tex.first_layer + 1; in svga_create_surface_view() 239 zslice = surf_tmpl->u.tex.first_layer; in svga_create_surface_view() 249 s->base.u.tex.first_layer = surf_tmpl->u.tex.first_layer; in svga_create_surface_view() 460 s->base.u.tex.last_layer - s->base.u.tex.first_layer + 1; in svga_validate_surface_view() 572 svga_define_texture_level(tex, surf->u.tex.first_layer, in svga_mark_surface_dirty() 628 layer = surf->u.tex.first_layer; in svga_propagate_surface() 633 layer = surf->u.tex.first_layer; in svga_propagate_surface() 634 nlayers = surf->u.tex.last_layer - surf->u.tex.first_layer + 1; in svga_propagate_surface() [all …]
|
D | svga_pipe_clear.c | 285 tmpl.u.tex.first_layer = box->z; in svga_clear_texture() 440 unsigned first_layer = rtv->u.tex.first_layer; in svga_clear_texture() local 442 unsigned box_depth = last_layer - first_layer + 1; in svga_clear_texture() 445 rtv->u.tex.first_layer = rtv->u.tex.last_layer = in svga_clear_texture() 446 first_layer + i; in svga_clear_texture() 451 rtv->u.tex.first_layer = first_layer; in svga_clear_texture()
|
/external/mesa3d/src/gallium/drivers/ilo/ |
D | ilo_blit.h | 107 surf->u.tex.level, surf->u.tex.first_layer, in ilo_blit_resolve_surface() 108 surf->u.tex.last_layer - surf->u.tex.first_layer + 1, in ilo_blit_resolve_surface() 148 first_slice = view->u.tex.first_layer; in ilo_blit_resolve_view() 149 num_slices = view->u.tex.last_layer - view->u.tex.first_layer + 1; in ilo_blit_resolve_view()
|
/external/mesa3d/src/gallium/auxiliary/util/ |
D | u_gen_mipmap.c | 61 uint first_layer, uint last_layer, uint filter) in util_gen_mipmap() argument 120 blit.src.box.z = blit.dst.box.z = first_layer; in util_gen_mipmap() 122 (last_layer + 1 - first_layer); in util_gen_mipmap()
|
D | u_framebuffer.c | 197 fb->cbufs[i]->u.tex.first_layer + 1; in util_framebuffer_get_num_layers() 203 fb->zsbuf->u.tex.first_layer + 1; in util_framebuffer_get_num_layers()
|
/external/mesa3d/src/gallium/drivers/llvmpipe/ |
D | lp_scene.c | 175 cbuf->u.tex.first_layer, in lp_scene_begin_rasterization() 197 zsbuf->u.tex.first_layer, in lp_scene_begin_rasterization() 221 cbuf->u.tex.first_layer); in lp_scene_end_rasterization() 232 zsbuf->u.tex.first_layer); in lp_scene_end_rasterization() 537 cbuf->u.tex.last_layer - cbuf->u.tex.first_layer); in lp_scene_begin_binning() 546 max_layer = MIN2(max_layer, zsbuf->u.tex.last_layer - zsbuf->u.tex.first_layer); in lp_scene_begin_binning()
|
D | lp_surface.c | 152 assert(surf_tmpl->u.tex.first_layer <= surf_tmpl->u.tex.last_layer); in llvmpipe_create_surface() 156 ps->u.tex.first_layer = surf_tmpl->u.tex.first_layer; in llvmpipe_create_surface()
|
D | lp_state_sampler.c | 289 num_layers = view->u.tex.last_layer - view->u.tex.first_layer + 1; in prepare_shader_sampling() 291 mip_offsets[j] += view->u.tex.first_layer * in prepare_shader_sampling() 298 assert(view->u.tex.first_layer <= view->u.tex.last_layer); in prepare_shader_sampling()
|
/external/mesa3d/src/gallium/drivers/i915/ |
D | i915_surface.c | 292 unsigned offset = i915_texture_offset(tex, dst->u.tex.level, dst->u.tex.first_layer); in i915_clear_render_target_blitter() 322 unsigned offset = i915_texture_offset(tex, dst->u.tex.level, dst->u.tex.first_layer); in i915_clear_depth_stencil_blitter() 362 assert(surf_tmpl->u.tex.first_layer == surf_tmpl->u.tex.last_layer); in i915_create_surface_custom() 365 assert(surf_tmpl->u.tex.first_layer == 0); in i915_create_surface_custom() 376 ps->u.tex.first_layer = surf_tmpl->u.tex.first_layer; in i915_create_surface_custom()
|
/external/mesa3d/src/gallium/include/pipe/ |
D | p_state.h | 388 unsigned first_layer:16; member 430 unsigned first_layer:16; /**< first layer to use for array textures */ member 459 unsigned first_layer:16; /**< first layer to use for array textures */ member
|
/external/mesa3d/src/gallium/drivers/nouveau/nv50/ |
D | nv50_miptree.c | 483 ps->u.tex.first_layer = templ->u.tex.first_layer; in nv50_surface_from_miptree() 488 ns->depth = ps->u.tex.last_layer - ps->u.tex.first_layer + 1; in nv50_surface_from_miptree() 512 if (ns->base.u.tex.first_layer) { in nv50_miptree_surface_new() 514 const unsigned z = ns->base.u.tex.first_layer; in nv50_miptree_surface_new()
|
/external/mesa3d/src/gallium/drivers/softpipe/ |
D | sp_tex_sample.c | 481 coord_to_layer(float coord, unsigned first_layer, unsigned last_layer) in coord_to_layer() argument 484 return CLAMP(c, (int)first_layer, (int)last_layer); in coord_to_layer() 1036 addr.bits.z = sp_sview->base.u.tex.first_layer; in img_filter_2d_linear_repeat_POT() 1085 addr.bits.z = sp_sview->base.u.tex.first_layer; in img_filter_2d_nearest_repeat_POT() 1116 addr.bits.z = sp_sview->base.u.tex.first_layer; in img_filter_2d_nearest_clamp_POT() 1161 sp_sview->base.u.tex.first_layer); in img_filter_1d_nearest() 1179 const int layer = coord_to_layer(args->t, sp_sview->base.u.tex.first_layer, in img_filter_1d_array_nearest() 1222 addr.bits.z = sp_sview->base.u.tex.first_layer; in img_filter_2d_nearest() 1246 const int layer = coord_to_layer(args->p, sp_sview->base.u.tex.first_layer, in img_filter_2d_array_nearest() 1281 const int layerface = args->face_id + sp_sview->base.u.tex.first_layer; in img_filter_cube_nearest() [all …]
|
D | sp_state_sampler.c | 221 num_layers = view->u.tex.last_layer - view->u.tex.first_layer + 1; in prepare_shader_sampling() 223 mip_offsets[j] += view->u.tex.first_layer * in prepare_shader_sampling() 230 assert(view->u.tex.first_layer <= view->u.tex.last_layer); in prepare_shader_sampling()
|
/external/mesa3d/src/gallium/drivers/etnaviv/ |
D | etnaviv_surface.c | 51 assert(templat->u.tex.first_layer == templat->u.tex.last_layer); in etna_create_surface() 52 unsigned layer = templat->u.tex.first_layer; in etna_create_surface()
|
/external/mesa3d/src/gallium/drivers/freedreno/a5xx/ |
D | fd5_gmem.c | 80 debug_assert(psurf->u.tex.first_layer == psurf->u.tex.last_layer); in emit_mrt() 83 psurf->u.tex.first_layer); in emit_mrt() 295 debug_assert(psurf->u.tex.first_layer == psurf->u.tex.last_layer); in emit_mem2gmem_surf() 431 psurf->u.tex.first_layer); in emit_gmem2mem_surf() 433 debug_assert(psurf->u.tex.first_layer == psurf->u.tex.last_layer); in emit_gmem2mem_surf()
|