Home
last modified time | relevance | path

Searched refs:num_layers (Results 1 – 25 of 63) sorted by relevance

123

/third_party/mesa3d/src/gallium/drivers/iris/
Diris_resolve.c138 unsigned num_layers = in resolve_image_views() local
146 pview->u.tex.first_layer, num_layers, in resolve_image_views()
199 unsigned num_layers = in iris_predraw_resolve_framebuffer() local
205 num_layers, ice->state.hiz_usage); in iris_predraw_resolve_framebuffer()
289 unsigned num_layers = in iris_postdraw_update_resolve_tracking() local
296 num_layers, ice->state.hiz_usage); in iris_postdraw_update_resolve_tracking()
303 zs_surf->u.tex.first_layer, num_layers, in iris_postdraw_update_resolve_tracking()
322 unsigned num_layers = in iris_postdraw_update_resolve_tracking() local
325 desc->tex.first_layer, num_layers, in iris_postdraw_update_resolve_tracking()
492 uint32_t num_layers) in iris_mcs_partial_resolve() argument
[all …]
Diris_resource.h356 unsigned int num_layers, enum isl_aux_op op,
389 uint32_t start_layer, uint32_t num_layers,
417 uint32_t start_layer, uint32_t num_layers,
437 uint32_t start_layer, uint32_t num_layers,
451 uint32_t num_layers, in iris_resource_access_raw() argument
454 iris_resource_prepare_access(ice, res, level, 1, layer, num_layers, in iris_resource_access_raw()
457 iris_resource_finish_write(ice, res, level, layer, num_layers, in iris_resource_access_raw()
469 uint32_t start_layer, uint32_t num_layers);
479 unsigned start_layer, unsigned num_layers);
495 unsigned start_layer, unsigned num_layers);
/third_party/mesa3d/src/gallium/drivers/crocus/
Dcrocus_resolve.c150 unsigned num_layers = in resolve_image_views() local
156 pview->u.tex.first_layer, num_layers, in resolve_image_views()
235 unsigned num_layers = in crocus_predraw_resolve_framebuffer() local
242 num_layers, ice->state.hiz_usage); in crocus_predraw_resolve_framebuffer()
332 unsigned num_layers = in crocus_postdraw_update_resolve_tracking() local
338 zs_surf->u.tex.first_layer, num_layers, in crocus_postdraw_update_resolve_tracking()
353 zs_surf->u.tex.first_layer, num_layers, in crocus_postdraw_update_resolve_tracking()
380 unsigned num_layers = in crocus_postdraw_update_resolve_tracking() local
383 desc->tex.first_layer, num_layers, in crocus_postdraw_update_resolve_tracking()
572 uint32_t num_layers) in crocus_mcs_partial_resolve() argument
[all …]
Dcrocus_resource.h384 unsigned int num_layers, enum isl_aux_op op,
417 uint32_t start_layer, uint32_t num_layers,
445 uint32_t start_layer, uint32_t num_layers,
465 uint32_t start_layer, uint32_t num_layers,
479 uint32_t num_layers, in crocus_resource_access_raw() argument
482 crocus_resource_prepare_access(ice, res, level, 1, layer, num_layers, in crocus_resource_access_raw()
485 crocus_resource_finish_write(ice, res, level, layer, num_layers, in crocus_resource_access_raw()
504 uint32_t start_layer, uint32_t num_layers);
518 unsigned start_layer, unsigned num_layers);
527 unsigned start_layer, unsigned num_layers);
/third_party/mesa3d/src/intel/blorp/
Dblorp_clear.c451 uint32_t level, uint32_t start_layer, uint32_t num_layers, in blorp_fast_clear() argument
456 params.num_layers = num_layers; in blorp_fast_clear()
514 uint32_t level, uint32_t start_layer, uint32_t num_layers, in blorp_clear() argument
594 while (num_layers > 0) { in blorp_clear()
613 assert(num_layers == 1); in blorp_clear()
658 params.num_layers = MIN2(params.dst.view.array_len, num_layers); in blorp_clear()
700 start_layer += params.num_layers; in blorp_clear()
701 num_layers -= params.num_layers; in blorp_clear()
709 uint32_t num_layers, in blorp_clear_stencil_as_rgba() argument
777 for (uint32_t a = 0; a < num_layers; a++) { in blorp_clear_stencil_as_rgba()
[all …]
Dblorp.h189 uint32_t level, uint32_t start_layer, uint32_t num_layers,
220 uint32_t level, uint32_t start_layer, uint32_t num_layers,
230 uint32_t num_layers,
245 uint32_t start_layer, uint32_t num_layers,
264 uint32_t start_layer, uint32_t num_layers,
273 uint32_t start_layer, uint32_t num_layers,
286 uint32_t start_layer, uint32_t num_layers);
290 uint32_t level, uint32_t start_layer, uint32_t num_layers,
Dblorp.c200 params->num_layers = 1; in blorp_params_init()
408 uint32_t level, uint32_t start_layer, uint32_t num_layers, in blorp_hiz_op() argument
433 for (uint32_t a = 0; a < num_layers; a++) { in blorp_hiz_op()
/third_party/mesa3d/src/gallium/auxiliary/util/
Du_framebuffer.c184 unsigned i, num_layers = 0; in util_framebuffer_get_num_layers() local
198 num_layers = MAX2(num_layers, num); in util_framebuffer_get_num_layers()
204 num_layers = MAX2(num_layers, num); in util_framebuffer_get_num_layers()
206 return num_layers; in util_framebuffer_get_num_layers()
/third_party/mesa3d/src/gallium/drivers/zink/
Dzink_framebuffer.c227 unsigned i, num_layers = UINT32_MAX; in zink_framebuffer_get_num_layers() local
235 num_layers = MIN2(num_layers, num); in zink_framebuffer_get_num_layers()
241 num_layers = MIN2(num_layers, num); in zink_framebuffer_get_num_layers()
243 return MAX2(num_layers, 1); in zink_framebuffer_get_num_layers()
/third_party/skia/third_party/externals/freetype/src/sfnt/
Dttcolr.c68 FT_UShort num_layers; member
86 FT_UShort num_layers; member
177 colr->num_layers = FT_NEXT_USHORT( p ); in tt_face_load_colr()
181 if ( colr->num_layers * LAYER_SIZE > table_size - layer_offset ) in tt_face_load_colr()
307 record->num_layers = FT_NEXT_USHORT( p ); in find_base_glyph_record()
345 if ( glyph_record.num_layers ) in tt_face_get_colr_layer()
346 iterator->num_layers = glyph_record.num_layers; in tt_face_get_colr_layer()
351 if ( offset + LAYER_SIZE * glyph_record.num_layers > colr->table_size ) in tt_face_get_colr_layer()
357 if ( iterator->layer >= iterator->num_layers ) in tt_face_get_colr_layer()
455 FT_Byte num_layers; in read_paint() local
[all …]
/third_party/ffmpeg/libavformat/
Drtpdec_latm.c97 int audio_mux_version, same_time_framing, num_programs, num_layers; in parse_fmtp_config() local
109 num_layers = get_bits(&gb, 3); in parse_fmtp_config()
111 num_layers != 0) { in parse_fmtp_config()
114 num_programs, num_layers); in parse_fmtp_config()
/third_party/mesa3d/src/mesa/state_tracker/
Dst_draw_feedback.c326 unsigned num_layers = res->depth0; in st_feedback_draw_vbo() local
338 num_layers = view->u.tex.last_layer - view->u.tex.first_layer + 1; in st_feedback_draw_vbo()
343 util_num_layers(res, j) : num_layers; in st_feedback_draw_vbo()
386 res->height0, num_layers, first_level, in st_feedback_draw_vbo()
405 unsigned width, height, num_layers, row_stride, img_stride; in st_feedback_draw_vbo() local
411 num_layers = img->u.tex.last_layer - img->u.tex.first_layer + 1; in st_feedback_draw_vbo()
416 width, height, num_layers, in st_feedback_draw_vbo()
426 height = num_layers = 1; in st_feedback_draw_vbo()
434 num_layers, addr, row_stride, img_stride, 0, 0); in st_feedback_draw_vbo()
Dst_cb_clear.c240 unsigned num_layers = st->state.fb_num_layers; in clear_with_quad() local
333 if (num_layers > 1) in clear_with_quad()
350 num_layers)) { in clear_with_quad()
/third_party/mesa3d/src/broadcom/vulkan/
Dv3dv_meta_copy.c392 uint32_t num_layers; in copy_image_to_buffer_tlb() local
394 num_layers = region->imageSubresource.layerCount; in copy_image_to_buffer_tlb()
396 num_layers = region->imageExtent.depth; in copy_image_to_buffer_tlb()
397 assert(num_layers > 0); in copy_image_to_buffer_tlb()
410 v3dv_job_start_frame(job, width, height, num_layers, false, in copy_image_to_buffer_tlb()
589 uint32_t num_layers; in copy_image_to_buffer_blit() local
591 num_layers = region->imageSubresource.layerCount; in copy_image_to_buffer_blit()
593 num_layers = region->imageExtent.depth; in copy_image_to_buffer_blit()
594 assert(num_layers > 0); in copy_image_to_buffer_blit()
642 for (uint32_t i = 0; i < num_layers; i++) { in copy_image_to_buffer_blit()
[all …]
Dv3dv_uniforms.c608 uint32_t num_layers; in v3dv_write_uniforms_wg_offsets() local
610 num_layers = util_last_bit(view_mask); in v3dv_write_uniforms_wg_offsets()
612 num_layers = job->frame_tiling.layers; in v3dv_write_uniforms_wg_offsets()
614 num_layers = cmd_buffer->state.framebuffer->layers; in v3dv_write_uniforms_wg_offsets()
617 num_layers = 2048; in v3dv_write_uniforms_wg_offsets()
623 cl_aligned_u32(&uniforms, num_layers); in v3dv_write_uniforms_wg_offsets()
/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dsi_test_image_copy_region.c67 unsigned num_layers = util_num_layers(tex, level); in set_random_pixels() local
70 num_layers, &t); in set_random_pixels()
73 for (z = 0; z < num_layers; z++) { in set_random_pixels()
103 unsigned num_layers = util_num_layers(tex1, level); in set_random_pixels_for_2_textures() local
110 num_layers, &t1); in set_random_pixels_for_2_textures()
112 num_layers, &t2); in set_random_pixels_for_2_textures()
116 for (z = 0; z < num_layers; z++) { in set_random_pixels_for_2_textures()
148 unsigned num_layers = util_num_layers(tex, level); in compare_textures() local
151 num_layers, &t); in compare_textures()
154 for (z = 0; z < num_layers; z++) { in compare_textures()
[all …]
Dsi_shaderlib_tgsi.c29 void *si_get_blitter_vs(struct si_context *sctx, enum blitter_attrib_type type, unsigned num_layers) in si_get_blitter_vs() argument
36 vs = num_layers > 1 ? &sctx->vs_blit_pos_layered : &sctx->vs_blit_pos; in si_get_blitter_vs()
40 vs = num_layers > 1 ? &sctx->vs_blit_color_layered : &sctx->vs_blit_color; in si_get_blitter_vs()
45 assert(num_layers == 1); in si_get_blitter_vs()
71 if (num_layers > 1) { in si_get_blitter_vs()
Dsi_clear.c436 unsigned num_layers = util_num_layers(&tex->buffer.b.b, level); in vi_dcc_get_clear_info() local
438 if (num_layers == 1) { in vi_dcc_get_clear_info()
469 unsigned num_layers = util_num_layers(&tex->buffer.b.b, level); in vi_dcc_get_clear_info() local
479 if (tex->buffer.b.b.nr_storage_samples >= 4 && num_layers > 1) in vi_dcc_get_clear_info()
689 unsigned num_layers = util_num_layers(&tex->buffer.b.b, level); in si_fast_clear() local
693 fb->cbufs[i]->u.tex.last_layer != num_layers - 1) { in si_fast_clear()
722 bool fb_too_small = num_pixels * num_layers <= 512 * 512; in si_fast_clear()
829 if (num_layers > 1 && tex->buffer.b.b.last_level > 0) in si_fast_clear()
835 if (num_layers == 1) { in si_fast_clear()
/third_party/mesa3d/src/gallium/winsys/radeon/drm/
Dradeon_drm_surface.c271 unsigned num_layers; in si_compute_cmask() local
273 num_layers = config->info.depth; in si_compute_cmask()
275 num_layers = 6; in si_compute_cmask()
277 num_layers = config->info.array_size; in si_compute_cmask()
280 surf->cmask_size = align(slice_bytes, base_align) * num_layers; in si_compute_cmask()
284 struct radeon_surf *surf, unsigned num_layers) in si_compute_htile() argument
342 surf->meta_size = num_layers * align(slice_bytes, base_align); in si_compute_htile()
/third_party/skia/third_party/externals/harfbuzz/src/
Dmain.cc197 unsigned num_layers = hb_ot_color_glyph_get_layers (face, gid, 0, nullptr, nullptr); in layered_glyph_dump() local
198 if (!num_layers) continue; in layered_glyph_dump()
200 …hb_ot_color_layer_t *layers = (hb_ot_color_layer_t*) malloc (num_layers * sizeof (hb_ot_color_laye… in layered_glyph_dump()
202 hb_ot_color_glyph_get_layers (face, gid, 0, &num_layers, layers); in layered_glyph_dump()
203 if (num_layers) in layered_glyph_dump()
225 for (unsigned layer = 0; layer < num_layers; ++layer) in layered_glyph_dump()
/third_party/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_state_sampler.c299 unsigned num_layers = tex->depth0; in prepare_shader_sampling() local
328 num_layers = view->u.tex.last_layer - view->u.tex.first_layer + 1; in prepare_shader_sampling()
335 assert(num_layers % 6 == 0); in prepare_shader_sampling()
366 width0, tex->height0, num_layers, in prepare_shader_sampling()
475 unsigned num_layers = img->depth0; in prepare_shader_images() local
499 num_layers = view->u.tex.last_layer - view->u.tex.first_layer + 1; in prepare_shader_images()
534 width, height, num_layers, in prepare_shader_images()
/third_party/mesa3d/src/gallium/drivers/softpipe/
Dsp_state_sampler.c206 unsigned num_layers = tex->depth0; in prepare_shader_sampling() local
236 num_layers = view->u.tex.last_layer - view->u.tex.first_layer + 1; in prepare_shader_sampling()
243 assert(num_layers % 6 == 0); in prepare_shader_sampling()
277 width0, tex->height0, num_layers, in prepare_shader_sampling()
/third_party/skia/third_party/externals/harfbuzz/test/api/
Dtest-ot-color.c322 unsigned int num_layers; in test_hb_ot_color_glyph_get_layers() local
331 num_layers = hb_ot_color_glyph_get_layers (cpal_v1, 2, 0, &count, layers); in test_hb_ot_color_glyph_get_layers()
333 g_assert_cmpuint (num_layers, ==, 2); in test_hb_ot_color_glyph_get_layers()
341 g_assert_cmpuint (num_layers, ==, 2); in test_hb_ot_color_glyph_get_layers()
/third_party/mesa3d/src/gallium/drivers/svga/include/
Dsvga3d_surfacedefs.h1316 uint32 num_layers) in svga3dsurface_get_serialized_size() argument
1329 total_size *= num_layers; in svga3dsurface_get_serialized_size()
1345 uint32 num_layers, in svga3dsurface_get_serialized_size_extended() argument
1351 num_layers); in svga3dsurface_get_serialized_size_extended()
/third_party/mesa3d/src/gallium/frontends/va/
Dsurface.c682 if (!desc || desc->num_layers >= 4 ||desc->num_objects == 0) in surface_from_prime_2()
687 desc->num_layers < 1) in surface_from_prime_2()
690 if (desc->num_layers != num_format_planes) in surface_from_prime_2()
694 for (unsigned i = 0; i < desc->num_layers; ++i) { in surface_from_prime_2()
743 for (int layer = desc->num_layers - 1; layer >= 0; --layer) { in surface_from_prime_2()
1389 desc->num_layers = 1; in vlVaExportSurfaceHandle()
1393 desc->num_layers = p; in vlVaExportSurfaceHandle()

123