Home
last modified time | relevance | path

Searched refs:first_layer (Results 1 – 25 of 120) sorted by relevance

12345

/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_blit.c108 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/
Dst_gen_mipmap.c85 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()
Dst_cb_blit.c202 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()
Dst_cb_fbo.c415 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()
Dst_sampler_view.c434 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()
Dst_cb_readpixels.c177 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()
Dst_atom_image.c103 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/
Dswr_clear.cpp50 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/
Dfreedreno_surface.c48 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/
Dr600_blit.c110 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/
Dsvga_surface.c228 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 …]
Dsvga_pipe_clear.c285 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/
Dilo_blit.h107 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/
Du_gen_mipmap.c61 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()
Du_framebuffer.c197 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/
Dlp_scene.c175 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()
Dlp_surface.c152 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()
Dlp_state_sampler.c289 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/
Di915_surface.c292 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/
Dp_state.h388 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/
Dnv50_miptree.c483 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/
Dsp_tex_sample.c481 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 …]
Dsp_state_sampler.c221 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/
Detnaviv_surface.c51 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/
Dfd5_gmem.c80 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()

12345