/external/mesa3d/src/panfrost/lib/ |
D | pan_texture.c | 140 unsigned *first_layer, unsigned *last_layer) in panfrost_adjust_cube_dimensions() argument 143 *last_face = *last_layer % 6; in panfrost_adjust_cube_dimensions() 145 *last_layer /= 6; in panfrost_adjust_cube_dimensions() 147 assert((*first_layer == *last_layer) || (*first_face == 0 && *last_face == 5)); in panfrost_adjust_cube_dimensions() 155 unsigned first_layer, unsigned last_layer, in panfrost_texture_num_elements() argument 163 &first_layer, &last_layer); in panfrost_texture_num_elements() 167 unsigned layers = 1 + last_layer - first_layer; in panfrost_texture_num_elements() 186 unsigned first_layer, unsigned last_layer, in panfrost_estimate_texture_payload_size() argument 195 first_layer, last_layer, in panfrost_estimate_texture_payload_size() 262 unsigned first_layer, unsigned last_layer, in panfrost_emit_texture_payload() argument [all …]
|
D | pan_texture.h | 66 unsigned first_layer, last_layer; member 94 unsigned first_layer, unsigned last_layer, 107 unsigned first_layer, unsigned last_layer, 124 unsigned first_layer, unsigned last_layer,
|
/external/mesa3d/src/mesa/state_tracker/ |
D | st_gen_mipmap.c | 61 uint lastLevel, first_layer, last_layer; in st_generate_mipmap() local 122 first_layer = last_layer = _mesa_tex_target_to_face(target); in st_generate_mipmap() 126 last_layer = util_max_layer(pt, baseLevel); in st_generate_mipmap() 144 lastLevel, first_layer, last_layer)) { in st_generate_mipmap() 147 first_layer, last_layer, PIPE_TEX_FILTER_LINEAR)) { in st_generate_mipmap()
|
D | st_atom_image.c | 121 img->u.tex.last_layer = u_minify(stObj->pt->depth0, img->u.tex.level) - 1; in st_convert_image() 124 img->u.tex.last_layer = u->_Layer; in st_convert_image() 128 img->u.tex.last_layer = u->_Layer + stObj->base.MinLayer; in st_convert_image() 131 img->u.tex.last_layer += stObj->base.NumLayers - 1; in st_convert_image() 133 img->u.tex.last_layer += img->resource->array_size - 1; in st_convert_image()
|
D | st_sampler_view.c | 457 last_layer(const struct st_texture_object *stObj) in last_layer() function 548 templ.u.tex.first_layer = templ.u.tex.last_layer = stObj->layer_override; in st_create_texture_sampler_view_from_stobj() 551 templ.u.tex.last_layer = last_layer(stObj); in st_create_texture_sampler_view_from_stobj() 553 assert(templ.u.tex.first_layer <= templ.u.tex.last_layer); in st_create_texture_sampler_view_from_stobj() 596 assert(stObj->layer_override >= 0 || last_layer(stObj) == view->u.tex.last_layer); in st_get_texture_sampler_view_from_stobj() 599 stObj->layer_override == view->u.tex.last_layer)); in st_get_texture_sampler_view_from_stobj()
|
D | st_cb_fbo.c | 502 unsigned first_layer, last_layer; in st_update_renderbuffer_surface() local 505 last_layer = util_max_layer(strb->texture, level); in st_update_renderbuffer_surface() 509 last_layer = strb->rtt_face + strb->rtt_slice; in st_update_renderbuffer_surface() 518 last_layer += tex->MinLayer; in st_update_renderbuffer_surface() 520 last_layer = MIN2(first_layer + tex->NumLayers - 1, last_layer); in st_update_renderbuffer_surface() 537 surf->u.tex.last_layer != last_layer) { in st_update_renderbuffer_surface() 545 surf_tmpl.u.tex.last_layer = last_layer; in st_update_renderbuffer_surface()
|
/external/mesa3d/src/gallium/drivers/swr/ |
D | swr_clear.cpp | 50 layers = std::max(layers, fb->cbufs[i]->u.tex.last_layer - in swr_clear() 57 layers = std::max(layers, fb->zsbuf->u.tex.last_layer - in swr_clear() 63 layers = std::max(layers, fb->zsbuf->u.tex.last_layer - in swr_clear() 86 (fb->zsbuf->u.tex.last_layer <= fb->zsbuf->u.tex.first_layer + i)) in swr_clear() 90 if (sf && (sf->u.tex.last_layer <= sf->u.tex.first_layer + i)) in swr_clear()
|
/external/mesa3d/src/gallium/drivers/radeonsi/ |
D | si_blit.c | 109 unsigned first_layer, unsigned last_layer, unsigned first_sample, in si_blit_dbcb_copy() argument 132 checked_last_layer = MIN2(last_layer, max_layer); in si_blit_dbcb_copy() 141 surf_tmpl.u.tex.last_layer = layer; in si_blit_dbcb_copy() 164 if (first_layer == 0 && last_layer >= max_layer && first_sample == 0 && in si_blit_dbcb_copy() 182 unsigned last_layer) in si_blit_decompress_zs_planes_in_place() argument 209 checked_last_layer = MIN2(last_layer, max_layer); in si_blit_decompress_zs_planes_in_place() 213 surf_tmpl.u.tex.last_layer = layer; in si_blit_decompress_zs_planes_in_place() 227 if (first_layer == 0 && last_layer >= max_layer) { in si_blit_decompress_zs_planes_in_place() 248 unsigned first_layer, unsigned last_layer) in si_blit_decompress_zs_in_place() argument 255 first_layer, last_layer); in si_blit_decompress_zs_in_place() [all …]
|
D | si_compute_blit.c | 511 image[0].u.tex.last_layer = src->target == PIPE_TEXTURE_3D ? u_minify(src->depth0, src_level) - 1 in si_compute_copy_image() 518 image[1].u.tex.last_layer = dst->target == PIPE_TEXTURE_3D ? u_minify(dst->depth0, dst_level) - 1 in si_compute_copy_image() 714 image.u.tex.last_layer = tex->array_size - 1; in si_compute_expand_fmask() 773 unsigned num_layers = dstsurf->u.tex.last_layer - dstsurf->u.tex.first_layer + 1; in si_compute_clear_render_target() 781 dstsurf->u.tex.first_layer, dstsurf->u.tex.last_layer); in si_compute_clear_render_target() 816 image.u.tex.last_layer = dstsurf->u.tex.last_layer; in si_compute_clear_render_target()
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
D | brw_generate_mipmap.c | 45 unsigned last_level, first_layer, last_layer; in brw_generate_mipmap() local 102 last_layer = first_layer; in brw_generate_mipmap() 105 last_layer = base_size->array_len - 1; in brw_generate_mipmap() 131 for (unsigned layer = first_layer; layer <= last_layer; layer++) { in brw_generate_mipmap()
|
/external/mesa3d/src/gallium/drivers/r600/ |
D | r600_blit.c | 115 unsigned first_layer, unsigned last_layer, in r600_blit_decompress_depth() argument 159 checked_last_layer = last_layer < max_layer ? last_layer : max_layer; in r600_blit_decompress_depth() 173 surf_tmpl.u.tex.last_layer = layer; in r600_blit_decompress_depth() 194 first_layer == 0 && last_layer == max_layer && in r600_blit_decompress_depth() 209 unsigned first_layer, unsigned last_layer) in r600_blit_decompress_depth_in_place() argument 236 checked_last_layer = last_layer < max_layer ? last_layer : max_layer; in r600_blit_decompress_depth_in_place() 240 surf_tmpl.u.tex.last_layer = layer; in r600_blit_decompress_depth_in_place() 254 if (first_layer == 0 && last_layer == max_layer) { in r600_blit_decompress_depth_in_place() 336 unsigned first_layer, unsigned last_layer) in r600_blit_decompress_color() argument 351 checked_last_layer = last_layer < max_layer ? last_layer : max_layer; in r600_blit_decompress_color() [all …]
|
/external/mesa3d/src/gallium/drivers/svga/ |
D | svga_pipe_clear.c | 280 tmpl.u.tex.last_layer = box->z + box->depth - 1; in svga_clear_texture() 411 unsigned last_layer = rtv->u.tex.last_layer; in svga_clear_texture() local 412 unsigned box_depth = last_layer - first_layer + 1; in svga_clear_texture() 415 rtv->u.tex.first_layer = rtv->u.tex.last_layer = in svga_clear_texture() 422 rtv->u.tex.last_layer = last_layer; in svga_clear_texture()
|
/external/mesa3d/src/gallium/drivers/zink/ |
D | zink_surface.c | 54 surface->base.u.tex.last_layer = templ->u.tex.last_layer; in zink_create_surface() 109 ivci.subresourceRange.layerCount = 1 + templ->u.tex.last_layer - templ->u.tex.first_layer; in zink_create_surface()
|
/external/mesa3d/src/gallium/drivers/freedreno/ |
D | freedreno_surface.c | 64 psurf->u.tex.last_layer = surf_tmpl->u.tex.last_layer; in fd_create_surface()
|
/external/crosvm/gpu_renderer/src/ |
D | command_buffer.rs | 108 last_layer: u32, in e_create_surface() 119 self.push(first_layer | (last_layer << 16)); in e_create_surface()
|
/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 122 (last_layer + 1 - first_layer); in util_gen_mipmap()
|
D | u_gen_mipmap.h | 44 uint first_layer, uint last_layer, uint filter);
|
D | u_framebuffer.c | 196 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()
|
/external/mesa3d/src/gallium/drivers/llvmpipe/ |
D | lp_state_sampler.c | 309 num_layers = view->u.tex.last_layer - view->u.tex.first_layer + 1; in prepare_shader_sampling() 318 assert(view->u.tex.first_layer <= view->u.tex.last_layer); in prepare_shader_sampling() 319 assert(view->u.tex.last_layer < res->array_size); in prepare_shader_sampling() 453 num_layers = view->u.tex.last_layer - view->u.tex.first_layer + 1; in prepare_shader_images() 454 assert(view->u.tex.first_layer <= view->u.tex.last_layer); in prepare_shader_images()
|
D | lp_surface.c | 207 assert(surf_tmpl->u.tex.first_layer <= surf_tmpl->u.tex.last_layer); in llvmpipe_create_surface() 212 ps->u.tex.last_layer = surf_tmpl->u.tex.last_layer; in llvmpipe_create_surface() 319 box.depth = dst->u.tex.last_layer - dst->u.tex.first_layer + 1; in llvmpipe_clear_render_target() 388 box.depth = dst->u.tex.last_layer - dst->u.tex.first_layer + 1; in llvmpipe_clear_depth_stencil()
|
/external/mesa3d/src/gallium/include/pipe/ |
D | p_state.h | 431 unsigned last_layer:16; member 483 unsigned last_layer:16; /**< last layer to use for array textures */ member 509 unsigned last_layer:16; /**< last layer to use for array textures */ member
|
/external/mesa3d/src/gallium/drivers/softpipe/ |
D | sp_state_sampler.c | 222 num_layers = view->u.tex.last_layer - view->u.tex.first_layer + 1; in prepare_shader_sampling() 231 assert(view->u.tex.first_layer <= view->u.tex.last_layer); in prepare_shader_sampling() 232 assert(view->u.tex.last_layer < res->array_size); in prepare_shader_sampling()
|
/external/mesa3d/src/gallium/drivers/v3d/ |
D | v3d_blit.c | 41 tmpl.u.tex.last_layer = 0; 281 .last_layer = info->dst.box.z, in v3d_stencil_blit() 296 .last_layer = (PIPE_TEXTURE_3D ? in v3d_stencil_blit() 468 unsigned int last_layer) in v3d_generate_mipmap() argument 476 if (first_layer != last_layer) in v3d_generate_mipmap()
|
/external/virglrenderer/src/gallium/include/pipe/ |
D | p_state.h | 350 unsigned last_layer:16; member 372 unsigned last_layer:16; /**< last layer to use for array textures */ member
|
/external/mesa3d/src/broadcom/vulkan/ |
D | v3dv_uniforms.c | 251 return image_view->last_layer - image_view->first_layer + 1; in get_texture_size_from_image_view() 253 assert((image_view->last_layer - image_view->first_layer + 1) % 6 == 0); in get_texture_size_from_image_view() 254 return (image_view->last_layer - image_view->first_layer + 1) / 6; in get_texture_size_from_image_view()
|