/third_party/skia/third_party/externals/swiftshader/src/Vulkan/ |
D | VkImage.cpp | 237 auto aspect = static_cast<VkImageAspectFlagBits>(subresourceRange.aspectMask); in getSizeInBytes() 340 if(!((pSubresource->aspectMask == VK_IMAGE_ASPECT_COLOR_BIT) || in getSubresourceLayout() 341 (pSubresource->aspectMask == VK_IMAGE_ASPECT_DEPTH_BIT) || in getSubresourceLayout() 342 (pSubresource->aspectMask == VK_IMAGE_ASPECT_STENCIL_BIT) || in getSubresourceLayout() 343 (pSubresource->aspectMask == VK_IMAGE_ASPECT_PLANE_0_BIT) || in getSubresourceLayout() 344 (pSubresource->aspectMask == VK_IMAGE_ASPECT_PLANE_1_BIT) || in getSubresourceLayout() 345 (pSubresource->aspectMask == VK_IMAGE_ASPECT_PLANE_2_BIT))) in getSubresourceLayout() 347 UNSUPPORTED("aspectMask %X", pSubresource->aspectMask); in getSubresourceLayout() 350 auto aspect = static_cast<VkImageAspectFlagBits>(pSubresource->aspectMask); in getSubresourceLayout() 362 if((region.srcSubresource.aspectMask == CombinedDepthStencilAspects) && in copyTo() [all …]
|
D | VkImageView.cpp | 74 range.aspectMask, in ResolveRemainingLevelsLayers() 87 vk::Format viewFormat = GetImageViewFormat(pCreateInfo).getAspectFormat(subresource.aspectMask); in Identifier() 90 … == sampledImage) ? viewFormat : sampledImage->getFormat().getAspectFormat(subresource.aspectMask); in Identifier() 182 void ImageView::clear(const VkClearValue &clearValue, const VkImageAspectFlags aspectMask, const Vk… in clear() argument 190 sr.aspectMask = aspectMask; in clear() 194 void ImageView::clear(const VkClearValue &clearValue, const VkImageAspectFlags aspectMask, const Vk… in clear() argument 202 sr.aspectMask = aspectMask; in clear() 211 void ImageView::clearWithLayerMask(const VkClearValue &clearValue, VkImageAspectFlags aspectMask, c… in clearWithLayerMask() argument 219 clear(clearValue, aspectMask, r); in clearWithLayerMask() 234 subresourceRange.aspectMask, in resolve() [all …]
|
D | VkFramebuffer.cpp | 141 if(attachment.aspectMask == VK_IMAGE_ASPECT_COLOR_BIT) in clearAttachment() 153 imageView->clearWithLayerMask(attachment.clearValue, attachment.aspectMask, rect.rect, in clearAttachment() 158 imageView->clear(attachment.clearValue, attachment.aspectMask, rect); in clearAttachment() 162 else if(attachment.aspectMask & (VK_IMAGE_ASPECT_DEPTH_BIT | VK_IMAGE_ASPECT_STENCIL_BIT)) in clearAttachment() 173 imageView->clearWithLayerMask(attachment.clearValue, attachment.aspectMask, rect.rect, in clearAttachment() 178 imageView->clear(attachment.clearValue, attachment.aspectMask, rect); in clearAttachment() 183 UNSUPPORTED("attachment.aspectMask %X", attachment.aspectMask); in clearAttachment()
|
D | VkImageView.hpp | 95 …void clear(const VkClearValue &clearValues, VkImageAspectFlags aspectMask, const VkRect2D &renderA… 96 …void clear(const VkClearValue &clearValue, VkImageAspectFlags aspectMask, const VkClearRect &rende… 97 …void clearWithLayerMask(const VkClearValue &clearValue, VkImageAspectFlags aspectMask, const VkRec… 127 …bool hasDepthAspect() const { return (subresourceRange.aspectMask & VK_IMAGE_ASPECT_DEPTH_BIT) != … in hasDepthAspect() 128 …bool hasStencilAspect() const { return (subresourceRange.aspectMask & VK_IMAGE_ASPECT_STENCIL_BIT)… in hasStencilAspect()
|
/third_party/vk-gl-cts/external/vulkan-docs/src/chapters/commonvalidity/ |
D | get_image_subresource_layout_common.adoc | 7 * [[VUID-{refpage}-aspectMask-00997]] 8 The pname:aspectMask member of pname:pSubresource must: only have a 19 If pname:format is a color format, the pname:aspectMask member of 22 If pname:format has a depth component, the pname:aspectMask member of 25 If pname:format has a stencil component, the pname:aspectMask member of 29 pname:aspectMask member of pname:pSubresource must: not contain 36 two planes, the pname:aspectMask member of pname:pSubresource must: be 42 three planes, the pname:aspectMask member of pname:pSubresource must: be 55 ename:VK_IMAGE_TILING_DRM_FORMAT_MODIFIER_EXT, then the pname:aspectMask
|
D | image_blit_common.adoc | 7 * [[VUID-{refpage}-aspectMask-00238]] 8 The pname:aspectMask member of pname:srcSubresource and
|
D | image_blit_common.txt | 7 * [[VUID-{refpage}-aspectMask-00238]] 8 The pname:aspectMask member of pname:srcSubresource and
|
D | image_resolve_common.txt | 7 * [[VUID-{refpage}-aspectMask-00266]] 8 The pname:aspectMask member of pname:srcSubresource and
|
D | image_resolve_common.adoc | 7 * [[VUID-{refpage}-aspectMask-00266]] 8 The pname:aspectMask member of pname:srcSubresource and
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/ |
D | Subresource.cpp | 23 Aspect aspectMask = ConvertAspect(format, aspect); in ConvertSingleAspect() local 24 ASSERT(HasOneBit(aspectMask)); in ConvertSingleAspect() 25 return aspectMask; in ConvertSingleAspect() 29 Aspect aspectMask = SelectFormatAspects(format, aspect); in ConvertAspect() local 30 ASSERT(aspectMask != Aspect::None); in ConvertAspect() 31 return aspectMask; in ConvertAspect()
|
/third_party/mesa3d/src/amd/vulkan/ |
D | radv_meta_copy.c | 132 image, layout, ®ion->imageSubresource, region->imageSubresource.aspectMask); in copy_buffer_to_image() 143 .aspectMask = region->imageSubresource.aspectMask, in copy_buffer_to_image() 281 image, layout, ®ion->imageSubresource, region->imageSubresource.aspectMask); in copy_image_to_buffer() 292 .aspectMask = region->imageSubresource.aspectMask, in copy_image_to_buffer() 391 u_foreach_bit(i, region->dstSubresource.aspectMask) { in copy_image() 395 .aspectMask = aspect_mask, in copy_image() 405 VkImageAspectFlags src_aspects[3] = { region->srcSubresource.aspectMask }; in copy_image() 406 VkImageAspectFlags dst_aspects[3] = { region->dstSubresource.aspectMask }; in copy_image() 409 if (region->srcSubresource.aspectMask == VK_IMAGE_ASPECT_COLOR_BIT && in copy_image() 454 .aspectMask = dst_aspects[a], in copy_image() [all …]
|
D | radv_meta_clear.c | 361 assert(clear_att->aspectMask == VK_IMAGE_ASPECT_COLOR_BIT); in emit_color_clear() 593 VkImageAspectFlags aspects = clear_att->aspectMask; in emit_depthstencil_clear() 866 VkImageAspectFlags aspects = clear_att->aspectMask; in radv_fast_clear_depth() 882 .aspectMask = aspects, in radv_fast_clear_depth() 1409 .subresourceRange = {.aspectMask = VK_IMAGE_ASPECT_COLOR_BIT, in radv_clear_dcc_comp_to_single() 1470 htile_mask = radv_get_htile_mask(cmd_buffer->device, image, range->aspectMask); in radv_clear_htile() 1794 .aspectMask = iview->vk.aspects, in radv_fast_clear_color() 1871 VkImageAspectFlags aspects = clear_att->aspectMask; in emit_clear() 1971 radv_describe_begin_render_pass_clear(cmd_buffer, clear_att->aspectMask); in radv_subpass_clear_attachment() 2013 .aspectMask = VK_IMAGE_ASPECT_COLOR_BIT, in radv_cmd_buffer_clear_subpass() [all …]
|
D | radv_meta_resolve_cs.c | 676 .aspectMask = region->dstSubresource.aspectMask, in radv_meta_resolve_compute_image() 688 assert(region->srcSubresource.aspectMask == VK_IMAGE_ASPECT_COLOR_BIT); in radv_meta_resolve_compute_image() 689 assert(region->dstSubresource.aspectMask == VK_IMAGE_ASPECT_COLOR_BIT); in radv_meta_resolve_compute_image() 713 .aspectMask = VK_IMAGE_ASPECT_COLOR_BIT, in radv_meta_resolve_compute_image() 731 .aspectMask = VK_IMAGE_ASPECT_COLOR_BIT, in radv_meta_resolve_compute_image() 757 .aspectMask = VK_IMAGE_ASPECT_COLOR_BIT, in radv_meta_resolve_compute_image() 805 .aspectMask = VK_IMAGE_ASPECT_COLOR_BIT, in radv_cmd_buffer_resolve_subpass_cs() 812 .aspectMask = VK_IMAGE_ASPECT_COLOR_BIT, in radv_cmd_buffer_resolve_subpass_cs() 858 region.srcSubresource.aspectMask = aspects; in radv_depth_stencil_resolve_subpass_cs() 881 .aspectMask = aspects, in radv_depth_stencil_resolve_subpass_cs() [all …]
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/texture/ |
D | vktTextureFilteringTests.cpp | 235 …if (texFormat.order == tcu::TextureFormat::DS && m_testParameters.aspectMask == VK_IMAGE_ASPECT_ST… in Texture2DFilteringTestInstance() 262 …if (texFormat.order == tcu::TextureFormat::DS && m_testParameters.aspectMask == VK_IMAGE_ASPECT_ST… in Texture2DFilteringTestInstance() 276 …if (texFormat.order == tcu::TextureFormat::DS && m_testParameters.aspectMask == VK_IMAGE_ASPECT_ST… in Texture2DFilteringTestInstance() 285 m_renderer.add2DTexture(*i, testParameters.aspectMask); in Texture2DFilteringTestInstance() 338 …if (texFmt.order == tcu::TextureFormat::DS && m_testParameters.aspectMask == VK_IMAGE_ASPECT_STENC… in iterate() 451 …if (texFormat.order == tcu::TextureFormat::DS && m_testParameters.aspectMask == VK_IMAGE_ASPECT_ST… in TextureCubeFilteringTestInstance() 483 …if (texFormat.order == tcu::TextureFormat::DS && m_testParameters.aspectMask == VK_IMAGE_ASPECT_ST… in TextureCubeFilteringTestInstance() 502 …if (texFormat.order == tcu::TextureFormat::DS && m_testParameters.aspectMask == VK_IMAGE_ASPECT_ST… in TextureCubeFilteringTestInstance() 512 m_renderer.addCubeTexture(*i, testParameters.aspectMask); in TextureCubeFilteringTestInstance() 570 …if (texFmt.order == tcu::TextureFormat::DS && m_testParameters.aspectMask == VK_IMAGE_ASPECT_STENC… in iterate() [all …]
|
D | vktTextureTestUtil.hpp | 156 const vk::VkImageAspectFlags aspectMask, 235 const vk::VkImageAspectFlags& aspectMask, 240 const vk::VkImageAspectFlags& aspectMask, 245 const vk::VkImageAspectFlags& aspectMask, 250 const vk::VkImageAspectFlags& aspectMask, 255 const vk::VkImageAspectFlags& aspectMask, 260 const vk::VkImageAspectFlags& aspectMask, 265 const vk::VkImageAspectFlags& aspectMask, 411 vk::VkImageAspectFlags aspectMask; member
|
D | vktTextureTestUtil.cpp | 322 …ureData, const TextureBinding::Type type, const vk::VkImageAspectFlags aspectMask, const TextureBi… in TextureBinding() argument 329 , m_aspectMask (aspectMask) in TextureBinding() 460 …const VkImageAspectFlags aspectMask = ( m_aspectMask != VK_IMAGE_ASPECT_FLAG_BITS_MAX_ENUM … in updateTextureViewMipLevels() local 488 aspectMask, // VkImageAspectFlags aspectMask; in updateTextureViewMipLevels() 1023 …Texture (const TestTexture2DSp& texture, const vk::VkImageAspectFlags& aspectMask, TextureBinding:… in add2DTexture() argument 1025 …_context, getDevice(), *m_allocator, texture, TextureBinding::TYPE_2D, aspectMask, backingMode, m_… in add2DTexture() 1028 …xture (const TestTextureCubeSp& texture, const vk::VkImageAspectFlags& aspectMask, TextureBinding:… in addCubeTexture() argument 1030 …xt, getDevice(), *m_allocator, texture, TextureBinding::TYPE_CUBE_MAP, aspectMask, backingMode, m_… in addCubeTexture() 1033 …re (const TestTexture2DArraySp& texture, const vk::VkImageAspectFlags& aspectMask, TextureBinding:… in add2DArrayTexture() argument 1035 …xt, getDevice(), *m_allocator, texture, TextureBinding::TYPE_2D_ARRAY, aspectMask, backingMode, m_… in add2DArrayTexture() [all …]
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/texture/ |
D | vktTextureFilteringTests.cpp | 235 …if (texFormat.order == tcu::TextureFormat::DS && m_testParameters.aspectMask == VK_IMAGE_ASPECT_ST… in Texture2DFilteringTestInstance() 262 …if (texFormat.order == tcu::TextureFormat::DS && m_testParameters.aspectMask == VK_IMAGE_ASPECT_ST… in Texture2DFilteringTestInstance() 276 …if (texFormat.order == tcu::TextureFormat::DS && m_testParameters.aspectMask == VK_IMAGE_ASPECT_ST… in Texture2DFilteringTestInstance() 285 m_renderer.add2DTexture(*i, testParameters.aspectMask); in Texture2DFilteringTestInstance() 338 …if (texFmt.order == tcu::TextureFormat::DS && m_testParameters.aspectMask == VK_IMAGE_ASPECT_STENC… in iterate() 451 …if (texFormat.order == tcu::TextureFormat::DS && m_testParameters.aspectMask == VK_IMAGE_ASPECT_ST… in TextureCubeFilteringTestInstance() 483 …if (texFormat.order == tcu::TextureFormat::DS && m_testParameters.aspectMask == VK_IMAGE_ASPECT_ST… in TextureCubeFilteringTestInstance() 502 …if (texFormat.order == tcu::TextureFormat::DS && m_testParameters.aspectMask == VK_IMAGE_ASPECT_ST… in TextureCubeFilteringTestInstance() 512 m_renderer.addCubeTexture(*i, testParameters.aspectMask); in TextureCubeFilteringTestInstance() 570 …if (texFmt.order == tcu::TextureFormat::DS && m_testParameters.aspectMask == VK_IMAGE_ASPECT_STENC… in iterate() [all …]
|
D | vktTextureTestUtil.hpp | 156 const vk::VkImageAspectFlags aspectMask, 235 const vk::VkImageAspectFlags& aspectMask, 240 const vk::VkImageAspectFlags& aspectMask, 245 const vk::VkImageAspectFlags& aspectMask, 250 const vk::VkImageAspectFlags& aspectMask, 255 const vk::VkImageAspectFlags& aspectMask, 260 const vk::VkImageAspectFlags& aspectMask, 265 const vk::VkImageAspectFlags& aspectMask, 411 vk::VkImageAspectFlags aspectMask; member
|
D | vktTextureTestUtil.cpp | 322 …ureData, const TextureBinding::Type type, const vk::VkImageAspectFlags aspectMask, const TextureBi… in TextureBinding() argument 329 , m_aspectMask (aspectMask) in TextureBinding() 460 …const VkImageAspectFlags aspectMask = ( m_aspectMask != VK_IMAGE_ASPECT_FLAG_BITS_MAX_ENUM … in updateTextureViewMipLevels() local 488 aspectMask, // VkImageAspectFlags aspectMask; in updateTextureViewMipLevels() 1023 …Texture (const TestTexture2DSp& texture, const vk::VkImageAspectFlags& aspectMask, TextureBinding:… in add2DTexture() argument 1025 …_context, getDevice(), *m_allocator, texture, TextureBinding::TYPE_2D, aspectMask, backingMode, m_… in add2DTexture() 1028 …xture (const TestTextureCubeSp& texture, const vk::VkImageAspectFlags& aspectMask, TextureBinding:… in addCubeTexture() argument 1030 …xt, getDevice(), *m_allocator, texture, TextureBinding::TYPE_CUBE_MAP, aspectMask, backingMode, m_… in addCubeTexture() 1033 …re (const TestTexture2DArraySp& texture, const vk::VkImageAspectFlags& aspectMask, TextureBinding:… in add2DArrayTexture() argument 1035 …xt, getDevice(), *m_allocator, texture, TextureBinding::TYPE_2D_ARRAY, aspectMask, backingMode, m_… in add2DArrayTexture() [all …]
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/api/ |
D | vktApiImageClearingTests.cpp | 494 …e image, VkImageViewType viewType, VkFormat format, VkImageAspectFlags aspectMask, LayerRange laye… 505 …sMask, VkImageLayout oldLayout, VkImageLayout newLayout, VkImageAspectFlags aspectMask = 0u) const; 506 …de::MovePtr<TextureLevelPyramid> readImage (VkImageAspectFlags aspectMask, deUint32 baseLayer… 778 …e image, VkImageViewType viewType, VkFormat format, VkImageAspectFlags aspectMask, LayerRange laye… in createImageView() argument 795 aspectMask, // VkImageAspectFlags aspectMask; in createImageView() 1029 …tAccessMask, VkImageLayout oldLayout, VkImageLayout newLayout, VkImageAspectFlags aspectMask) const in pipelineImageBarrier() 1031 …if (!aspectMask || m_params.separateDepthStencilLayoutMode == SEPARATE_DEPTH_STENCIL_LAYOUT_MODE_N… in pipelineImageBarrier() 1032 aspectMask = m_imageAspectFlags; in pipelineImageBarrier() 1046 aspectMask, // VkImageAspectFlags aspectMask; in pipelineImageBarrier() 1057 …LevelPyramid> ImageClearingTestInstance::readImage (VkImageAspectFlags aspectMask, deUint32 arrayL… in readImage() argument [all …]
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/api/ |
D | vktApiImageClearingTests.cpp | 494 …e image, VkImageViewType viewType, VkFormat format, VkImageAspectFlags aspectMask, LayerRange laye… 505 …sMask, VkImageLayout oldLayout, VkImageLayout newLayout, VkImageAspectFlags aspectMask = 0u) const; 506 …de::MovePtr<TextureLevelPyramid> readImage (VkImageAspectFlags aspectMask, deUint32 baseLayer… 778 …e image, VkImageViewType viewType, VkFormat format, VkImageAspectFlags aspectMask, LayerRange laye… in createImageView() argument 795 aspectMask, // VkImageAspectFlags aspectMask; in createImageView() 1029 …tAccessMask, VkImageLayout oldLayout, VkImageLayout newLayout, VkImageAspectFlags aspectMask) const in pipelineImageBarrier() 1031 …if (!aspectMask || m_params.separateDepthStencilLayoutMode == SEPARATE_DEPTH_STENCIL_LAYOUT_MODE_N… in pipelineImageBarrier() 1032 aspectMask = m_imageAspectFlags; in pipelineImageBarrier() 1046 aspectMask, // VkImageAspectFlags aspectMask; in pipelineImageBarrier() 1057 …LevelPyramid> ImageClearingTestInstance::readImage (VkImageAspectFlags aspectMask, deUint32 arrayL… in readImage() argument [all …]
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/renderpass/ |
D | vktRenderPassUnusedClearAttachmentTests.cpp | 97 VkImageAspectFlags aspectMask = 0u; in getClearAspectMask() local 100 aspectMask |= VK_IMAGE_ASPECT_DEPTH_BIT; in getClearAspectMask() 103 aspectMask |= VK_IMAGE_ASPECT_STENCIL_BIT; in getClearAspectMask() 105 return aspectMask; in getClearAspectMask() 111 VkImageAspectFlags aspectMask = 0u; in getFormatAspectMask() local 114 aspectMask |= VK_IMAGE_ASPECT_DEPTH_BIT; in getFormatAspectMask() 117 aspectMask |= VK_IMAGE_ASPECT_STENCIL_BIT; in getFormatAspectMask() 119 if (!aspectMask) in getFormatAspectMask() 120 aspectMask |= VK_IMAGE_ASPECT_COLOR_BIT; in getFormatAspectMask() 122 return aspectMask; in getFormatAspectMask() [all …]
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/renderpass/ |
D | vktRenderPassUnusedClearAttachmentTests.cpp | 97 VkImageAspectFlags aspectMask = 0u; in getClearAspectMask() local 100 aspectMask |= VK_IMAGE_ASPECT_DEPTH_BIT; in getClearAspectMask() 103 aspectMask |= VK_IMAGE_ASPECT_STENCIL_BIT; in getClearAspectMask() 105 return aspectMask; in getClearAspectMask() 111 VkImageAspectFlags aspectMask = 0u; in getFormatAspectMask() local 114 aspectMask |= VK_IMAGE_ASPECT_DEPTH_BIT; in getFormatAspectMask() 117 aspectMask |= VK_IMAGE_ASPECT_STENCIL_BIT; in getFormatAspectMask() 119 if (!aspectMask) in getFormatAspectMask() 120 aspectMask |= VK_IMAGE_ASPECT_COLOR_BIT; in getFormatAspectMask() 122 return aspectMask; in getFormatAspectMask() [all …]
|
/third_party/mesa3d/src/broadcom/vulkan/ |
D | v3dvx_meta_common.c | 501 region->imageSubresource.aspectMask, in emit_copy_layer_to_buffer_per_tile_list() 531 region->imageSubresource.aspectMask & VK_IMAGE_ASPECT_STENCIL_BIT ? in emit_copy_layer_to_buffer_per_tile_list() 538 region->imageSubresource.aspectMask, in emit_copy_layer_to_buffer_per_tile_list() 609 region->srcSubresource.aspectMask, in emit_resolve_image_layer_per_tile_list() 627 region->dstSubresource.aspectMask, in emit_resolve_image_layer_per_tile_list() 770 region->srcSubresource.aspectMask, in emit_copy_image_layer_per_tile_list() 788 region->dstSubresource.aspectMask, in emit_copy_image_layer_per_tile_list() 1082 uint32_t cpp = imgrsc->aspectMask & VK_IMAGE_ASPECT_STENCIL_BIT ? in emit_copy_buffer_to_layer_per_tile_list() 1088 uint32_t format = choose_tlb_format(framebuffer, imgrsc->aspectMask, in emit_copy_buffer_to_layer_per_tile_list() 1110 if (imgrsc->aspectMask & VK_IMAGE_ASPECT_DEPTH_BIT) { in emit_copy_buffer_to_layer_per_tile_list() [all …]
|
/third_party/vk-gl-cts/external/vulkan-docs/src/chapters/ |
D | clears.txt | 80 * [[VUID-vkCmdClearColorImage-aspectMask-02498]] 81 The slink:VkImageSubresourceRange::pname:aspectMask members of the 190 * [[VUID-vkCmdClearDepthStencilImage-aspectMask-02824]] 191 The slink:VkImageSubresourceRange::pname:aspectMask member of each 196 slink:VkImageSubresourceRange::pname:aspectMask member of each element 201 slink:VkImageSubresourceRange::pname:aspectMask member of each element 302 * [[VUID-vkCmdClearAttachments-aspectMask-02501]] 303 If the pname:aspectMask member of any element of pname:pAttachments 307 * [[VUID-vkCmdClearAttachments-aspectMask-02502]] 308 If the pname:aspectMask member of any element of pname:pAttachments [all …]
|