Home
last modified time | relevance | path

Searched refs:last_layer (Results 1 – 25 of 160) sorted by relevance

1234567

/third_party/mesa3d/src/panfrost/lib/
Dpan_texture.c126 unsigned *first_layer, unsigned *last_layer) in panfrost_adjust_cube_dimensions() argument
129 *last_face = *last_layer % 6; in panfrost_adjust_cube_dimensions()
131 *last_layer /= 6; in panfrost_adjust_cube_dimensions()
133 assert((*first_layer == *last_layer) || (*first_face == 0 && *last_face == 5)); in panfrost_adjust_cube_dimensions()
141 unsigned first_layer, unsigned last_layer, in panfrost_texture_num_elements() argument
148 &first_layer, &last_layer); in panfrost_texture_num_elements()
152 unsigned layers = 1 + last_layer - first_layer; in panfrost_texture_num_elements()
176 iview->first_layer, iview->last_layer, in GENX()
184 unsigned layer, last_layer; member
192 unsigned first_layer, unsigned last_layer, in panfrost_surface_iter_begin() argument
[all …]
Dpan_blitter.h79 int32_t last_layer; member
108 if (ctx->dst.last_layer < ctx->dst.layer_offset) { in pan_blit_next_surface()
109 if (ctx->dst.cur_layer <= ctx->dst.last_layer) in pan_blit_next_surface()
114 if (ctx->dst.cur_layer >= ctx->dst.last_layer) in pan_blit_next_surface()
Dpan_blitter.c662 key.surfaces[0].array = views->src_z->first_layer != views->src_z->last_layer; in pan_blitter_get_key()
672 key.surfaces[1].array = views->src_s->first_layer != views->src_s->last_layer; in pan_blitter_get_key()
688 … key.surfaces[i].array = views->src_rts[i]->first_layer != views->src_rts[i]->last_layer; in pan_blitter_get_key()
1430 .last_layer = info->src.end.layer, in GENX()
1446 .last_layer = info->dst.start.layer, in GENX()
1467 ctx->dst.last_layer = info->dst.end.z; in GENX()
1470 ctx->dst.last_layer = info->dst.end.z - 1; in GENX()
1473 ctx->dst.last_layer = MIN2(MAX2(ctx->dst.last_layer, 0), max_z); in GENX()
1479 ctx->dst.last_layer = MIN2(info->dst.end.layer, max_layer); in GENX()
1551 (ctx->dst.last_layer >= ctx->dst.layer_offset && in GENX()
[all …]
/third_party/mesa3d/src/mesa/state_tracker/
Dst_gen_mipmap.c56 uint lastLevel, first_layer, last_layer; in st_generate_mipmap() local
117 first_layer = last_layer = _mesa_tex_target_to_face(target); in st_generate_mipmap()
121 last_layer = util_max_layer(pt, baseLevel); in st_generate_mipmap()
139 lastLevel, first_layer, last_layer)) { in st_generate_mipmap()
142 first_layer, last_layer, PIPE_TEX_FILTER_LINEAR)) { in st_generate_mipmap()
Dst_atom_image.c119 img->u.tex.last_layer = u_minify(stObj->pt->depth0, img->u.tex.level) - 1; in st_convert_image()
122 img->u.tex.last_layer = u->_Layer; in st_convert_image()
126 img->u.tex.last_layer = u->_Layer + stObj->Attrib.MinLayer; in st_convert_image()
129 img->u.tex.last_layer += stObj->Attrib.NumLayers - 1; in st_convert_image()
131 img->u.tex.last_layer += img->resource->array_size - 1; in st_convert_image()
Dst_sampler_view.c497 last_layer(const struct gl_texture_object *texObj) in last_layer() function
607 templ.u.tex.first_layer = templ.u.tex.last_layer = texObj->layer_override; in st_create_texture_sampler_view_from_stobj()
610 templ.u.tex.last_layer = last_layer(texObj); in st_create_texture_sampler_view_from_stobj()
612 assert(templ.u.tex.first_layer <= templ.u.tex.last_layer); in st_create_texture_sampler_view_from_stobj()
658 assert(texObj->layer_override >= 0 || last_layer(texObj) == view->u.tex.last_layer); in st_get_texture_sampler_view_from_stobj()
661 texObj->layer_override == view->u.tex.last_layer)); in st_get_texture_sampler_view_from_stobj()
/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dsi_blit.c129 unsigned first_layer, unsigned last_layer, unsigned first_sample, in si_blit_dbcb_copy() argument
152 checked_last_layer = MIN2(last_layer, max_layer); in si_blit_dbcb_copy()
161 surf_tmpl.u.tex.last_layer = layer; in si_blit_dbcb_copy()
184 if (first_layer == 0 && last_layer >= max_layer && first_sample == 0 && in si_blit_dbcb_copy()
202 unsigned last_layer) in si_blit_decompress_zs_planes_in_place() argument
229 checked_last_layer = MIN2(last_layer, max_layer); in si_blit_decompress_zs_planes_in_place()
233 surf_tmpl.u.tex.last_layer = 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()
268 unsigned first_layer, unsigned last_layer) in si_blit_decompress_zs_in_place() argument
275 first_layer, last_layer); in si_blit_decompress_zs_in_place()
[all …]
Dsi_compute_blit.c589 images[i].u.tex.last_layer, in si_launch_grid_internal_images()
728 image[0].u.tex.last_layer = util_max_layer(src, src_level); in si_compute_copy_image()
734 image[1].u.tex.last_layer = util_max_layer(dst, dst_level); in si_compute_copy_image()
903 image.u.tex.last_layer = tex->array_size - 1; in si_compute_expand_fmask()
960 unsigned num_layers = dstsurf->u.tex.last_layer - dstsurf->u.tex.first_layer + 1; in si_compute_clear_render_target()
990 image.u.tex.last_layer = dstsurf->u.tex.last_layer; in si_compute_clear_render_target()
/third_party/mesa3d/src/mesa/main/
Drenderbuffer.c548 surf_tmpl.u.tex.last_layer = surf->u.tex.last_layer; in _mesa_regen_renderbuffer_surface()
609 unsigned first_layer, last_layer; in _mesa_update_renderbuffer_surface() local
612 last_layer = util_max_layer(rb->texture, level); in _mesa_update_renderbuffer_surface()
616 last_layer = rb->rtt_face + rb->rtt_slice; in _mesa_update_renderbuffer_surface()
625 last_layer += tex->Attrib.MinLayer; in _mesa_update_renderbuffer_surface()
627 last_layer = MIN2(first_layer + tex->Attrib.NumLayers - 1, in _mesa_update_renderbuffer_surface()
628 last_layer); in _mesa_update_renderbuffer_surface()
645 surf->u.tex.last_layer != last_layer) { in _mesa_update_renderbuffer_surface()
653 surf_tmpl.u.tex.last_layer = last_layer; in _mesa_update_renderbuffer_surface()
/third_party/mesa3d/src/gallium/drivers/r600/
Dr600_blit.c117 unsigned first_layer, unsigned last_layer, in r600_blit_decompress_depth() argument
161 checked_last_layer = last_layer < max_layer ? last_layer : max_layer; in r600_blit_decompress_depth()
175 surf_tmpl.u.tex.last_layer = layer; in r600_blit_decompress_depth()
196 first_layer == 0 && last_layer == max_layer && in r600_blit_decompress_depth()
211 unsigned first_layer, unsigned last_layer) in r600_blit_decompress_depth_in_place() argument
238 checked_last_layer = last_layer < max_layer ? last_layer : max_layer; in r600_blit_decompress_depth_in_place()
242 surf_tmpl.u.tex.last_layer = layer; in r600_blit_decompress_depth_in_place()
256 if (first_layer == 0 && last_layer == max_layer) { in r600_blit_decompress_depth_in_place()
338 unsigned first_layer, unsigned last_layer) in r600_blit_decompress_color() argument
353 checked_last_layer = last_layer < max_layer ? last_layer : max_layer; in r600_blit_decompress_color()
[all …]
/third_party/mesa3d/src/gallium/drivers/d3d12/
Dd3d12_surface.cpp110 desc.Texture1DArray.ArraySize = tpl->u.tex.last_layer - tpl->u.tex.first_layer + 1; in initialize_dsv()
130 desc.Texture2DMSArray.ArraySize = tpl->u.tex.last_layer - tpl->u.tex.first_layer + 1; in initialize_dsv()
136 desc.Texture2DArray.ArraySize = tpl->u.tex.last_layer - tpl->u.tex.first_layer + 1; in initialize_dsv()
182 desc.Texture1DArray.ArraySize = tpl->u.tex.last_layer - tpl->u.tex.first_layer + 1; in initialize_rtv()
202 desc.Texture2DMSArray.ArraySize = tpl->u.tex.last_layer - tpl->u.tex.first_layer + 1; in initialize_rtv()
208 desc.Texture2DArray.ArraySize = tpl->u.tex.last_layer - tpl->u.tex.first_layer + 1; in initialize_rtv()
215 desc.Texture3D.WSize = tpl->u.tex.last_layer - tpl->u.tex.first_layer + 1; in initialize_rtv()
255 surface->base.u.tex.last_layer = tpl->u.tex.last_layer; in d3d12_create_surface()
/third_party/mesa3d/src/gallium/drivers/zink/
Dzink_surface.h125 zink_surface_clamp_viewtype(VkImageViewType viewType, unsigned first_layer, unsigned last_layer, un… in zink_surface_clamp_viewtype() argument
127 unsigned layerCount = 1 + last_layer - first_layer; in zink_surface_clamp_viewtype()
129 if (first_layer == last_layer) in zink_surface_clamp_viewtype()
Dzink_surface.c101 ivci.subresourceRange.layerCount = 1 + templ->u.tex.last_layer - templ->u.tex.first_layer; in create_ivci()
104 …e_clamp_viewtype(ivci.viewType, templ->u.tex.first_layer, templ->u.tex.last_layer, res->base.b.arr… in create_ivci()
174 surface->base.u.tex.last_layer = templ->u.tex.last_layer; in create_surface()
261 bool is_array = templ->u.tex.last_layer != templ->u.tex.first_layer; in zink_create_surface()
/third_party/mesa3d/src/gallium/drivers/svga/
Dsvga_pipe_clear.c296 tmpl.u.tex.last_layer = box->z + box->depth - 1; in svga_clear_texture()
443 unsigned last_layer = rtv->u.tex.last_layer; in svga_clear_texture() local
444 unsigned box_depth = last_layer - first_layer + 1; in svga_clear_texture()
447 rtv->u.tex.first_layer = rtv->u.tex.last_layer = in svga_clear_texture()
454 rtv->u.tex.last_layer = last_layer; in svga_clear_texture()
Dsvga_image_view.c93 desc.tex.arraySize = image->u.tex.last_layer - image->u.tex.first_layer + 1; in svga_create_uav_image()
102 desc.tex3D.wSize = image->u.tex.last_layer - image->u.tex.first_layer + 1; in svga_create_uav_image()
200 img->u.tex.last_layer, img->u.tex.level); in svga_set_shader_images()
/third_party/mesa3d/src/gallium/drivers/freedreno/
Dfreedreno_surface.c61 psurf->u.tex.last_layer = surf_tmpl->u.tex.last_layer; in fd_create_surface()
/third_party/mesa3d/src/gallium/frontends/d3d10umd/
DOutputMerger.cpp105 desc.u.tex.last_layer = pCreateRenderTargetView->Tex1D.ArraySize - 1 + in CreateRenderTargetView()
112 desc.u.tex.last_layer = pCreateRenderTargetView->Tex2D.ArraySize - 1 + in CreateRenderTargetView()
118 desc.u.tex.last_layer = pCreateRenderTargetView->Tex3D.WSize - 1 + in CreateRenderTargetView()
125 desc.u.tex.last_layer = pCreateRenderTargetView->TexCube.ArraySize - 1 + in CreateRenderTargetView()
300 desc.u.tex.last_layer = pCreateDepthStencilView->Tex1D.ArraySize - 1 + in CreateDepthStencilView()
307 desc.u.tex.last_layer = pCreateDepthStencilView->Tex2D.ArraySize - 1 + in CreateDepthStencilView()
314 desc.u.tex.last_layer = pCreateDepthStencilView->TexCube.ArraySize - 1 + in CreateDepthStencilView()
/third_party/mesa3d/src/gallium/auxiliary/util/
Du_gen_mipmap.c61 uint first_layer, uint last_layer, uint filter) in util_gen_mipmap() argument
122 (last_layer + 1 - first_layer); in util_gen_mipmap()
Du_gen_mipmap.h44 uint first_layer, uint last_layer, uint filter);
Du_framebuffer.c196 unsigned num = fb->cbufs[i]->u.tex.last_layer - in util_framebuffer_get_num_layers()
202 unsigned num = fb->zsbuf->u.tex.last_layer - in util_framebuffer_get_num_layers()
/third_party/mesa3d/src/gallium/include/pipe/
Dp_state.h444 unsigned last_layer:16; member
498 unsigned last_layer:16; /**< last layer to use for array textures */ member
524 unsigned last_layer:16; /**< last layer to use for array textures */ member
/third_party/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_surface.c218 assert(surf_tmpl->u.tex.first_layer <= surf_tmpl->u.tex.last_layer); in llvmpipe_create_surface()
223 ps->u.tex.last_layer = surf_tmpl->u.tex.last_layer; in llvmpipe_create_surface()
333 box.depth = dst->u.tex.last_layer - dst->u.tex.first_layer + 1; in llvmpipe_clear_render_target()
405 box.depth = dst->u.tex.last_layer - dst->u.tex.first_layer + 1; in llvmpipe_clear_depth_stencil()
Dlp_state_sampler.c328 num_layers = view->u.tex.last_layer - view->u.tex.first_layer + 1; in prepare_shader_sampling()
337 assert(view->u.tex.first_layer <= view->u.tex.last_layer); in prepare_shader_sampling()
338 assert(view->u.tex.last_layer < res->array_size); in prepare_shader_sampling()
499 num_layers = view->u.tex.last_layer - view->u.tex.first_layer + 1; in prepare_shader_images()
500 assert(view->u.tex.first_layer <= view->u.tex.last_layer); in prepare_shader_images()
/third_party/mesa3d/src/gallium/drivers/softpipe/
Dsp_state_sampler.c236 num_layers = view->u.tex.last_layer - view->u.tex.first_layer + 1; in prepare_shader_sampling()
245 assert(view->u.tex.first_layer <= view->u.tex.last_layer); in prepare_shader_sampling()
246 assert(view->u.tex.last_layer < res->array_size); in prepare_shader_sampling()
/third_party/mesa3d/src/gallium/drivers/panfrost/
Dpan_job.c516 rts[i].last_layer = surf->u.tex.last_layer; in panfrost_batch_to_fb_info()
544 zs->last_layer = surf->u.tex.last_layer; in panfrost_batch_to_fb_info()
561 s->last_layer = surf->u.tex.last_layer; in panfrost_batch_to_fb_info()

1234567