Searched refs:last_layer (Results 1 - 25 of 279) sorted by relevance

1234567891011>>

/xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/util/
H A Du_gen_mipmap.h44 uint first_layer, uint last_layer, uint filter);
H A Du_gen_mipmap.c51 * \param last_layer the last layer to generate mipmap levels for
61 uint first_layer, uint last_layer, uint filter)
122 (last_layer + 1 - first_layer);
59 util_gen_mipmap(struct pipe_context * pipe,struct pipe_resource * pt,enum pipe_format format,uint base_level,uint last_level,uint first_layer,uint last_layer,uint filter) argument
H A Du_sampler.c53 view->u.tex.last_layer = texture->target == PIPE_TEXTURE_3D ?
/xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/util/
H A Du_gen_mipmap.h44 uint first_layer, uint last_layer, uint filter);
H A Du_gen_mipmap.c51 * \param last_layer the last layer to generate mipmap levels for
61 uint first_layer, uint last_layer, uint filter)
122 (last_layer + 1 - first_layer);
59 util_gen_mipmap(struct pipe_context * pipe,struct pipe_resource * pt,enum pipe_format format,uint base_level,uint last_level,uint first_layer,uint last_layer,uint filter) argument
H A Du_sampler.c53 view->u.tex.last_layer = texture->target == PIPE_TEXTURE_3D ?
/xsrc/external/mit/MesaLib.old/dist/src/mesa/state_tracker/
H A Dst_gen_mipmap.c61 uint lastLevel, first_layer, last_layer; local in function:st_generate_mipmap
116 first_layer = last_layer = _mesa_tex_target_to_face(target);
120 last_layer = util_max_layer(pt, baseLevel);
135 lastLevel, first_layer, last_layer)) {
138 first_layer, last_layer, PIPE_TEX_FILTER_LINEAR)) {
H A Dst_atom_image.c121 img->u.tex.last_layer = u_minify(stObj->pt->depth0, img->u.tex.level) - 1;
124 img->u.tex.last_layer = u->_Layer;
128 img->u.tex.last_layer = u->_Layer + stObj->base.MinLayer;
131 img->u.tex.last_layer += stObj->base.NumLayers - 1;
133 img->u.tex.last_layer += img->resource->array_size - 1;
/xsrc/external/mit/MesaLib/dist/src/mesa/state_tracker/
H A Dst_gen_mipmap.c61 uint lastLevel, first_layer, last_layer; local in function:st_generate_mipmap
122 first_layer = last_layer = _mesa_tex_target_to_face(target);
126 last_layer = util_max_layer(pt, baseLevel);
144 lastLevel, first_layer, last_layer)) {
147 first_layer, last_layer, PIPE_TEX_FILTER_LINEAR)) {
H A Dst_atom_image.c121 img->u.tex.last_layer = u_minify(stObj->pt->depth0, img->u.tex.level) - 1;
124 img->u.tex.last_layer = u->_Layer;
128 img->u.tex.last_layer = u->_Layer + stObj->base.Attrib.MinLayer;
131 img->u.tex.last_layer += stObj->base.Attrib.NumLayers - 1;
133 img->u.tex.last_layer += img->resource->array_size - 1;
/xsrc/external/mit/MesaLib.old/dist/src/mesa/drivers/dri/i965/
H A Dbrw_generate_mipmap.c45 unsigned last_level, first_layer, last_layer; local in function:brw_generate_mipmap
102 last_layer = first_layer;
105 last_layer = base_size->array_len - 1;
131 for (unsigned layer = first_layer; layer <= last_layer; layer++) {
/xsrc/external/mit/MesaLib/dist/src/panfrost/lib/
H A Dpan_blitter.h79 int32_t last_layer; member in struct:pan_blit_context::__anon5321a4c80808
108 if (ctx->dst.last_layer < ctx->dst.layer_offset) {
109 if (ctx->dst.cur_layer <= ctx->dst.last_layer)
114 if (ctx->dst.cur_layer >= ctx->dst.last_layer)
H A Dpan_texture.c440 unsigned *first_layer, unsigned *last_layer)
443 *last_face = *last_layer % 6;
445 *last_layer /= 6;
447 assert((*first_layer == *last_layer) || (*first_face == 0 && *last_face == 5));
455 unsigned first_layer, unsigned last_layer,
463 &first_layer, &last_layer);
467 unsigned layers = 1 + last_layer - first_layer;
492 iview->first_layer, iview->last_layer,
501 unsigned layer, last_layer; member in struct:panfrost_surface_iter
509 unsigned first_layer, unsigned last_layer,
438 panfrost_adjust_cube_dimensions(unsigned * first_face,unsigned * last_face,unsigned * first_layer,unsigned * last_layer) argument
453 panfrost_texture_num_elements(unsigned first_level,unsigned last_level,unsigned first_layer,unsigned last_layer,unsigned nr_samples,bool is_cube,bool manual_stride) argument
508 panfrost_surface_iter_begin(struct panfrost_surface_iter * iter,unsigned first_layer,unsigned last_layer,unsigned first_level,unsigned last_level,unsigned first_face,unsigned last_face,unsigned nr_samples) argument
623 unsigned first_layer = iview->first_layer, last_layer = iview->last_layer; local in function:panfrost_emit_texture_payload
[all...]
/xsrc/external/mit/MesaLib/dist/src/mesa/drivers/dri/i965/
H A Dbrw_generate_mipmap.c45 unsigned last_level, first_layer, last_layer; local in function:brw_generate_mipmap
102 last_layer = first_layer;
105 last_layer = base_size->array_len - 1;
131 for (unsigned layer = first_layer; layer <= last_layer; layer++) {
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/freedreno/
H A Dfreedreno_surface.c62 debug_assert(surf_tmpl->u.tex.first_layer == surf_tmpl->u.tex.last_layer);
65 psurf->u.tex.last_layer = surf_tmpl->u.tex.last_layer;
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/swr/
H A Dswr_clear.cpp50 layers = std::max(layers, fb->cbufs[i]->u.tex.last_layer -
57 layers = std::max(layers, fb->zsbuf->u.tex.last_layer -
63 layers = std::max(layers, fb->zsbuf->u.tex.last_layer -
86 (fb->zsbuf->u.tex.last_layer <= fb->zsbuf->u.tex.first_layer + i))
90 if (sf && (sf->u.tex.last_layer <= sf->u.tex.first_layer + i))
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/freedreno/
H A Dfreedreno_surface.c61 psurf->u.tex.last_layer = surf_tmpl->u.tex.last_layer;
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/swr/
H A Dswr_clear.cpp49 layers = std::max(layers, fb->cbufs[i]->u.tex.last_layer -
56 layers = std::max(layers, fb->zsbuf->u.tex.last_layer -
62 layers = std::max(layers, fb->zsbuf->u.tex.last_layer -
87 (fb->zsbuf->u.tex.last_layer <= fb->zsbuf->u.tex.first_layer + i))
91 if (sf && (sf->u.tex.last_layer <= sf->u.tex.first_layer + i))
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/zink/
H A Dzink_surface.h120 zink_surface_clamp_viewtype(VkImageViewType viewType, unsigned first_layer, unsigned last_layer, unsigned array_size) argument
122 unsigned layerCount = 1 + last_layer - first_layer;
124 if (first_layer == last_layer)
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/d3d12/
H A Dd3d12_surface.cpp108 desc.Texture1DArray.ArraySize = tpl->u.tex.last_layer - tpl->u.tex.first_layer + 1;
128 desc.Texture2DMSArray.ArraySize = tpl->u.tex.last_layer - tpl->u.tex.first_layer + 1;
134 desc.Texture2DArray.ArraySize = tpl->u.tex.last_layer - tpl->u.tex.first_layer + 1;
180 desc.Texture1DArray.ArraySize = tpl->u.tex.last_layer - tpl->u.tex.first_layer + 1;
200 desc.Texture2DMSArray.ArraySize = tpl->u.tex.last_layer - tpl->u.tex.first_layer + 1;
206 desc.Texture2DArray.ArraySize = tpl->u.tex.last_layer - tpl->u.tex.first_layer + 1;
213 desc.Texture3D.WSize = tpl->u.tex.last_layer - tpl->u.tex.first_layer + 1;
253 surface->base.u.tex.last_layer = tpl->u.tex.last_layer;
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/radeonsi/
H A Dsi_blit.c115 unsigned first_layer, unsigned last_layer,
138 checked_last_layer = MIN2(last_layer, max_layer);
147 surf_tmpl.u.tex.last_layer = layer;
170 if (first_layer == 0 && last_layer >= max_layer &&
187 unsigned first_layer, unsigned last_layer,
205 first_layer, last_layer, first_sample, last_sample);
214 unsigned first_layer, unsigned last_layer)
241 checked_last_layer = MIN2(last_layer, max_layer);
245 surf_tmpl.u.tex.last_layer = layer;
260 if (first_layer == 0 && last_layer >
111 si_blit_dbcb_copy(struct si_context * sctx,struct si_texture * src,struct si_texture * dst,unsigned planes,unsigned level_mask,unsigned first_layer,unsigned last_layer,unsigned first_sample,unsigned last_sample) argument
183 si_blit_decompress_depth(struct pipe_context * ctx,struct si_texture * texture,struct si_texture * staging,unsigned first_level,unsigned last_level,unsigned first_layer,unsigned last_layer,unsigned first_sample,unsigned last_sample) argument
211 si_blit_decompress_zs_planes_in_place(struct si_context * sctx,struct si_texture * texture,unsigned planes,unsigned level_mask,unsigned first_layer,unsigned last_layer) argument
280 si_blit_decompress_zs_in_place(struct si_context * sctx,struct si_texture * texture,unsigned levels_z,unsigned levels_s,unsigned first_layer,unsigned last_layer) argument
314 si_decompress_depth(struct si_context * sctx,struct si_texture * tex,unsigned required_planes,unsigned first_level,unsigned last_level,unsigned first_layer,unsigned last_layer) argument
455 si_blit_decompress_color(struct si_context * sctx,struct si_texture * tex,unsigned first_level,unsigned last_level,unsigned first_layer,unsigned last_layer,bool need_dcc_decompress) argument
600 si_check_render_feedback_texture(struct si_context * sctx,struct si_texture * tex,unsigned first_level,unsigned last_level,unsigned first_layer,unsigned last_layer) argument
841 si_decompress_subresource(struct pipe_context * ctx,struct pipe_resource * tex,unsigned planes,unsigned level,unsigned first_layer,unsigned last_layer) argument
1267 si_generate_mipmap(struct pipe_context * ctx,struct pipe_resource * tex,enum pipe_format format,unsigned base_level,unsigned last_level,unsigned first_layer,unsigned last_layer) argument
[all...]
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/radeonsi/
H A Dsi_blit.c118 unsigned first_layer, unsigned last_layer, unsigned first_sample,
141 checked_last_layer = MIN2(last_layer, max_layer);
150 surf_tmpl.u.tex.last_layer = layer;
173 if (first_layer == 0 && last_layer >= max_layer && first_sample == 0 &&
191 unsigned last_layer)
218 checked_last_layer = MIN2(last_layer, max_layer);
222 surf_tmpl.u.tex.last_layer = layer;
236 if (first_layer == 0 && last_layer >= max_layer) {
257 unsigned first_layer, unsigned last_layer)
264 first_layer, last_layer);
116 si_blit_dbcb_copy(struct si_context * sctx,struct si_texture * src,struct si_texture * dst,unsigned planes,unsigned level_mask,unsigned first_layer,unsigned last_layer,unsigned first_sample,unsigned last_sample) argument
188 si_blit_decompress_zs_planes_in_place(struct si_context * sctx,struct si_texture * texture,unsigned planes,unsigned level_mask,unsigned first_layer,unsigned last_layer) argument
255 si_blit_decompress_zs_in_place(struct si_context * sctx,struct si_texture * texture,unsigned levels_z,unsigned levels_s,unsigned first_layer,unsigned last_layer) argument
281 si_decompress_depth(struct si_context * sctx,struct si_texture * tex,unsigned required_planes,unsigned first_level,unsigned last_level,unsigned first_layer,unsigned last_layer) argument
432 si_blit_decompress_color(struct si_context * sctx,struct si_texture * tex,unsigned first_level,unsigned last_level,unsigned first_layer,unsigned last_layer,bool need_dcc_decompress,bool need_fmask_expand) argument
595 si_check_render_feedback_texture(struct si_context * sctx,struct si_texture * tex,unsigned first_level,unsigned last_level,unsigned first_layer,unsigned last_layer) argument
831 si_decompress_subresource(struct pipe_context * ctx,struct pipe_resource * tex,unsigned planes,unsigned level,unsigned first_layer,unsigned last_layer) argument
1301 si_generate_mipmap(struct pipe_context * ctx,struct pipe_resource * tex,enum pipe_format format,unsigned base_level,unsigned last_level,unsigned first_layer,unsigned last_layer) argument
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/r600/
H A Dr600_blit.c115 unsigned first_layer, unsigned last_layer,
159 checked_last_layer = last_layer < max_layer ? last_layer : max_layer;
173 surf_tmpl.u.tex.last_layer = layer;
194 first_layer == 0 && last_layer == max_layer &&
209 unsigned first_layer, unsigned last_layer)
236 checked_last_layer = last_layer < max_layer ? last_layer : max_layer;
240 surf_tmpl.u.tex.last_layer = layer;
254 if (first_layer == 0 && last_layer
111 r600_blit_decompress_depth(struct pipe_context * ctx,struct r600_texture * texture,struct r600_texture * staging,unsigned first_level,unsigned last_level,unsigned first_layer,unsigned last_layer,unsigned first_sample,unsigned last_sample) argument
205 r600_blit_decompress_depth_in_place(struct r600_context * rctx,struct r600_texture * texture,bool is_stencil_sampler,unsigned first_level,unsigned last_level,unsigned first_layer,unsigned last_layer) argument
333 r600_blit_decompress_color(struct pipe_context * ctx,struct r600_texture * rtex,unsigned first_level,unsigned last_level,unsigned first_layer,unsigned last_layer) argument
431 r600_decompress_subresource(struct pipe_context * ctx,struct pipe_resource * tex,unsigned level,unsigned first_layer,unsigned last_layer) argument
[all...]
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/r600/
H A Dr600_blit.c115 unsigned first_layer, unsigned last_layer,
159 checked_last_layer = last_layer < max_layer ? last_layer : max_layer;
173 surf_tmpl.u.tex.last_layer = layer;
194 first_layer == 0 && last_layer == max_layer &&
209 unsigned first_layer, unsigned last_layer)
236 checked_last_layer = last_layer < max_layer ? last_layer : max_layer;
240 surf_tmpl.u.tex.last_layer = layer;
254 if (first_layer == 0 && last_layer
111 r600_blit_decompress_depth(struct pipe_context * ctx,struct r600_texture * texture,struct r600_texture * staging,unsigned first_level,unsigned last_level,unsigned first_layer,unsigned last_layer,unsigned first_sample,unsigned last_sample) argument
205 r600_blit_decompress_depth_in_place(struct r600_context * rctx,struct r600_texture * texture,bool is_stencil_sampler,unsigned first_level,unsigned last_level,unsigned first_layer,unsigned last_layer) argument
333 r600_blit_decompress_color(struct pipe_context * ctx,struct r600_texture * rtex,unsigned first_level,unsigned last_level,unsigned first_layer,unsigned last_layer) argument
431 r600_decompress_subresource(struct pipe_context * ctx,struct pipe_resource * tex,unsigned level,unsigned first_layer,unsigned last_layer) argument
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/svga/
H A Dsvga_pipe_clear.c286 tmpl.u.tex.last_layer = box->z + box->depth - 1;
442 unsigned last_layer = rtv->u.tex.last_layer; local in function:svga_clear_texture
443 unsigned box_depth = last_layer - first_layer + 1;
446 rtv->u.tex.first_layer = rtv->u.tex.last_layer =
453 rtv->u.tex.last_layer = last_layer;

Completed in 15 milliseconds

1234567891011>>