Home
last modified time | relevance | path

Searched refs:aspectFlags (Results 1 – 25 of 39) sorted by relevance

12

/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
Dvk_helpers.cpp605 bool HasBothDepthAndStencilAspects(VkImageAspectFlags aspectFlags) in HasBothDepthAndStencilAspects() argument
607 return IsMaskFlagSet(aspectFlags, kDepthStencilAspects); in HasBothDepthAndStencilAspects()
967 VkImageAspectFlags aspectFlags, in store() argument
970 ASSERT(aspectFlags != 0); in store()
971 if (aspectFlags != VK_IMAGE_ASPECT_STENCIL_BIT) in store()
1155 VkImageAspectFlags aspectFlags, in imageRead() argument
1161 updateImageLayoutAndBarrier(contextVk, image, aspectFlags, imageLayout); in imageRead()
1184 VkImageAspectFlags aspectFlags, in imageWrite() argument
1190 image->onWrite(level, 1, layerStart, layerCount, aspectFlags); in imageWrite()
1192 updateImageLayoutAndBarrier(contextVk, image, aspectFlags, imageLayout); in imageWrite()
[all …]
Dvk_helpers.h977 VkImageAspectFlags aspectFlags,
1038 VkImageAspectFlags aspectFlags,
1045 VkImageAspectFlags aspectFlags,
1147 void updateRenderPassDepthStencilClear(VkImageAspectFlags aspectFlags,
1249 VkImageAspectFlags aspectFlags,
1830 VkImageAspectFlags aspectFlags,
2008 VkImageAspectFlags aspectFlags);
2068 VkImageAspectFlags aspectFlags; member
2099 SubresourceUpdate(VkImageAspectFlags aspectFlags,
2154 void clear(VkImageAspectFlags aspectFlags,
[all …]
Dvk_utils.cpp926 VkImageAspectFlags aspectFlags, in store() argument
929 ASSERT(aspectFlags != 0); in store()
932 if ((aspectFlags & VK_IMAGE_ASPECT_STENCIL_BIT) != 0) in store()
936 (index == kUnpackedStencilIndex && aspectFlags == VK_IMAGE_ASPECT_STENCIL_BIT)); in store()
941 if (aspectFlags != VK_IMAGE_ASPECT_STENCIL_BIT) in store()
DContextVk.h511 void onImageRenderPassRead(VkImageAspectFlags aspectFlags, in onImageRenderPassRead() argument
516 mRenderPassCommands->imageRead(this, aspectFlags, imageLayout, image); in onImageRenderPassRead()
522 VkImageAspectFlags aspectFlags, in onImageRenderPassWrite() argument
527 mRenderPassCommands->imageWrite(this, level, layerStart, layerCount, aspectFlags, in onImageRenderPassWrite()
DTextureVk.cpp505 const VkImageAspectFlags aspectFlags = in setSubImageImpl() local
527 imageHeightPixels, area, offsetBytes, aspectFlags)); in setSubImageImpl()
1735 VkImageAspectFlags aspectFlags) in copyBufferDataToImage() argument
1746 ASSERT((aspectFlags & kDepthStencilAspects) != kDepthStencilAspects); in copyBufferDataToImage()
1758 region.imageSubresource.aspectMask = aspectFlags; in copyBufferDataToImage()
2068 const VkImageAspectFlags aspectFlags = srcImage->getAspectFlags(); in copyAndStageImageData() local
2071 access.onImageTransferWrite(gl::LevelIndex(0), levelCount, 0, layerCount, aspectFlags, in copyAndStageImageData()
2073 access.onImageTransferRead(aspectFlags, srcImage); in copyAndStageImageData()
2079 copyRegion.srcSubresource.aspectMask = aspectFlags; in copyAndStageImageData()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/imageless_framebuffer/
DvktImagelessFramebufferTests.cpp990 const AspectFlags aspectFlags,
996 const AspectFlags aspectFlags,
1166 …onst VkFormat bufferFormat, const std::string& name, const AspectFlags aspectFlags, const deUint32… in verifyBuffer() argument
1172 const bool depth ((aspectFlags & ASPECT_DEPTH) != 0); in verifyBuffer()
1173 const bool stencil ((aspectFlags & ASPECT_STENCIL) != 0); in verifyBuffer()
1177 …evel> referenceImage (generateReferenceImage(referenceTextureFormat, aspectFlags, sample, subpas… in verifyBuffer()
1202 const AspectFlags aspectFlags, in generateReferenceImage() argument
1215 DE_UNREF(aspectFlags); in generateReferenceImage()
1216 DE_ASSERT(aspectFlags == ASPECT_COLOR); in generateReferenceImage()
1340 const AspectFlags aspectFlags,
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/imageless_framebuffer/
DvktImagelessFramebufferTests.cpp990 const AspectFlags aspectFlags,
996 const AspectFlags aspectFlags,
1166 …onst VkFormat bufferFormat, const std::string& name, const AspectFlags aspectFlags, const deUint32… in verifyBuffer() argument
1172 const bool depth ((aspectFlags & ASPECT_DEPTH) != 0); in verifyBuffer()
1173 const bool stencil ((aspectFlags & ASPECT_STENCIL) != 0); in verifyBuffer()
1177 …evel> referenceImage (generateReferenceImage(referenceTextureFormat, aspectFlags, sample, subpas… in verifyBuffer()
1202 const AspectFlags aspectFlags, in generateReferenceImage() argument
1215 DE_UNREF(aspectFlags); in generateReferenceImage()
1216 DE_ASSERT(aspectFlags == ASPECT_COLOR); in generateReferenceImage()
1340 const AspectFlags aspectFlags,
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/api/
DvktApiGranularityTests.cpp193 VkImageAspectFlags aspectFlags = 0; in initImages() local
197 aspectFlags |= VK_IMAGE_ASPECT_DEPTH_BIT; in initImages()
200 aspectFlags |= VK_IMAGE_ASPECT_STENCIL_BIT; in initImages()
202 if (!aspectFlags) in initImages()
203 aspectFlags = VK_IMAGE_ASPECT_COLOR_BIT; in initImages()
227 { aspectFlags, 0u, 1u, 0u, 1u } // VkImageSubresourceRange subresourceRange; in initImages()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/api/
DvktApiGranularityTests.cpp193 VkImageAspectFlags aspectFlags = 0; in initImages() local
197 aspectFlags |= VK_IMAGE_ASPECT_DEPTH_BIT; in initImages()
200 aspectFlags |= VK_IMAGE_ASPECT_STENCIL_BIT; in initImages()
202 if (!aspectFlags) in initImages()
203 aspectFlags = VK_IMAGE_ASPECT_COLOR_BIT; in initImages()
227 { aspectFlags, 0u, 1u, 0u, 1u } // VkImageSubresourceRange subresourceRange; in initImages()
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
DTextureVk.cpp75 bool HasBothDepthAndStencilAspects(VkImageAspectFlags aspectFlags) in HasBothDepthAndStencilAspects() argument
79 return (aspectFlags & kDepthStencilAspects) == kDepthStencilAspects; in HasBothDepthAndStencilAspects()
1387 VkImageAspectFlags aspectFlags = mImage->getAspectFlags(); in getTextureViews() local
1388 if (HasBothDepthAndStencilAspects(aspectFlags) && mState.isStencilMode()) in getTextureViews()
1532 VkImageAspectFlags aspectFlags, in initImageViewImpl() argument
1540 ANGLE_TRY(mImage->initLayerImageView(contextVk, mState.getType(), aspectFlags, mappedSwizzle, in initImageViewImpl()
1543 ANGLE_TRY(mImage->initLayerImageView(contextVk, mState.getType(), aspectFlags, mappedSwizzle, in initImageViewImpl()
1552 ANGLE_TRY(mImage->initLayerImageView(contextVk, arrayType, aspectFlags, mappedSwizzle, in initImageViewImpl()
1555 ANGLE_TRY(mImage->initLayerImageView(contextVk, arrayType, aspectFlags, mappedSwizzle, in initImageViewImpl()
1561 ANGLE_TRY(mImage->initLayerImageView(contextVk, mState.getType(), aspectFlags, in initImageViewImpl()
[all …]
DRenderTargetVk.cpp86 VkImageAspectFlags aspectFlags = vk::GetDepthStencilAspectFlags(format); in onDepthStencilDraw() local
88 mImage->changeLayout(aspectFlags, vk::ImageLayout::DepthStencilAttachment, commandBuffer); in onDepthStencilDraw()
Dvk_helpers.cpp2174 VkImageAspectFlags aspectFlags = GetFormatAspectFlags(vkFormat.imageFormat()); in stageSubresourceUpdate() local
2200 ASSERT((aspectFlags & VK_IMAGE_ASPECT_STENCIL_BIT) != 0); in stageSubresourceUpdate()
2228 aspectFlags &= ~VK_IMAGE_ASPECT_STENCIL_BIT; in stageSubresourceUpdate()
2231 if (IsMaskFlagSet(aspectFlags, static_cast<VkImageAspectFlags>(VK_IMAGE_ASPECT_STENCIL_BIT | in stageSubresourceUpdate()
2239 aspectFlags &= ~VK_IMAGE_ASPECT_DEPTH_BIT; in stageSubresourceUpdate()
2243 aspectFlags &= ~VK_IMAGE_ASPECT_STENCIL_BIT; in stageSubresourceUpdate()
2247 if (aspectFlags) in stageSubresourceUpdate()
2249 copy.imageSubresource.aspectMask = aspectFlags; in stageSubresourceUpdate()
2489 const VkImageAspectFlags aspectFlags = GetFormatAspectFlags(mFormat->imageFormat()); in flushStagedUpdates() local
2499 changeLayout(aspectFlags, vk::ImageLayout::TransferDst, commandBuffer); in flushStagedUpdates()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/renderpass/
DvktRenderPassDepthStencilResolveTests.cpp92 VkImageAspectFlags aspectFlags = in aspectFlagsForFormat() local
95 return aspectFlags; in aspectFlagsForFormat()
1503 VkImageAspectFlags aspectFlags = (hasDepth * VK_IMAGE_ASPECT_DEPTH_BIT) | in initTests() local
1567 aspectFlags, in initTests()
1611 aspectFlags, in initTests()
1687 VkImageAspectFlags aspectFlags = (hasDepth * VK_IMAGE_ASPECT_DEPTH_BIT) | in initTests() local
1728 aspectFlags, in initTests()
1762 aspectFlags, in initTests()
DvktRenderPassLoadStoreOpNoneTests.cpp452 const auto aspectFlags = getImageAspectFlags(mapVkFormat(format)); in checkSupport() local
455 DE_ASSERT((aspectFlags & VK_IMAGE_ASPECT_DEPTH_BIT) != 0u); in checkSupport()
458 DE_ASSERT((aspectFlags & VK_IMAGE_ASPECT_STENCIL_BIT) != 0u); in checkSupport()
460 DE_UNREF(aspectFlags); // For release builds. in checkSupport()
848 VkImageAspectFlags aspectFlags; in iterate() local
855 aspectFlags = getImageAspectFlags(mapVkFormat(format)); in iterate()
867 aspectFlags = VK_IMAGE_ASPECT_COLOR_BIT; in iterate()
912 { aspectFlags, 0u, 1u, 0u, 1u } // VkImageSubresourceRange subresourceRange in iterate()
DvktRenderPassDitheringTests.cpp594 VkImageAspectFlags aspectFlags = VK_IMAGE_ASPECT_COLOR_BIT; in createDrawResources() local
629 { aspectFlags, 0u, 1u, 0u, 1u } // VkImageSubresourceRange subresourceRange in createDrawResources()
655 VkImageAspectFlags aspectFlags = VK_IMAGE_ASPECT_DEPTH_BIT | VK_IMAGE_ASPECT_STENCIL_BIT; in createDrawResources() local
689 { aspectFlags, 0u, 1u, 0u, 1u } // VkImageSubresourceRange subresourceRange in createDrawResources()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/renderpass/
DvktRenderPassDepthStencilResolveTests.cpp92 VkImageAspectFlags aspectFlags = in aspectFlagsForFormat() local
95 return aspectFlags; in aspectFlagsForFormat()
1503 VkImageAspectFlags aspectFlags = (hasDepth * VK_IMAGE_ASPECT_DEPTH_BIT) | in initTests() local
1567 aspectFlags, in initTests()
1611 aspectFlags, in initTests()
1687 VkImageAspectFlags aspectFlags = (hasDepth * VK_IMAGE_ASPECT_DEPTH_BIT) | in initTests() local
1728 aspectFlags, in initTests()
1762 aspectFlags, in initTests()
DvktRenderPassLoadStoreOpNoneTests.cpp452 const auto aspectFlags = getImageAspectFlags(mapVkFormat(format)); in checkSupport() local
455 DE_ASSERT((aspectFlags & VK_IMAGE_ASPECT_DEPTH_BIT) != 0u); in checkSupport()
458 DE_ASSERT((aspectFlags & VK_IMAGE_ASPECT_STENCIL_BIT) != 0u); in checkSupport()
460 DE_UNREF(aspectFlags); // For release builds. in checkSupport()
848 VkImageAspectFlags aspectFlags; in iterate() local
855 aspectFlags = getImageAspectFlags(mapVkFormat(format)); in iterate()
867 aspectFlags = VK_IMAGE_ASPECT_COLOR_BIT; in iterate()
912 { aspectFlags, 0u, 1u, 0u, 1u } // VkImageSubresourceRange subresourceRange in iterate()
DvktRenderPassDitheringTests.cpp594 VkImageAspectFlags aspectFlags = VK_IMAGE_ASPECT_COLOR_BIT; in createDrawResources() local
629 { aspectFlags, 0u, 1u, 0u, 1u } // VkImageSubresourceRange subresourceRange in createDrawResources()
655 VkImageAspectFlags aspectFlags = VK_IMAGE_ASPECT_DEPTH_BIT | VK_IMAGE_ASPECT_STENCIL_BIT; in createDrawResources() local
689 { aspectFlags, 0u, 1u, 0u, 1u } // VkImageSubresourceRange subresourceRange in createDrawResources()
/third_party/flutter/skia/src/gpu/vk/
DGrVkImage.cpp115 VkImageAspectFlags aspectFlags = vk_format_to_aspect_flags(fInfo.fFormat); in setImageLayout() local
147 { aspectFlags, 0, fInfo.fLevelCount, 0, 1 } // subresourceRange in setImageLayout()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/draw/
DvktDrawCreateInfoUtil.cpp96 vk::VkImageAspectFlags aspectFlags; in ImageViewCreateInfo() local
102 aspectFlags = vk::VK_IMAGE_ASPECT_DEPTH_BIT; in ImageViewCreateInfo()
105 aspectFlags = vk::VK_IMAGE_ASPECT_STENCIL_BIT; in ImageViewCreateInfo()
108 aspectFlags = vk::VK_IMAGE_ASPECT_STENCIL_BIT | vk::VK_IMAGE_ASPECT_DEPTH_BIT; in ImageViewCreateInfo()
111 aspectFlags = vk::VK_IMAGE_ASPECT_COLOR_BIT; in ImageViewCreateInfo()
115 subresourceRange = ImageSubresourceRange(aspectFlags); in ImageViewCreateInfo()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/draw/
DvktDrawCreateInfoUtil.cpp96 vk::VkImageAspectFlags aspectFlags; in ImageViewCreateInfo() local
102 aspectFlags = vk::VK_IMAGE_ASPECT_DEPTH_BIT; in ImageViewCreateInfo()
105 aspectFlags = vk::VK_IMAGE_ASPECT_STENCIL_BIT; in ImageViewCreateInfo()
108 aspectFlags = vk::VK_IMAGE_ASPECT_STENCIL_BIT | vk::VK_IMAGE_ASPECT_DEPTH_BIT; in ImageViewCreateInfo()
111 aspectFlags = vk::VK_IMAGE_ASPECT_COLOR_BIT; in ImageViewCreateInfo()
115 subresourceRange = ImageSubresourceRange(aspectFlags); in ImageViewCreateInfo()
/third_party/skia/src/gpu/vk/
DGrVkImage.cpp438 VkImageAspectFlags aspectFlags = vk_format_to_aspect_flags(fInfo.fFormat); in setImageLayoutAndQueueIndex() local
450 { aspectFlags, 0, fInfo.fLevelCount, 0, 1 } // subresourceRange in setImageLayoutAndQueueIndex()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/sparse_resources/
DvktSparseResourcesTestsUtil.hpp245 const vk::VkImageAspectFlags aspectFlags);
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/sparse_resources/
DvktSparseResourcesTestsUtil.hpp245 const vk::VkImageAspectFlags aspectFlags);
DvktSparseResourcesTestsUtil.cpp981 const VkImageAspectFlags aspectFlags) in getSparseAspectRequirementsIndex() argument
985 if (requirements[memoryReqNdx].formatProperties.aspectMask & aspectFlags) in getSparseAspectRequirementsIndex()

12