Home
last modified time | relevance | path

Searched refs:layer_count (Results 1 – 25 of 53) sorted by relevance

123

/third_party/mesa3d/src/intel/vulkan/
Danv_blorp.c316 unsigned dst_base_layer, layer_count; in copy_image() local
319 layer_count = region->extent.depth; in copy_image()
322 layer_count = vk_image_subresource_layer_count(&dst_image->vk, in copy_image()
332 assert(layer_count == in copy_image()
358 dst_base_layer, layer_count); in copy_image()
360 for (unsigned i = 0; i < layer_count; i++) { in copy_image()
373 for (unsigned i = 0; i < layer_count; i++) { in copy_image()
394 dst_base_layer, layer_count); in copy_image()
396 for (unsigned i = 0; i < layer_count; i++) { in copy_image()
408 for (unsigned i = 0; i < layer_count; i++) { in copy_image()
[all …]
DgenX_cmd_buffer.c528 uint32_t base_layer, uint32_t layer_count) in anv_image_init_aux_tt() argument
552 for (uint32_t a = 0; a < layer_count; a++) { in anv_image_init_aux_tt()
630 uint32_t base_layer, uint32_t layer_count, in transition_depth_buffer() argument
646 0, 1, base_layer, layer_count); in transition_depth_buffer()
685 0, base_layer, layer_count, ISL_AUX_OP_FULL_RESOLVE); in transition_depth_buffer()
689 0, base_layer, layer_count, ISL_AUX_OP_AMBIGUATE); in transition_depth_buffer()
711 uint32_t base_layer, uint32_t layer_count, in transition_stencil_buffer() argument
742 base_layer, layer_count); in transition_stencil_buffer()
755 base_level, level_count, base_layer, layer_count); in transition_stencil_buffer()
775 MIN2(layer_count, aux_layers - base_layer); in transition_stencil_buffer()
[all …]
Danv_private.h2651 uint32_t layer_count; member
3825 uint32_t layer_count);
3833 uint32_t level, uint32_t base_layer, uint32_t layer_count,
3841 uint32_t base_layer, uint32_t layer_count,
3856 uint32_t layer_count,
3862 uint32_t base_layer, uint32_t layer_count,
3869 uint32_t base_layer, uint32_t layer_count,
3876 uint32_t base_layer, uint32_t layer_count,
3884 uint32_t base_layer, uint32_t layer_count,
3893 uint32_t base_layer, uint32_t layer_count);
Danv_genX.h122 uint32_t layer_count);
/third_party/mesa3d/src/microsoft/vulkan/
Ddzn_image.c384 uint32_t layer_count = dzn_get_layer_count(image, range); in dzn_image_get_dsv_desc() local
423 dsv_desc.Texture1DArray.ArraySize = layer_count; in dzn_image_get_dsv_desc()
433 dsv_desc.Texture2DArray.ArraySize = layer_count; in dzn_image_get_dsv_desc()
437 dsv_desc.Texture2DMSArray.ArraySize = layer_count; in dzn_image_get_dsv_desc()
451 uint32_t layer_count = dzn_get_layer_count(image, range); in dzn_image_get_rtv_desc() local
491 rtv_desc.Texture1DArray.ArraySize = layer_count; in dzn_image_get_rtv_desc()
507 rtv_desc.Texture2DArray.ArraySize = layer_count; in dzn_image_get_rtv_desc()
517 rtv_desc.Texture2DMSArray.ArraySize = layer_count; in dzn_image_get_rtv_desc()
523 range->layerCount == VK_REMAINING_ARRAY_LAYERS ? -1 : layer_count; in dzn_image_get_rtv_desc()
856 (iview->vk.layer_count / layers_per_elem) > 1; in dzn_image_view_prepare_srv_desc()
[all …]
Ddzn_cmd_buffer.c161 uint32_t layer_count = dzn_get_layer_count(image, range); in dzn_cmd_buffer_queue_image_range_state_transition() local
163 for (uint32_t layer = 0; layer < layer_count; layer++) { in dzn_cmd_buffer_queue_image_range_state_transition()
218 uint32_t layer_count = dzn_get_layer_count(image, range); in dzn_cmd_buffer_queue_image_range_layout_transition() local
220 for (uint32_t layer = 0; layer < layer_count; layer++) { in dzn_cmd_buffer_queue_image_range_layout_transition()
1182 uint32_t layer_count = dzn_get_layer_count(image, range); in dzn_cmd_buffer_clear_rects_with_copy() local
1189 .layerCount = layer_count, in dzn_cmd_buffer_clear_rects_with_copy()
1192 for (uint32_t layer = 0; layer < layer_count; layer++) { in dzn_cmd_buffer_clear_rects_with_copy()
1313 uint32_t layer_count = dzn_get_layer_count(image, &ranges[r]); in dzn_cmd_buffer_clear_ranges_with_copy() local
1329 .layerCount = layer_count, in dzn_cmd_buffer_clear_ranges_with_copy()
1332 for (uint32_t layer = 0; layer < layer_count; layer++) { in dzn_cmd_buffer_clear_ranges_with_copy()
[all …]
/third_party/vulkan-loader/tests/
Dloader_layer_tests.cpp308 uint32_t layer_count = 1; in TEST() local
309 …EXPECT_EQ(VK_SUCCESS, env.vulkan_functions.vkEnumerateInstanceLayerProperties(&layer_count, nullpt… in TEST()
310 EXPECT_EQ(layer_count, 1U); in TEST()
313 …EXPECT_EQ(VK_SUCCESS, env.vulkan_functions.vkEnumerateInstanceLayerProperties(&layer_count, &layer… in TEST()
314 EXPECT_EQ(layer_count, 1U); in TEST()
353 uint32_t layer_count = 0; in TEST() local
354 …EXPECT_EQ(VK_SUCCESS, env.vulkan_functions.vkEnumerateInstanceLayerProperties(&layer_count, nullpt… in TEST()
355 EXPECT_EQ(layer_count, 2U); in TEST()
358 …EXPECT_EQ(VK_SUCCESS, env.vulkan_functions.vkEnumerateInstanceLayerProperties(&layer_count, layer_… in TEST()
359 EXPECT_EQ(layer_count, 2U); in TEST()
[all …]
Dloader_regression_tests.cpp158 uint32_t layer_count = 2; in TEST() local
159 …ASSERT_EQ(VK_SUCCESS, env.vulkan_functions.vkEnumerateInstanceLayerProperties(&layer_count, layer_… in TEST()
160 ASSERT_EQ(layer_count, 2U); in TEST()
165 uint32_t layer_count = 0; in TEST() local
166 …ASSERT_EQ(VK_SUCCESS, env.vulkan_functions.vkEnumerateInstanceLayerProperties(&layer_count, nullpt… in TEST()
167 ASSERT_EQ(layer_count, 2U); in TEST()
170 …ASSERT_EQ(VK_SUCCESS, env.vulkan_functions.vkEnumerateInstanceLayerProperties(&layer_count, layer_… in TEST()
171 ASSERT_EQ(layer_count, 2U); in TEST()
177 uint32_t layer_count = 1; in TEST() local
178 …K_INCOMPLETE, env.vulkan_functions.vkEnumerateInstanceLayerProperties(&layer_count, &layer_props)); in TEST()
[all …]
Dloader_get_proc_addr_tests.cpp108 uint32_t layer_count = 0; in TEST() local
109 ASSERT_EQ(VK_SUCCESS, EnumerateInstanceLayerProperties(&layer_count, nullptr)); in TEST()
138 uint32_t layer_count = 0; in TEST() local
139 ASSERT_EQ(VK_SUCCESS, EnumerateInstanceLayerProperties(&layer_count, nullptr)); in TEST()
/third_party/mesa3d/src/amd/vulkan/
Dradv_meta_resolve_cs.c777 uint32_t layer_count = fb->layers; in radv_cmd_buffer_resolve_subpass_cs() local
780 layer_count = util_last_bit(subpass->view_mask); in radv_cmd_buffer_resolve_subpass_cs()
808 .layerCount = layer_count, in radv_cmd_buffer_resolve_subpass_cs()
815 .layerCount = layer_count, in radv_cmd_buffer_resolve_subpass_cs()
839 uint32_t layer_count = fb->layers; in radv_depth_stencil_resolve_subpass_cs() local
842 layer_count = util_last_bit(subpass->view_mask); in radv_depth_stencil_resolve_subpass_cs()
861 region.srcSubresource.layerCount = layer_count; in radv_depth_stencil_resolve_subpass_cs()
885 .layerCount = layer_count, in radv_depth_stencil_resolve_subpass_cs()
903 .layerCount = layer_count, in radv_depth_stencil_resolve_subpass_cs()
909 &(VkExtent3D){fb->width, fb->height, layer_count}, aspects, in radv_depth_stencil_resolve_subpass_cs()
[all …]
Dradv_meta_fmask_expand.c98 unsigned layer_count = radv_get_layerCount(image, subresourceRange); in radv_expand_fmask_image_inplace() local
124 .layerCount = layer_count, in radv_expand_fmask_image_inplace()
155 radv_unaligned_dispatch(cmd_buffer, image->info.width, image->info.height, layer_count); in radv_expand_fmask_image_inplace()
Dradv_meta_clear.c532 iview->vk.base_array_layer == 0 && iview->vk.layer_count == iview->image->info.array_size && in depth_view_can_fast_clear()
886 .layerCount = iview->vk.layer_count, in radv_fast_clear_depth()
1302 uint32_t layer_count = radv_get_layerCount(image, range); in radv_clear_dcc() local
1317 size = image->planes[0].surface.u.gfx9.meta_levels[level].size * layer_count; in radv_clear_dcc()
1357 unsigned layer_count = radv_get_layerCount(image, range); in radv_clear_dcc_comp_to_single() local
1413 .layerCount = layer_count}, in radv_clear_dcc_comp_to_single()
1451 radv_unaligned_dispatch(cmd_buffer, dcc_width, dcc_height, layer_count); in radv_clear_dcc_comp_to_single()
1498 unsigned layer_count = radv_get_layerCount(image, range); in radv_clear_htile() local
1499 uint64_t size = image->planes[0].surface.meta_slice_size * layer_count; in radv_clear_htile()
1798 .layerCount = iview->vk.layer_count, in radv_fast_clear_color()
[all …]
Dradv_meta_resolve.c610 .layerCount = dest_iview->vk.layer_count, in radv_cmd_buffer_resolve_subpass_hw()
770 uint32_t layer_count = fb->layers; in radv_decompress_resolve_subpass_src() local
773 layer_count = util_last_bit(subpass->view_mask); in radv_decompress_resolve_subpass_src()
790 region.srcSubresource.layerCount = layer_count; in radv_decompress_resolve_subpass_src()
/third_party/skia/third_party/externals/harfbuzz/src/
Dhb-ot-color.cc225 unsigned int *layer_count, /* IN/OUT. May be NULL. */ in hb_ot_color_glyph_get_layers() argument
228 return face->table.COLR->get_glyph_layers (glyph, start_offset, layer_count, layers); in hb_ot_color_glyph_get_layers()
Dhb-ot-color.h116 unsigned int *layer_count, /* IN/OUT. May be NULL. */
/third_party/mesa3d/src/vulkan/runtime/
Dvk_image.h273 uint32_t layer_count; member
310 .layerCount = view->layer_count, in vk_image_view_subresource_range()
Dvk_image.c462 image_view->layer_count = vk_image_subresource_layer_count(image, range); in vk_image_view_init()
488 assert(image_view->base_array_layer + image_view->layer_count in vk_image_view_init()
492 assert(image_view->base_array_layer + image_view->layer_count in vk_image_view_init()
/third_party/mesa3d/src/gallium/drivers/iris/
Diris_resource.h508 uint32_t start_layer, uint32_t layer_count,
512 uint32_t start_layer, uint32_t layer_count,
Diris_resolve.c1117 uint32_t start_layer, uint32_t layer_count, in iris_resource_prepare_render() argument
1121 layer_count, aux_usage, in iris_resource_prepare_render()
1128 uint32_t start_layer, uint32_t layer_count, in iris_resource_finish_render() argument
1131 iris_resource_finish_write(ice, res, level, start_layer, layer_count, in iris_resource_finish_render()
/third_party/mesa3d/src/panfrost/vulkan/
Dpanvk_vX_meta_clear.c363 unsigned layer_count = vk_image_subresource_layer_count(&img->vk, range); in panvk_meta_clear_color_img() local
374 layer < range->baseArrayLayer + layer_count; layer++) { in panvk_meta_clear_color_img()
439 unsigned layer_count = vk_image_subresource_layer_count(&img->vk, range); in panvk_meta_clear_zs_img() local
450 layer < range->baseArrayLayer + layer_count; layer++) { in panvk_meta_clear_zs_img()
/third_party/mesa3d/src/gallium/drivers/crocus/
Dcrocus_resource.h536 uint32_t start_layer, uint32_t layer_count,
540 uint32_t start_layer, uint32_t layer_count,
Dcrocus_resolve.c1021 uint32_t start_layer, uint32_t layer_count, in crocus_resource_prepare_render() argument
1025 layer_count, aux_usage, in crocus_resource_prepare_render()
1032 uint32_t start_layer, uint32_t layer_count, in crocus_resource_finish_render() argument
1035 crocus_resource_finish_write(ice, res, level, start_layer, layer_count, in crocus_resource_finish_render()
/third_party/mesa3d/src/broadcom/vulkan/
Dv3dv_uniforms.c402 return image_view->vk.layer_count; in get_texture_size_from_image_view()
404 assert(image_view->vk.layer_count % 6 == 0); in get_texture_size_from_image_view()
405 return image_view->vk.layer_count / 6; in get_texture_size_from_image_view()
Dv3dvx_image.c84 tex.image_depth = image_view->vk.layer_count; in pack_texture_shader_state_helper()
/third_party/mesa3d/src/freedreno/fdl/
Dfd6_view.c190 uint32_t storage_depth = args->layer_count; in fdl6_view_init()
354 A6XX_GRAS_LRZ_DEPTH_VIEW_LAYER_COUNT(args->layer_count) | in fdl6_view_init()

123