Home
last modified time | relevance | path

Searched refs:aspect_mask (Results 1 – 20 of 20) sorted by relevance

/external/mesa3d/src/amd/vulkan/
Dradv_meta_blit2d.c236 for_each_bit(i, dst->aspect_mask) { in radv_meta_blit2d_normal_dst()
237 unsigned aspect_mask = 1u << i; in radv_meta_blit2d_normal_dst() local
239 if (aspect_mask == VK_IMAGE_ASPECT_STENCIL_BIT) in radv_meta_blit2d_normal_dst()
241 else if (aspect_mask == VK_IMAGE_ASPECT_DEPTH_BIT) in radv_meta_blit2d_normal_dst()
244 blit2d_bind_src(cmd_buffer, src_img, src_buf, &src_temps, src_type, depth_format, aspect_mask); in radv_meta_blit2d_normal_dst()
248 rects[r].dst_y + rects[r].height, depth_format, &dst_temps, aspect_mask); in radv_meta_blit2d_normal_dst()
262 if (aspect_mask == VK_IMAGE_ASPECT_COLOR_BIT) { in radv_meta_blit2d_normal_dst()
281 } else if (aspect_mask == VK_IMAGE_ASPECT_DEPTH_BIT) { in radv_meta_blit2d_normal_dst()
299 } else if (aspect_mask == VK_IMAGE_ASPECT_STENCIL_BIT) { in radv_meta_blit2d_normal_dst()
Dradv_meta.h111 VkImageAspectFlags aspect_mask; member
Dradv_image.c982 bool is_stencil = iview->aspect_mask == VK_IMAGE_ASPECT_STENCIL_BIT; in radv_image_view_make_descriptor()
1049 iview->aspect_mask = pCreateInfo->subresourceRange.aspectMask; in radv_image_view_init()
1051 if (iview->aspect_mask == VK_IMAGE_ASPECT_STENCIL_BIT) { in radv_image_view_init()
1053 } else if (iview->aspect_mask == VK_IMAGE_ASPECT_DEPTH_BIT) { in radv_image_view_init()
Dradv_meta_copy.c102 .aspect_mask = subres->aspectMask, in blit_surf_for_image_level_layer()
Dradv_meta_blit.c325 switch (src_iview->aspect_mask) { in meta_emit_blit()
Dradv_private.h1458 VkImageAspectFlags aspect_mask; member
Dradv_meta_bufimage.c944 .aspectMask = surf->aspect_mask, in create_iview()
Dradv_meta_clear.c1350 surf.aspect_mask = range->aspectMask; in radv_cmd_clear_image()
Dradv_device.c3488 if (iview->aspect_mask & VK_IMAGE_ASPECT_COLOR_BIT) { in radv_CreateFramebuffer()
3490 } else if (iview->aspect_mask & (VK_IMAGE_ASPECT_DEPTH_BIT | VK_IMAGE_ASPECT_STENCIL_BIT)) { in radv_CreateFramebuffer()
Dradv_cmd_buffer.c1524 assert(att->attachment->aspect_mask & VK_IMAGE_ASPECT_COLOR_BIT); in radv_emit_framebuffer_state()
/external/vulkan-validation-layers/layers/
Dbuffer_validation.cpp644 … uint32_t level, uint32_t layer, VkImageAspectFlags aspect_mask, in TransitionImageAspectLayout() argument
646 if (!(aspect_mask & aspect)) { in TransitionImageAspectLayout()
663 bool VerifyAspectsPresent(VkImageAspectFlags aspect_mask, VkFormat format) { in VerifyAspectsPresent() argument
664 if ((aspect_mask & VK_IMAGE_ASPECT_COLOR_BIT) != 0) { in VerifyAspectsPresent()
667 if ((aspect_mask & VK_IMAGE_ASPECT_DEPTH_BIT) != 0) { in VerifyAspectsPresent()
670 if ((aspect_mask & VK_IMAGE_ASPECT_STENCIL_BIT) != 0) { in VerifyAspectsPresent()
674 …(aspect_mask & (VK_IMAGE_ASPECT_PLANE_0_BIT_KHR | VK_IMAGE_ASPECT_PLANE_1_BIT_KHR | VK_IMAGE_ASPEC… in VerifyAspectsPresent()
816 auto const aspect_mask = img_barrier->subresourceRange.aspectMask; in ValidateBarriersToImages() local
818 if ((aspect_mask & ds_mask) != (ds_mask)) { in ValidateBarriersToImages()
825 aspect_mask); in ValidateBarriersToImages()
[all …]
Ddescriptor_sets.cpp1338 VkImageAspectFlags aspect_mask = iv_state->create_info.subresourceRange.aspectMask; in ValidateImageUpdate() local
1378 if ((aspect_mask & VK_IMAGE_ASPECT_COLOR_BIT) != VK_IMAGE_ASPECT_COLOR_BIT) { in ValidateImageUpdate()
1399 if (aspect_mask & VK_IMAGE_ASPECT_DEPTH_BIT) { in ValidateImageUpdate()
1400 if (aspect_mask & VK_IMAGE_ASPECT_STENCIL_BIT) { in ValidateImageUpdate()
1407 } else if (!(aspect_mask & VK_IMAGE_ASPECT_STENCIL_BIT)) { in ValidateImageUpdate()
1427 if (aspect_mask & VK_IMAGE_ASPECT_DEPTH_BIT) { in ValidateImageUpdate()
1428 if (aspect_mask & VK_IMAGE_ASPECT_STENCIL_BIT) { in ValidateImageUpdate()
Dcore_validation.h801 … uint32_t level, uint32_t layer, VkImageAspectFlags aspect_mask, VkImageAspectFlags aspect);
885 …Mask(const layer_data* device_data, VkImage image, VkFormat format, VkImageAspectFlags aspect_mask,
Dcore_validation.cpp8329 auto aspect_mask = mem_barrier->subresourceRange.aspectMask; in ValidateBarriers() local
8330 …geAspectMask(device_data, image_data->image, image_data->createInfo.format, aspect_mask, funcName); in ValidateBarriers()
/external/vulkan-validation-layers/tests/
Dvktestbinding.h525 …static VkImageSubresourceRange subresource_range(VkImageAspectFlags aspect_mask, uint32_t base_mip…
527 …eSubresourceRange subresource_range(const VkImageCreateInfo &info, VkImageAspectFlags aspect_mask);
848 inline VkImageSubresourceRange Image::subresource_range(VkImageAspectFlags aspect_mask, uint32_t ba… in subresource_range() argument
851 if (aspect_mask == 0) { in subresource_range()
854 range.aspectMask = aspect_mask; in subresource_range()
862 …urceRange Image::subresource_range(const VkImageCreateInfo &info, VkImageAspectFlags aspect_mask) { in subresource_range() argument
863 return subresource_range(aspect_mask, 0, info.mipLevels, 0, info.arrayLayers); in subresource_range()
/external/mesa3d/src/intel/vulkan/
Danv_private.h2249 VkImageAspectFlags aspect_mask) in anv_image_aspect_to_plane() argument
2251 switch (aspect_mask) { in anv_image_aspect_to_plane()
2271 anv_image_aspect_get_planes(VkImageAspectFlags aspect_mask) in anv_image_aspect_get_planes() argument
2275 if (aspect_mask & (VK_IMAGE_ASPECT_COLOR_BIT | in anv_image_aspect_get_planes()
2280 if (aspect_mask & VK_IMAGE_ASPECT_PLANE_1_BIT_KHR) in anv_image_aspect_get_planes()
2282 if (aspect_mask & VK_IMAGE_ASPECT_PLANE_2_BIT_KHR) in anv_image_aspect_get_planes()
2285 if ((aspect_mask & VK_IMAGE_ASPECT_DEPTH_BIT) != 0 && in anv_image_aspect_get_planes()
2286 (aspect_mask & VK_IMAGE_ASPECT_STENCIL_BIT) != 0) in anv_image_aspect_get_planes()
2648 VkImageAspectFlags aspect_mask; member
2726 VkImageAspectFlags aspect_mask);
Danv_image.c1134 iview->aspect_mask = remap_aspect_flags(expanded_aspects); in anv_CreateImageView()
1135 iview->n_planes = anv_image_aspect_get_planes(iview->aspect_mask); in anv_CreateImageView()
1152 anv_plane_to_aspect(iview->aspect_mask, vplane); in anv_CreateImageView()
1191 !(iview->aspect_mask & VK_IMAGE_ASPECT_COLOR_BIT))) { in anv_CreateImageView()
1384 VkImageAspectFlags aspect_mask) in anv_image_get_surface_for_aspect_mask() argument
1388 switch (aspect_mask) { in anv_image_get_surface_for_aspect_mask()
Danv_blorp.c1355 VkImageAspectFlags aspect_mask, in resolve_image() argument
1367 anv_foreach_image_aspect_bit(aspect_bit, src_image, aspect_mask) { in resolve_image()
1561 assert(src_iview->aspect_mask == VK_IMAGE_ASPECT_COLOR_BIT && in anv_cmd_buffer_resolve_subpass()
1562 dst_iview->aspect_mask == VK_IMAGE_ASPECT_COLOR_BIT); in anv_cmd_buffer_resolve_subpass()
Danv_cmd_buffer.c868 assert(iview->aspect_mask & (VK_IMAGE_ASPECT_DEPTH_BIT | in anv_cmd_buffer_get_depth_stencil_view()
DgenX_cmd_buffer.c1673 if ((desc->image_view->aspect_mask & VK_IMAGE_ASPECT_ANY_COLOR_BIT_ANV) == 0) { in emit_binding_table()
3075 } else if (iview->aspect_mask & VK_IMAGE_ASPECT_ANY_COLOR_BIT_ANV && in cmd_buffer_subpass_transition_layouts()