Home
last modified time | relevance | path

Searched refs:aspectMask (Results 1 – 25 of 299) sorted by relevance

12345678910>>...12

/third_party/skia/third_party/externals/swiftshader/src/Vulkan/
DVkImage.cpp237 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 …]
DVkImageView.cpp74 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 …]
DVkFramebuffer.cpp141 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()
DVkImageView.hpp95 …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/
Dget_image_subresource_layout_common.adoc7 * [[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
Dimage_blit_common.adoc7 * [[VUID-{refpage}-aspectMask-00238]]
8 The pname:aspectMask member of pname:srcSubresource and
Dimage_blit_common.txt7 * [[VUID-{refpage}-aspectMask-00238]]
8 The pname:aspectMask member of pname:srcSubresource and
Dimage_resolve_common.txt7 * [[VUID-{refpage}-aspectMask-00266]]
8 The pname:aspectMask member of pname:srcSubresource and
Dimage_resolve_common.adoc7 * [[VUID-{refpage}-aspectMask-00266]]
8 The pname:aspectMask member of pname:srcSubresource and
/third_party/skia/third_party/externals/dawn/src/dawn_native/
DSubresource.cpp23 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/
Dradv_meta_copy.c132 image, layout, &region->imageSubresource, region->imageSubresource.aspectMask); in copy_buffer_to_image()
143 .aspectMask = region->imageSubresource.aspectMask, in copy_buffer_to_image()
281 image, layout, &region->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 …]
Dradv_meta_clear.c361 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 …]
Dradv_meta_resolve_cs.c676 .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/
DvktTextureFilteringTests.cpp235 …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 …]
DvktTextureTestUtil.hpp156 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
DvktTextureTestUtil.cpp322 …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/
DvktTextureFilteringTests.cpp235 …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 …]
DvktTextureTestUtil.hpp156 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
DvktTextureTestUtil.cpp322 …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/
DvktApiImageClearingTests.cpp494 …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/
DvktApiImageClearingTests.cpp494 …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/
DvktRenderPassUnusedClearAttachmentTests.cpp97 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/
DvktRenderPassUnusedClearAttachmentTests.cpp97 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/
Dv3dvx_meta_common.c501 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/
Dclears.txt80 * [[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 …]

12345678910>>...12