Home
last modified time | relevance | path

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

/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/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()
DTextureVk.h365 VkImageAspectFlags aspectFlags);
DContextVk.cpp5509 VkImageAspectFlags aspectFlags = image->getAspectFlags(); in updateActiveImages() local
5521 aspectFlags, imageLayout, vk::AliasingMode::Allowed, image); in updateActiveImages()
6473 imageAccess.image->recordReadBarrier(this, imageAccess.aspectFlags, imageAccess.imageLayout, in onResourceAccess()
6482 imageWrite.access.image->recordWriteBarrier(this, imageWrite.access.aspectFlags, in onResourceAccess()
6487 imageWrite.access.aspectFlags); in onResourceAccess()
Dvk_utils.h819 void store(uint32_t index, VkImageAspectFlags aspectFlags, const VkClearValue &clearValue);
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/imageless_framebuffer/
DvktImagelessFramebufferTests.cpp934 const AspectFlags aspectFlags,
940 const AspectFlags aspectFlags,
1110 …onst VkFormat bufferFormat, const std::string& name, const AspectFlags aspectFlags, const deUint32… in verifyBuffer() argument
1116 const bool depth ((aspectFlags & ASPECT_DEPTH) != 0); in verifyBuffer()
1117 const bool stencil ((aspectFlags & ASPECT_STENCIL) != 0); in verifyBuffer()
1121 …evel> referenceImage (generateReferenceImage(referenceTextureFormat, aspectFlags, sample, subpas… in verifyBuffer()
1146 const AspectFlags aspectFlags, in generateReferenceImage() argument
1159 DE_UNREF(aspectFlags); in generateReferenceImage()
1160 DE_ASSERT(aspectFlags == ASPECT_COLOR); in generateReferenceImage()
1284 const AspectFlags aspectFlags,
[all …]
/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 …]
DTextureVk.h304 VkImageAspectFlags aspectFlags,
DContextVk.cpp2495 VkImageAspectFlags aspectFlags = image.getAspectFlags(); in updateActiveTextures() local
2496 ASSERT(aspectFlags != 0); in updateActiveTextures()
2497 image.changeLayout(aspectFlags, textureLayout, srcLayoutChange); in updateActiveTextures()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/renderpass/
DvktRenderPassDepthStencilResolveTests.cpp518 VkImageAspectFlags aspectFlags = in createRenderPass() local
542 aspectFlags // VkImageAspectFlags aspectMask; in createRenderPass()
1480 VkImageAspectFlags aspectFlags = (hasDepth * VK_IMAGE_ASPECT_DEPTH_BIT) | in initTests() local
1544 aspectFlags, in initTests()
1588 aspectFlags, in initTests()
1664 VkImageAspectFlags aspectFlags = (hasDepth * VK_IMAGE_ASPECT_DEPTH_BIT) | in initTests() local
1699 aspectFlags, in initTests()
1733 aspectFlags, in initTests()
DvktRenderPassLoadStoreOpNoneTests.cpp683 VkImageAspectFlags aspectFlags; in iterate() local
690 aspectFlags = VK_IMAGE_ASPECT_DEPTH_BIT | VK_IMAGE_ASPECT_STENCIL_BIT; in iterate()
705 aspectFlags = VK_IMAGE_ASPECT_COLOR_BIT; in iterate()
750 { aspectFlags, 0u, 1u, 0u, 1u } // VkImageSubresourceRange subresourceRange in iterate()
/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/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);
DvktSparseResourcesTestsUtil.cpp1010 const VkImageAspectFlags aspectFlags) in getSparseAspectRequirementsIndex() argument
1014 if (requirements[memoryReqNdx].formatProperties.aspectMask & aspectFlags) in getSparseAspectRequirementsIndex()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/image/
DvktImageSubresourceLayoutTests.cpp345 const auto aspectFlags = getImageAspectFlags(tcuFormat); in iterate() local
357 if (aspectFlags & bit) in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/spirv_assembly/
DvktSpvAsmGraphicsShaderTestUtil.cpp2976 VkImageAspectFlags aspectFlags = (VkImageAspectFlags)0u; in getImageAspectFlags() local
2979 aspectFlags |= VK_IMAGE_ASPECT_DEPTH_BIT; in getImageAspectFlags()
2982 aspectFlags |= VK_IMAGE_ASPECT_STENCIL_BIT; in getImageAspectFlags()
2984 if (!aspectFlags) in getImageAspectFlags()
2985 aspectFlags |= VK_IMAGE_ASPECT_COLOR_BIT; in getImageAspectFlags()
2987 return aspectFlags; in getImageAspectFlags()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/multiview/
DvktMultiViewRenderTests.cpp246 …const VkImageAspectFlags aspectFlags = depthStencilFormat ? VK_IMAGE_ASPECT_DEPTH_BIT | VK_IM… in ImageAttachment() local
247 …const VkImageSubresourceRange colorImageSubresourceRange = makeImageSubresourceRange(aspectFlags, … in ImageAttachment()