Home
last modified time | relevance | path

Searched refs:array_layers (Results 1 – 16 of 16) sorted by relevance

/third_party/mesa3d/src/imagination/vulkan/
Dpvr_tex_state.c173 uint32_t array_layers = info->array_size; in pvr_pack_tex_state() local
177 array_layers /= 6; in pvr_pack_tex_state()
179 word1.depth = array_layers - 1; in pvr_pack_tex_state()
Dpvr_image.c120 if (image->vk.array_layers > 1) in pvr_image_setup_mip_levels()
123 image->size = image->layer_size * image->vk.array_layers; in pvr_image_setup_mip_levels()
246 pvr_assert(subresource->arrayLayer < image->vk.array_layers); in pvr_GetImageSubresourceLayout()
/third_party/mesa3d/src/vulkan/runtime/
Dvk_image.h42 uint32_t array_layers; member
118 (_image)->array_layers - (_range)->baseArrayLayer : (_range)->layerCount)
Dvk_image.c82 image->array_layers = pCreateInfo->arrayLayers; in vk_image_init()
489 <= image->array_layers); in vk_image_view_init()
/third_party/mesa3d/src/broadcom/vulkan/
Dv3dv_image.c105 assert(image->vk.array_layers > 0); in v3d_setup_slices()
228 image->size += image->cube_map_stride * (image->vk.array_layers - 1); in v3d_setup_slices()
402 assert(swapchain_image->vk.array_layers == local_create_info.arrayLayers); in create_image_from_swapchain()
Dv3dv_meta_copy.c615 .arrayLayers = image->vk.array_layers, in copy_image_to_buffer_blit()
999 .arrayLayers = src->vk.array_layers, in create_image_alias()
/third_party/mesa3d/src/microsoft/vulkan/
Ddzn_image.c395 image->vk.array_layers > 1 ? in dzn_image_get_dsv_desc()
400 if (image->vk.array_layers > 1) { in dzn_image_get_dsv_desc()
462 image->vk.array_layers > 1 ? in dzn_image_get_rtv_desc()
466 if (image->vk.array_layers > 1) { in dzn_image_get_rtv_desc()
1166 … assert(range->baseArrayLayer + dzn_get_layer_count(image, range) - 1 <= image->vk.array_layers); in dzn_image_view_init()
Ddzn_private.h999 (_image)->vk.array_layers - (_range)->baseArrayLayer : (_range)->layerCount)
Ddzn_cmd_buffer.c1910 iview_info.viewType = img->vk.array_layers > 1 ? in dzn_cmd_buffer_blit_prepare_src_view()
1914 iview_info.viewType = img->vk.array_layers > 1 ? in dzn_cmd_buffer_blit_prepare_src_view()
1989 .src_is_array = src->vk.array_layers > 1, in dzn_cmd_buffer_blit_set_pipeline()
/third_party/mesa3d/src/panfrost/vulkan/
Dpanvk_image.c85 .array_size = image->vk.array_layers, in panvk_image_create()
/third_party/mesa3d/src/intel/vulkan/
Danv_image.c666 state_size += image->vk.mip_levels * image->vk.array_layers * 4; in add_aux_state_tracking_buffer()
902 .array_len = image->vk.array_layers, in add_shadow_surface()
946 .array_len = image->vk.array_layers, in add_primary_surface()
1162 assert(image->vk.array_layers == 1); in check_drm_format_mod()
Danv_android.c437 layers = image->vk.array_layers; in anv_create_ahw_memory()
Danv_private.h3677 return MAX2(image->vk.array_layers, image->vk.extent.depth >> miplevel); in anv_image_aux_layers()
3742 offset += level * image->vk.array_layers * 4; in anv_image_get_compression_state_addr()
DgenX_cmd_buffer.c572 assert(layer < image->vk.array_layers); in anv_image_init_aux_tt()
1207 UNUSED const uint32_t image_layers = MAX2(image->vk.array_layers, max_depth); in transition_color_buffer()
/third_party/mesa3d/src/freedreno/vulkan/
Dtu_autotune.c146 APPEND_TO_HASH(&hash_state, cmd->state.attachments[i]->image->vk.array_layers); in hash_renderpass_instance()
Dtu_image.c773 assert(image->vk.mip_levels == 1 && image->vk.array_layers == 1); in tu_GetImageSubresourceLayout()