Home
last modified time | relevance | path

Searched refs:mip_level (Results 1 – 10 of 10) sorted by relevance

/third_party/mesa3d/src/imagination/vulkan/
Dpvr_image.c102 struct pvr_mip_level *mip_level = &image->mip_levels[i]; in pvr_image_setup_mip_levels() local
104 mip_level->pitch = cpp * ALIGN(width, extent_alignment); in pvr_image_setup_mip_levels()
105 mip_level->height_pitch = ALIGN(height, extent_alignment); in pvr_image_setup_mip_levels()
106 mip_level->size = image->vk.samples * mip_level->pitch * in pvr_image_setup_mip_levels()
107 mip_level->height_pitch * in pvr_image_setup_mip_levels()
109 mip_level->size = ALIGN(mip_level->size, level_alignment); in pvr_image_setup_mip_levels()
110 mip_level->offset = image->layer_size; in pvr_image_setup_mip_levels()
112 image->layer_size += mip_level->size; in pvr_image_setup_mip_levels()
242 const struct pvr_mip_level *mip_level = in pvr_GetImageSubresourceLayout() local
249 subresource->arrayLayer * image->layer_size + mip_level->offset; in pvr_GetImageSubresourceLayout()
[all …]
/third_party/mesa3d/src/vulkan/runtime/
Dvk_image.h103 uint32_t mip_level) in vk_image_mip_level_extent() argument
106 u_minify(image->extent.width, mip_level), in vk_image_mip_level_extent()
107 u_minify(image->extent.height, mip_level), in vk_image_mip_level_extent()
108 u_minify(image->extent.depth, mip_level), in vk_image_mip_level_extent()
/third_party/vk-gl-cts/external/amber/src/src/vulkan/
Dtransfer_image.cc226 uint32_t mip_level) { in CreateBufferImageCopy() argument
241 mip_level, /* mipLevel */ in CreateBufferImageCopy()
246 copy_region.imageExtent = {image_info_.extent.width >> mip_level, in CreateBufferImageCopy()
247 image_info_.extent.height >> mip_level, in CreateBufferImageCopy()
Dtransfer_image.h69 uint32_t mip_level);
/third_party/mesa3d/src/gallium/drivers/svga/include/
Dsvga3d_surfacedefs.h1184 svga3dsurface_get_mip_size(SVGA3dSize base_level, uint32 mip_level) in svga3dsurface_get_mip_size() argument
1188 size.width = max_t(uint32, base_level.width >> mip_level, 1); in svga3dsurface_get_mip_size()
1189 size.height = max_t(uint32, base_level.height >> mip_level, 1); in svga3dsurface_get_mip_size()
1190 size.depth = max_t(uint32, base_level.depth >> mip_level, 1); in svga3dsurface_get_mip_size()
/third_party/mesa3d/src/broadcom/vulkan/
Dv3dvx_meta_common.c334 uint32_t mip_level, in emit_image_load() argument
338 uint32_t layer_offset = v3dv_layer_offset(image, mip_level, layer); in emit_image_load()
347 const struct v3d_resource_slice *slice = &image->slices[mip_level]; in emit_image_load()
418 uint32_t mip_level, in emit_image_store() argument
423 uint32_t layer_offset = v3dv_layer_offset(image, mip_level, layer); in emit_image_store()
428 const struct v3d_resource_slice *slice = &image->slices[mip_level]; in emit_image_store()
Dv3dv_queue.c376 &info->image->slices[info->mip_level]; in handle_copy_buffer_to_image_cpu_job()
386 v3dv_layer_offset(info->image, info->mip_level, info->base_layer + i); in handle_copy_buffer_to_image_cpu_job()
Dv3dv_meta_copy.c1363 const uint32_t mip_level = region->imageSubresource.mipLevel; in copy_buffer_to_image_tfu() local
1364 const struct v3d_resource_slice *slice = &image->slices[mip_level]; in copy_buffer_to_image_tfu()
1394 dst_bo->offset + v3dv_layer_offset(image, mip_level, layer); in copy_buffer_to_image_tfu()
2706 job->cpu.copy_buffer_to_image.mip_level = in copy_buffer_to_image_cpu()
Dv3dv_private.h1027 uint32_t mip_level; member
/third_party/mesa3d/docs/relnotes/
D22.0.0.rst749 - freedreno/fdl: Add mip_level to fdl_layout