Home
last modified time | relevance | path

Searched refs:imageBarriers (Results 1 – 19 of 19) sorted by relevance

/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/
DTextureVk.h75 std::vector<VkImageMemoryBarrier>* imageBarriers,
118 std::vector<VkImageMemoryBarrier>* imageBarriers,
124 std::vector<VkImageMemoryBarrier>* imageBarriers,
130 std::vector<VkImageMemoryBarrier>* imageBarriers,
DTextureVk.cpp988 std::vector<VkImageMemoryBarrier>* imageBarriers, in TransitionUsageForPass() argument
1008 TransitionUsageForPassImpl(recordingContext, combinedUsages, imageBarriers, srcStages, in TransitionUsageForPass()
1011 TransitionUsageForPassImpl(recordingContext, textureUsages, imageBarriers, srcStages, in TransitionUsageForPass()
1019 std::vector<VkImageMemoryBarrier>* imageBarriers, in TransitionUsageForPassImpl() argument
1022 size_t transitionBarrierStart = imageBarriers->size(); in TransitionUsageForPassImpl()
1039 imageBarriers->push_back(BuildMemoryBarrier(this, *lastUsage, newUsage, range)); in TransitionUsageForPassImpl()
1048 TweakTransitionForExternalUsage(recordingContext, imageBarriers, in TransitionUsageForPassImpl()
1081 std::vector<VkImageMemoryBarrier>* imageBarriers, in TransitionUsageAndGetResourceBarrier() argument
1093 TransitionUsageAndGetResourceBarrierImpl(usage, updatedRange, imageBarriers, srcStages, in TransitionUsageAndGetResourceBarrier()
1096 TransitionUsageAndGetResourceBarrierImpl(usage, range, imageBarriers, srcStages, in TransitionUsageAndGetResourceBarrier()
[all …]
DCommandBufferVk.cpp158 std::vector<VkImageMemoryBarrier> imageBarriers; in TransitionAndClearForSyncScope() local
186 &imageBarriers, &srcStages, &dstStages); in TransitionAndClearForSyncScope()
189 if (bufferBarriers.size() || imageBarriers.size()) { in TransitionAndClearForSyncScope()
192 bufferBarriers.data(), imageBarriers.size(), in TransitionAndClearForSyncScope()
193 imageBarriers.data()); in TransitionAndClearForSyncScope()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/synchronization/
DvktSynchronizationSmokeTests.cpp740 vector<VkImageMemoryBarrier> imageBarriers; in generateWork() local
751 imageBarriers.resize(0); in generateWork()
797 imageBarriers.push_back(image.imageMemoryBarrier[ndx]); in generateWork()
982 (deUint32)imageBarriers.size(), (imageBarriers.empty() ? DE_NULL : &imageBarriers[0])); in generateWork()
986 imageBarriers.resize(0); in generateWork()
1002 renderInfo.barriers = &imageBarriers; in generateWork()
1011 (deUint32)imageBarriers.size(), (imageBarriers.empty() ? DE_NULL : &imageBarriers[0])); in generateWork()
1015 imageBarriers.resize(0); in generateWork()
1036 (deUint32)imageBarriers.size(), (imageBarriers.empty() ? DE_NULL : &imageBarriers[0])); in generateWork()
1040 imageBarriers.resize(0); in generateWork()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/synchronization/
DvktSynchronizationSmokeTests.cpp740 vector<VkImageMemoryBarrier> imageBarriers; in generateWork() local
751 imageBarriers.resize(0); in generateWork()
797 imageBarriers.push_back(image.imageMemoryBarrier[ndx]); in generateWork()
982 (deUint32)imageBarriers.size(), (imageBarriers.empty() ? DE_NULL : &imageBarriers[0])); in generateWork()
986 imageBarriers.resize(0); in generateWork()
1002 renderInfo.barriers = &imageBarriers; in generateWork()
1011 (deUint32)imageBarriers.size(), (imageBarriers.empty() ? DE_NULL : &imageBarriers[0])); in generateWork()
1015 imageBarriers.resize(0); in generateWork()
1036 (deUint32)imageBarriers.size(), (imageBarriers.empty() ? DE_NULL : &imageBarriers[0])); in generateWork()
1040 imageBarriers.resize(0); in generateWork()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/pipeline/
DvktPipelineRenderToImageTests.cpp1043 const VkImageMemoryBarrier imageBarriers[] = in testWithSizeReduction() local
1060 0u, DE_NULL, 0u, DE_NULL, DE_LENGTH_OF_ARRAY(imageBarriers), imageBarriers); in testWithSizeReduction()
1389 const VkImageMemoryBarrier imageBarriers[] = in testRenderToMipMaps() local
1429 …const deUint32 numImageBarriers = static_cast<deUint32>(DE_LENGTH_OF_ARRAY(imageBarriers) - (useDe… in testRenderToMipMaps()
1432 0u, DE_NULL, 0u, DE_NULL, numImageBarriers, imageBarriers); in testRenderToMipMaps()
1456 const VkImageMemoryBarrier imageBarriers[] = in testRenderToMipMaps() local
1479 0u, DE_NULL, 0u, DE_NULL, DE_LENGTH_OF_ARRAY(imageBarriers), imageBarriers); in testRenderToMipMaps()
DvktPipelineFramebufferAttachmentTests.cpp547 const VkImageMemoryBarrier imageBarriers[] = in test() local
576 0u, DE_NULL, 0u, DE_NULL, 2u, imageBarriers); in test()
592 const VkImageMemoryBarrier imageBarriers[] = in test() local
609 0u, DE_NULL, 0u, DE_NULL, 1u, imageBarriers); in test()
883 const VkImageMemoryBarrier imageBarriers[] = in testNoAtt() local
900 0u, DE_NULL, 0u, DE_NULL, 1u, imageBarriers); in testNoAtt()
1203 const VkImageMemoryBarrier imageBarriers[] = in testMultiAttachments() local
1232 0u, DE_NULL, 0u, DE_NULL, 2u, imageBarriers); in testMultiAttachments()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineRenderToImageTests.cpp1043 const VkImageMemoryBarrier imageBarriers[] = in testWithSizeReduction() local
1060 0u, DE_NULL, 0u, DE_NULL, DE_LENGTH_OF_ARRAY(imageBarriers), imageBarriers); in testWithSizeReduction()
1389 const VkImageMemoryBarrier imageBarriers[] = in testRenderToMipMaps() local
1429 …const deUint32 numImageBarriers = static_cast<deUint32>(DE_LENGTH_OF_ARRAY(imageBarriers) - (useDe… in testRenderToMipMaps()
1432 0u, DE_NULL, 0u, DE_NULL, numImageBarriers, imageBarriers); in testRenderToMipMaps()
1456 const VkImageMemoryBarrier imageBarriers[] = in testRenderToMipMaps() local
1479 0u, DE_NULL, 0u, DE_NULL, DE_LENGTH_OF_ARRAY(imageBarriers), imageBarriers); in testRenderToMipMaps()
DvktPipelineFramebufferAttachmentTests.cpp547 const VkImageMemoryBarrier imageBarriers[] = in test() local
576 0u, DE_NULL, 0u, DE_NULL, 2u, imageBarriers); in test()
592 const VkImageMemoryBarrier imageBarriers[] = in test() local
609 0u, DE_NULL, 0u, DE_NULL, 1u, imageBarriers); in test()
883 const VkImageMemoryBarrier imageBarriers[] = in testNoAtt() local
900 0u, DE_NULL, 0u, DE_NULL, 1u, imageBarriers); in testNoAtt()
1203 const VkImageMemoryBarrier imageBarriers[] = in testMultiAttachments() local
1232 0u, DE_NULL, 0u, DE_NULL, 2u, imageBarriers); in testMultiAttachments()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/video/
DvktVideoBaseDecodeUtils.cpp2754 vector<VkImageMemoryBarrier2KHR>& imageBarriers = m_imageBarriersVec[picNdx]; in DecodeCachedPictures() local
2794 imageBarriers.reserve(2 * PerFrameDecodeParameters::MAX_DPB_REF_SLOTS); in DecodeCachedPictures()
2823 VkImageMemoryBarrier2KHR& imageBarrier = incSizeSafe(imageBarriers); in DecodeCachedPictures()
2849 VkImageMemoryBarrier2KHR& imageBarrier = incSizeSafe(imageBarriers); in DecodeCachedPictures()
2888 VkImageMemoryBarrier2KHR& imageBarrier = incSizeSafe(imageBarriers); in DecodeCachedPictures()
2951 vector<VkImageMemoryBarrier2KHR>& imageBarriers = m_imageBarriersVec[picNdx]; in DecodeCachedPictures() local
3024 (uint32_t)imageBarriers.size(), // deUint32 imageMemoryBarrierCount; in DecodeCachedPictures()
3025 dataOrNullPtr(imageBarriers), // const VkImageMemoryBarrier2KHR* pImageMemoryBarriers; in DecodeCachedPictures()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/video/
DvktVideoBaseDecodeUtils.cpp2754 vector<VkImageMemoryBarrier2KHR>& imageBarriers = m_imageBarriersVec[picNdx]; in DecodeCachedPictures() local
2794 imageBarriers.reserve(2 * PerFrameDecodeParameters::MAX_DPB_REF_SLOTS); in DecodeCachedPictures()
2823 VkImageMemoryBarrier2KHR& imageBarrier = incSizeSafe(imageBarriers); in DecodeCachedPictures()
2849 VkImageMemoryBarrier2KHR& imageBarrier = incSizeSafe(imageBarriers); in DecodeCachedPictures()
2888 VkImageMemoryBarrier2KHR& imageBarrier = incSizeSafe(imageBarriers); in DecodeCachedPictures()
2951 vector<VkImageMemoryBarrier2KHR>& imageBarriers = m_imageBarriersVec[picNdx]; in DecodeCachedPictures() local
3024 (uint32_t)imageBarriers.size(), // deUint32 imageMemoryBarrierCount; in DecodeCachedPictures()
3025 dataOrNullPtr(imageBarriers), // const VkImageMemoryBarrier2KHR* pImageMemoryBarriers; in DecodeCachedPictures()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/image/
DvktImageMutableTests.cpp1406 const VkImageMemoryBarrier imageBarriers[] = in downloadTexture() local
1435 0u, DE_NULL, 0u, DE_NULL, 2u, imageBarriers); in downloadTexture()
1487 const VkImageMemoryBarrier imageBarriers[] = in downloadLoad() local
1516 0u, DE_NULL, 0u, DE_NULL, 2u, imageBarriers); in downloadLoad()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/image/
DvktImageMutableTests.cpp1406 const VkImageMemoryBarrier imageBarriers[] = in downloadTexture() local
1435 0u, DE_NULL, 0u, DE_NULL, 2u, imageBarriers); in downloadTexture()
1487 const VkImageMemoryBarrier imageBarriers[] = in downloadLoad() local
1516 0u, DE_NULL, 0u, DE_NULL, 2u, imageBarriers); in downloadLoad()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/api/
DvktApiCopiesAndBlittingTests.cpp1176 VkImageMemoryBarrier imageBarriers[] = in iterate() local
1219 …_NULL, 0, (const VkBufferMemoryBarrier*)DE_NULL, DE_LENGTH_OF_ARRAY(imageBarriers), imageBarriers); in iterate()
1231 imageBarriers[0].oldLayout = imageBarriers[0].newLayout; in iterate()
1232 imageBarriers[1].oldLayout = imageBarriers[1].newLayout; in iterate()
1233 …_NULL, 0, (const VkBufferMemoryBarrier*)DE_NULL, DE_LENGTH_OF_ARRAY(imageBarriers), imageBarriers); in iterate()
1638 VkImageMemoryBarrier imageBarriers[] = in iterate() local
1681 …_NULL, 0, (const VkBufferMemoryBarrier*)DE_NULL, DE_LENGTH_OF_ARRAY(imageBarriers), imageBarriers); in iterate()
3331 const VkImageMemoryBarrier imageBarriers[] in iterate() local
3372 …0, 0, (const VkMemoryBarrier*)DE_NULL, 0, (const VkBufferMemoryBarrier*)DE_NULL, 2, imageBarriers); in iterate()
6242 const VkImageMemoryBarrier imageBarriers[] = in iterate() local
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/api/
DvktApiCopiesAndBlittingTests.cpp1176 VkImageMemoryBarrier imageBarriers[] = in iterate() local
1219 …_NULL, 0, (const VkBufferMemoryBarrier*)DE_NULL, DE_LENGTH_OF_ARRAY(imageBarriers), imageBarriers); in iterate()
1231 imageBarriers[0].oldLayout = imageBarriers[0].newLayout; in iterate()
1232 imageBarriers[1].oldLayout = imageBarriers[1].newLayout; in iterate()
1233 …_NULL, 0, (const VkBufferMemoryBarrier*)DE_NULL, DE_LENGTH_OF_ARRAY(imageBarriers), imageBarriers); in iterate()
1638 VkImageMemoryBarrier imageBarriers[] = in iterate() local
1681 …_NULL, 0, (const VkBufferMemoryBarrier*)DE_NULL, DE_LENGTH_OF_ARRAY(imageBarriers), imageBarriers); in iterate()
3331 const VkImageMemoryBarrier imageBarriers[] in iterate() local
3372 …0, 0, (const VkMemoryBarrier*)DE_NULL, 0, (const VkBufferMemoryBarrier*)DE_NULL, 2, imageBarriers); in iterate()
6242 const VkImageMemoryBarrier imageBarriers[] = in iterate() local
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/renderpass/
DvktRenderPassTests.cpp3180 vector<VkImageMemoryBarrier> imageBarriers; in pushReadImagesToBuffers() local
3212 imageBarriers.push_back(barrier); in pushReadImagesToBuffers()
3215 if (!imageBarriers.empty()) in pushReadImagesToBuffers()
3222 (deUint32)imageBarriers.size(), &imageBarriers[0]); in pushReadImagesToBuffers()
DvktRenderPassSubpassDependencyTests.cpp3485 const VkImageMemoryBarrier imageBarriers[] = in iterateInternal() local
3516 … | VK_PIPELINE_STAGE_COLOR_ATTACHMENT_OUTPUT_BIT, 0u, 0u, DE_NULL, 0u, DE_NULL, 2u, imageBarriers); in iterateInternal()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/renderpass/
DvktRenderPassTests.cpp3180 vector<VkImageMemoryBarrier> imageBarriers; in pushReadImagesToBuffers() local
3212 imageBarriers.push_back(barrier); in pushReadImagesToBuffers()
3215 if (!imageBarriers.empty()) in pushReadImagesToBuffers()
3222 (deUint32)imageBarriers.size(), &imageBarriers[0]); in pushReadImagesToBuffers()
DvktRenderPassSubpassDependencyTests.cpp3485 const VkImageMemoryBarrier imageBarriers[] = in iterateInternal() local
3516 … | VK_PIPELINE_STAGE_COLOR_ATTACHMENT_OUTPUT_BIT, 0u, 0u, DE_NULL, 0u, DE_NULL, 2u, imageBarriers); in iterateInternal()