Home
last modified time | relevance | path

Searched refs:plane_slice (Results 1 – 8 of 8) sorted by relevance

/third_party/mesa3d/src/gallium/drivers/d3d12/
Dd3d12_resource.cpp325 plane_res->plane_slice = plane; in convert_planar_resource()
357 res->plane_slice = 0; in d3d12_resource_create_or_place()
620 res->plane_slice = handle->plane; in d3d12_resource_from_handle()
726 unsigned plane_slice, in d3d12_adjust_transfer_dimensions_for_plane() argument
741 …width0 / (float) util_format_get_plane_width(res->overall_format, res->plane_slice, res->first_pla… in d3d12_adjust_transfer_dimensions_for_plane()
742 …ight0 / (float) util_format_get_plane_height(res->overall_format, res->plane_slice, res->first_pla… in d3d12_adjust_transfer_dimensions_for_plane()
751 …ptrans->box.width = util_format_get_plane_width(res->overall_format, plane_slice, ptrans->box.widt… in d3d12_adjust_transfer_dimensions_for_plane()
752 …ptrans->box.height = util_format_get_plane_height(res->overall_format, plane_slice, ptrans->box.he… in d3d12_adjust_transfer_dimensions_for_plane()
753 ptrans->box.x = util_format_get_plane_width(res->overall_format, plane_slice, ptrans->box.x); in d3d12_adjust_transfer_dimensions_for_plane()
754 ptrans->box.y = util_format_get_plane_height(res->overall_format, plane_slice, ptrans->box.y); in d3d12_adjust_transfer_dimensions_for_plane()
[all …]
Dd3d12_format.c330 unsigned plane_slice = 0; in d3d12_get_format_info() local
343 for (plane_slice = 0; plane_slice < plane_count; ++plane_slice) { in d3d12_get_format_info()
344 if (util_format_get_plane_format(resource_format, plane_slice) == pformat) in d3d12_get_format_info()
347 assert(plane_slice < plane_count); in d3d12_get_format_info()
364 plane_slice = 1; in d3d12_get_format_info()
371 return (struct d3d12_format_info) { .swizzle = swizzle, .plane_slice = plane_slice }; in d3d12_get_format_info()
Dd3d12_format.h64 int plane_slice; member
Dd3d12_blit.cpp254 unsigned z, unsigned *updated_z, unsigned array_size, unsigned plane_slice) in get_subresource_id() argument
261 return subres + plane_slice * array_size * stride; in get_subresource_id()
320 …rc->base.b.target, src_level, src_subres_stride, src_z, &src_z, src_array_size, src->plane_slice) + in copy_subregion_no_barriers()
325 …(dst->base.b.target, dst_level, dst_subres_stride, dstz, &dstz, dst_array_size, dst->plane_slice) + in copy_subregion_no_barriers()
415 … psrc_box->z, nullptr, src->base.b.array_size, src->plane_slice); in d3d12_direct_copy()
417 … pdst_box->z, nullptr, dst->base.b.array_size, dst->plane_slice); in d3d12_direct_copy()
Dd3d12_resource.h48 unsigned int plane_slice; member
Dd3d12_surface.cpp197 desc.Texture2D.PlaneSlice = res->plane_slice; in initialize_rtv()
Dd3d12_context.cpp864 desc.Texture2D.PlaneSlice = format_info.plane_slice; in d3d12_init_sampler_view_descriptor()
877 desc.Texture2DArray.PlaneSlice = format_info.plane_slice; in d3d12_init_sampler_view_descriptor()
/third_party/mesa3d/src/microsoft/vulkan/
Ddzn_image.c849 uint32_t plane_slice = (iview->vk.aspects & VK_IMAGE_ASPECT_STENCIL_BIT) ? 1 : 0; in dzn_image_view_prepare_srv_desc() local
918 iview->srv_desc.Texture2DArray.PlaneSlice = plane_slice; in dzn_image_view_prepare_srv_desc()
925 iview->srv_desc.Texture2D.PlaneSlice = plane_slice; in dzn_image_view_prepare_srv_desc()
1014 uint32_t plane_slice = in dzn_image_view_prepare_rtv_desc() local
1059 iview->rtv_desc.Texture2DArray.PlaneSlice = plane_slice; in dzn_image_view_prepare_rtv_desc()
1065 iview->rtv_desc.Texture2D.PlaneSlice = plane_slice; in dzn_image_view_prepare_rtv_desc()