/third_party/mesa3d/src/vulkan/util/ |
D | vk_image.c | 184 VkImageAspectFlags aspect_mask) in vk_image_usage() argument 186 assert(!(aspect_mask & ~image->aspects)); in vk_image_usage() 206 if (aspect_mask == VK_IMAGE_ASPECT_STENCIL_BIT) { in vk_image_usage() 208 } else if (aspect_mask == (VK_IMAGE_ASPECT_DEPTH_BIT | in vk_image_usage() 242 VkImageAspectFlags aspect_mask) in vk_image_expand_aspect_mask() argument 244 if (aspect_mask == VK_IMAGE_ASPECT_COLOR_BIT) { in vk_image_expand_aspect_mask() 248 assert(aspect_mask && !(aspect_mask & ~image->aspects)); in vk_image_expand_aspect_mask() 249 return aspect_mask; in vk_image_expand_aspect_mask()
|
D | vk_image.h | 96 VkImageAspectFlags aspect_mask); 99 VkImageAspectFlags aspect_mask);
|
/third_party/mesa3d/src/freedreno/vulkan/ |
D | tu_image.c | 71 tu6_plane_index(VkFormat format, VkImageAspectFlags aspect_mask) in tu6_plane_index() argument 73 switch (aspect_mask) { in tu6_plane_index() 116 VkImageAspectFlagBits aspect_mask, in tu6_texswiz() argument 138 if (aspect_mask == VK_IMAGE_ASPECT_STENCIL_BIT) { in tu6_texswiz() 209 VkImageAspectFlagBits aspect_mask = pCreateInfo->subresourceRange.aspectMask; in tu_image_view_init() local 221 &image->layout[tu6_plane_index(image->vk_format, aspect_mask)]; in tu_image_view_init() 248 if (aspect_mask != VK_IMAGE_ASPECT_COLOR_BIT) in tu_image_view_init() 249 format = tu6_plane_format(format, tu6_plane_index(format, aspect_mask)); in tu_image_view_init() 268 if (aspect_mask & VK_IMAGE_ASPECT_DEPTH_BIT) in tu_image_view_init() 270 if (aspect_mask == VK_IMAGE_ASPECT_STENCIL_BIT) in tu_image_view_init() [all …]
|
D | tu_clear_blit.c | 238 VkImageAspectFlags aspect_mask, in r2d_setup_common() argument 256 if (aspect_mask == VK_IMAGE_ASPECT_DEPTH_BIT) in r2d_setup_common() 259 if (aspect_mask == VK_IMAGE_ASPECT_STENCIL_BIT) in r2d_setup_common() 297 VkImageAspectFlags aspect_mask, in r2d_setup() argument 307 r2d_setup_common(cmd, cs, vk_format, aspect_mask, blit_param, clear, ubwc, false); in r2d_setup() 971 aspect_write_mask(VkFormat vk_format, VkImageAspectFlags aspect_mask) in aspect_write_mask() argument 974 assert(aspect_mask); in aspect_write_mask() 979 if (aspect_mask == VK_IMAGE_ASPECT_DEPTH_BIT) in aspect_write_mask() 981 if (aspect_mask == VK_IMAGE_ASPECT_STENCIL_BIT) in aspect_write_mask() 991 VkImageAspectFlags aspect_mask, in r3d_setup() argument [all …]
|
/third_party/mesa3d/src/amd/vulkan/ |
D | radv_meta_copy.c | 90 VkImageAspectFlags aspect_mask) in blit_surf_for_image_level_layer() argument 92 VkFormat format = radv_get_aspect_format(image, aspect_mask); in blit_surf_for_image_level_layer() 105 .aspect_mask = aspect_mask, in blit_surf_for_image_level_layer() 422 unsigned aspect_mask = 1u << i; in copy_image() local 425 .aspectMask = aspect_mask, in copy_image()
|
D | radv_meta_blit2d.c | 229 u_foreach_bit(i, dst->aspect_mask) in radv_meta_blit2d_normal_dst() 231 unsigned aspect_mask = 1u << i; in radv_meta_blit2d_normal_dst() local 232 unsigned src_aspect_mask = aspect_mask; in radv_meta_blit2d_normal_dst() 234 if (aspect_mask == VK_IMAGE_ASPECT_STENCIL_BIT) in radv_meta_blit2d_normal_dst() 236 else if (aspect_mask == VK_IMAGE_ASPECT_DEPTH_BIT) in radv_meta_blit2d_normal_dst() 239 src_aspect_mask = src_img->aspect_mask; in radv_meta_blit2d_normal_dst() 247 rects[r].dst_y + rects[r].height, depth_format, &dst_temps, aspect_mask); in radv_meta_blit2d_normal_dst() 260 if (aspect_mask == VK_IMAGE_ASPECT_COLOR_BIT || in radv_meta_blit2d_normal_dst() 261 aspect_mask == VK_IMAGE_ASPECT_PLANE_0_BIT || in radv_meta_blit2d_normal_dst() 262 aspect_mask == VK_IMAGE_ASPECT_PLANE_1_BIT || in radv_meta_blit2d_normal_dst() [all …]
|
D | radv_meta_resolve.c | 702 .aspectMask = dest_iview->aspect_mask, in radv_cmd_buffer_resolve_subpass_hw() 765 if ((src_iview->aspect_mask & VK_IMAGE_ASPECT_DEPTH_BIT) && in radv_cmd_buffer_resolve_subpass() 777 if ((src_iview->aspect_mask & VK_IMAGE_ASPECT_STENCIL_BIT) && in radv_cmd_buffer_resolve_subpass() 881 region.srcSubresource.aspectMask = src_iview->aspect_mask; in radv_decompress_resolve_subpass_src()
|
D | radv_meta_bufimage.c | 1410 create_iview(cmd_buffer, src, &src_view, VK_FORMAT_UNDEFINED, src->aspect_mask); in radv_meta_image_to_buffer() 1561 create_iview(cmd_buffer, dst, &dst_view, VK_FORMAT_UNDEFINED, dst->aspect_mask); in radv_meta_buffer_to_image_cs() 1721 u_foreach_bit(i, dst->aspect_mask) { in radv_meta_image_to_image_cs() 1722 unsigned aspect_mask = 1u << i; in radv_meta_image_to_image_cs() local 1724 if (aspect_mask == VK_IMAGE_ASPECT_STENCIL_BIT) in radv_meta_image_to_image_cs() 1726 else if (aspect_mask == VK_IMAGE_ASPECT_DEPTH_BIT) in radv_meta_image_to_image_cs() 1729 create_iview(cmd_buffer, src, &src_view, depth_format, aspect_mask); in radv_meta_image_to_image_cs() 1730 create_iview(cmd_buffer, dst, &dst_view, depth_format, aspect_mask); in radv_meta_image_to_image_cs() 1859 create_iview(cmd_buffer, dst, &dst_iview, VK_FORMAT_UNDEFINED, dst->aspect_mask); in radv_meta_clear_image_cs()
|
D | radv_meta.h | 163 VkImageAspectFlags aspect_mask; member
|
D | radv_image.c | 1819 bool is_stencil = iview->aspect_mask == VK_IMAGE_ASPECT_STENCIL_BIT; in radv_image_view_make_descriptor() 1956 iview->aspect_mask = pCreateInfo->subresourceRange.aspectMask; in radv_image_view_init() 1972 if (iview->aspect_mask == VK_IMAGE_ASPECT_STENCIL_BIT) { in radv_image_view_init() 1975 } else if (iview->aspect_mask == VK_IMAGE_ASPECT_DEPTH_BIT) { in radv_image_view_init() 2058 iview->aspect_mask == VK_IMAGE_ASPECT_COLOR_BIT) { in radv_image_view_init()
|
D | radv_meta_blit.c | 283 switch (src_iview->aspect_mask) { in meta_emit_blit() 389 VkResult ret = build_pipeline(device, src_iview->aspect_mask, in meta_emit_blit()
|
D | radv_cmd_buffer.c | 1823 .aspectMask = iview->aspect_mask, in radv_emit_fb_color_state() 2091 .aspectMask = iview->aspect_mask, in radv_update_tc_compat_zrange_metadata() 2116 .aspectMask = iview->aspect_mask, in radv_update_ds_clear_metadata() 2307 .aspectMask = iview->aspect_mask, in radv_update_color_clear_metadata() 2486 assert(iview->aspect_mask & (VK_IMAGE_ASPECT_COLOR_BIT | VK_IMAGE_ASPECT_PLANE_0_BIT | in radv_emit_framebuffer_state() 4062 range.aspectMask = view->aspect_mask; in radv_handle_subpass_image_transition() 4275 if (iview->aspect_mask & (VK_IMAGE_ASPECT_DEPTH_BIT | VK_IMAGE_ASPECT_STENCIL_BIT)) { in radv_cmd_state_setup_attachments()
|
D | radv_meta_clear.c | 1859 .aspectMask = iview->aspect_mask, in radv_fast_clear_color() 2399 surf.aspect_mask = range->aspectMask; in radv_cmd_clear_image()
|
D | radv_private.h | 2272 VkImageAspectFlags aspect_mask; member
|
/third_party/mesa3d/src/panfrost/vulkan/ |
D | panvk_image.c | 242 panvk_plane_index(VkFormat format, VkImageAspectFlags aspect_mask) in panvk_plane_index() argument 244 switch (aspect_mask) { in panvk_plane_index()
|
/third_party/mesa3d/src/gallium/drivers/iris/ |
D | iris_blit.c | 449 unsigned aspect_mask = info->mask & (PIPE_MASK_R | PIPE_MASK_ZS); in iris_blit() local 450 while (aspect_mask) { in iris_blit() 451 unsigned aspect = 1 << u_bit_scan(&aspect_mask); in iris_blit()
|
/third_party/mesa3d/src/broadcom/vulkan/ |
D | v3dvx_formats.c | 425 VkImageAspectFlags aspect_mask, in v3dX() 437 if (aspect_mask & ds_aspects) { in v3dX()
|
D | v3dvx_private.h | 266 VkImageAspectFlags aspect_mask,
|
/third_party/mesa3d/src/gallium/drivers/crocus/ |
D | crocus_blit.c | 541 unsigned aspect_mask = info->mask & (PIPE_MASK_R | PIPE_MASK_ZS); in crocus_blit() local 542 while (aspect_mask) { in crocus_blit() 543 unsigned aspect = 1 << u_bit_scan(&aspect_mask); in crocus_blit()
|
/third_party/mesa3d/src/intel/vulkan/ |
D | anv_image.c | 2504 anv_image_aspect_get_planes(VkImageAspectFlags aspect_mask) in anv_image_aspect_get_planes() argument 2506 anv_assert_valid_aspect_set(aspect_mask); in anv_image_aspect_get_planes() 2507 return util_bitcount(aspect_mask); in anv_image_aspect_get_planes()
|
/third_party/mesa3d/docs/relnotes/ |
D | 21.0.0.rst | 2550 - iris: Blit non-stencil according to aspect_mask 2552 - iris: Blit stencil according to aspect_mask
|