Home
last modified time | relevance | path

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

1234

/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/video/
DvktVideoBaseDecodeUtils.cpp2823 VkImageMemoryBarrier2KHR& imageBarrier = incSizeSafe(imageBarriers); in DecodeCachedPictures() local
2825 imageBarrier = dpbBarrierTemplate; in DecodeCachedPictures()
2826 imageBarrier.oldLayout = currentPictureResource.currentImageLayout; in DecodeCachedPictures()
2827 imageBarrier.newLayout = newLayout; in DecodeCachedPictures()
2828 imageBarrier.image = currentPictureResource.image; in DecodeCachedPictures()
2829 imageBarrier.dstAccessMask = VK_ACCESS_2_VIDEO_DECODE_WRITE_BIT_KHR; in DecodeCachedPictures()
2831 …DEBUGLOG(std::cout << "\tTransit DST: " << imageBarrier.image << " from " << imageBarrier.oldLayou… in DecodeCachedPictures()
2833 DE_ASSERT(imageBarrier.image != DE_NULL); in DecodeCachedPictures()
2849 VkImageMemoryBarrier2KHR& imageBarrier = incSizeSafe(imageBarriers); in DecodeCachedPictures() local
2851 imageBarrier = dpbBarrierTemplate; in DecodeCachedPictures()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/video/
DvktVideoBaseDecodeUtils.cpp2823 VkImageMemoryBarrier2KHR& imageBarrier = incSizeSafe(imageBarriers); in DecodeCachedPictures() local
2825 imageBarrier = dpbBarrierTemplate; in DecodeCachedPictures()
2826 imageBarrier.oldLayout = currentPictureResource.currentImageLayout; in DecodeCachedPictures()
2827 imageBarrier.newLayout = newLayout; in DecodeCachedPictures()
2828 imageBarrier.image = currentPictureResource.image; in DecodeCachedPictures()
2829 imageBarrier.dstAccessMask = VK_ACCESS_2_VIDEO_DECODE_WRITE_BIT_KHR; in DecodeCachedPictures()
2831 …DEBUGLOG(std::cout << "\tTransit DST: " << imageBarrier.image << " from " << imageBarrier.oldLayou… in DecodeCachedPictures()
2833 DE_ASSERT(imageBarrier.image != DE_NULL); in DecodeCachedPictures()
2849 VkImageMemoryBarrier2KHR& imageBarrier = incSizeSafe(imageBarriers); in DecodeCachedPictures() local
2851 imageBarrier = dpbBarrierTemplate; in DecodeCachedPictures()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/synchronization/
DvktSynchronizationSmokeTests.cpp307 VkImageMemoryBarrier imageBarrier; in createVulkanImage() local
354 deMemset(&imageBarrier, 0xcd, sizeof(imageBarrier)); in createVulkanImage()
355 imageBarrier.sType = VK_STRUCTURE_TYPE_IMAGE_MEMORY_BARRIER; in createVulkanImage()
356 imageBarrier.pNext = DE_NULL; in createVulkanImage()
357 imageBarrier.srcAccessMask = 0; in createVulkanImage()
358 imageBarrier.dstAccessMask = imageParameters.barrierInputMask; in createVulkanImage()
359 imageBarrier.oldLayout = imageParameters.initialLayout; in createVulkanImage()
360 imageBarrier.newLayout = imageParameters.finalLayout; in createVulkanImage()
361 imageBarrier.srcQueueFamilyIndex = imageParameters.queueFamilyNdxList[0]; in createVulkanImage()
362imageBarrier.dstQueueFamilyIndex = imageParameters.queueFamilyNdxList[imageParameters.queueFamilyC… in createVulkanImage()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/synchronization/
DvktSynchronizationSmokeTests.cpp307 VkImageMemoryBarrier imageBarrier; in createVulkanImage() local
354 deMemset(&imageBarrier, 0xcd, sizeof(imageBarrier)); in createVulkanImage()
355 imageBarrier.sType = VK_STRUCTURE_TYPE_IMAGE_MEMORY_BARRIER; in createVulkanImage()
356 imageBarrier.pNext = DE_NULL; in createVulkanImage()
357 imageBarrier.srcAccessMask = 0; in createVulkanImage()
358 imageBarrier.dstAccessMask = imageParameters.barrierInputMask; in createVulkanImage()
359 imageBarrier.oldLayout = imageParameters.initialLayout; in createVulkanImage()
360 imageBarrier.newLayout = imageParameters.finalLayout; in createVulkanImage()
361 imageBarrier.srcQueueFamilyIndex = imageParameters.queueFamilyNdxList[0]; in createVulkanImage()
362imageBarrier.dstQueueFamilyIndex = imageParameters.queueFamilyNdxList[imageParameters.queueFamilyC… in createVulkanImage()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/robustness/
DvktRobustnessIndexAccessTests.cpp214 VkImageMemoryBarrier imageBarrier = makeImageMemoryBarrier(0u, VK_ACCESS_SHADER_WRITE_BIT, in iterate() local
217 …AGE_TOP_OF_PIPE_BIT, VK_PIPELINE_STAGE_FRAGMENT_SHADER_BIT, 0u, 0u, 0u, 0u, 0u, 1u, &imageBarrier); in iterate()
249imageBarrier = makeImageMemoryBarrier(VK_ACCESS_COLOR_ATTACHMENT_WRITE_BIT, VK_ACCESS_TRANSFER_REA… in iterate()
252 …OLOR_ATTACHMENT_OUTPUT_BIT, VK_PIPELINE_STAGE_TRANSFER_BIT, 0u, 0u, 0u, 0u, 0u, 1u, &imageBarrier); in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/robustness/
DvktRobustnessIndexAccessTests.cpp214 VkImageMemoryBarrier imageBarrier = makeImageMemoryBarrier(0u, VK_ACCESS_SHADER_WRITE_BIT, in iterate() local
217 …AGE_TOP_OF_PIPE_BIT, VK_PIPELINE_STAGE_FRAGMENT_SHADER_BIT, 0u, 0u, 0u, 0u, 0u, 1u, &imageBarrier); in iterate()
249imageBarrier = makeImageMemoryBarrier(VK_ACCESS_COLOR_ATTACHMENT_WRITE_BIT, VK_ACCESS_TRANSFER_REA… in iterate()
252 …OLOR_ATTACHMENT_OUTPUT_BIT, VK_PIPELINE_STAGE_TRANSFER_BIT, 0u, 0u, 0u, 0u, 0u, 1u, &imageBarrier); in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/mesh_shader/
DvktMeshShaderSyncTests.cpp1014 …const auto imageBarrier = makeImageMemoryBarrier(writeAccessFlags, readAccessFlags, currentLayout,… in iterate() local
1016 …eBarrier(cmdBuffer, fromStageFlags, toStageFlags, 0u, 0u, nullptr, 0u, nullptr, 1u, &imageBarrier); in iterate()
1033 …const auto imageBarrier = makeImageMemoryBarrier(0u, writeAccessFlags, currentLayout, newLayout, i… in iterate() local
1035 …K_PIPELINE_STAGE_TOP_OF_PIPE_BIT, fromStageFlags, 0u, 0u, nullptr, 0u, nullptr, 1u, &imageBarrier); in iterate()
1104 …const auto imageBarrier = makeImageMemoryBarrier(writeAccessFlags, readAccessFlags, currentLayout,… in iterate() local
1106 …eBarrier(cmdBuffer, fromStageFlags, toStageFlags, 0u, 0u, nullptr, 0u, nullptr, 1u, &imageBarrier); in iterate()
DvktMeshShaderSyncTestsEXT.cpp1217 …const auto imageBarrier = makeImageMemoryBarrier(writeAccessFlags, readAccessFlags, currentLayout,… in iterate() local
1219 cmdPipelineImageMemoryBarrier(vkd, cmdBuffer, fromStageFlags, toStageFlags, &imageBarrier); in iterate()
1285 …const auto imageBarrier = makeImageMemoryBarrier(writeAccessFlags, readAccessFlags, currentLayout,… in iterate() local
1287 cmdPipelineImageMemoryBarrier(vkd, cmdBuffer, fromStageFlags, toStageFlags, &imageBarrier); in iterate()
1327 …const auto imageBarrier = makeImageMemoryBarrier(writeAccessFlags, readAccessFlags, currentLayout,… in iterate() local
1329 cmdPipelineImageMemoryBarrier(vkd, cmdBuffer, fromStageFlags, toStageFlags, &imageBarrier); in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/mesh_shader/
DvktMeshShaderSyncTests.cpp1014 …const auto imageBarrier = makeImageMemoryBarrier(writeAccessFlags, readAccessFlags, currentLayout,… in iterate() local
1016 …eBarrier(cmdBuffer, fromStageFlags, toStageFlags, 0u, 0u, nullptr, 0u, nullptr, 1u, &imageBarrier); in iterate()
1033 …const auto imageBarrier = makeImageMemoryBarrier(0u, writeAccessFlags, currentLayout, newLayout, i… in iterate() local
1035 …K_PIPELINE_STAGE_TOP_OF_PIPE_BIT, fromStageFlags, 0u, 0u, nullptr, 0u, nullptr, 1u, &imageBarrier); in iterate()
1104 …const auto imageBarrier = makeImageMemoryBarrier(writeAccessFlags, readAccessFlags, currentLayout,… in iterate() local
1106 …eBarrier(cmdBuffer, fromStageFlags, toStageFlags, 0u, 0u, nullptr, 0u, nullptr, 1u, &imageBarrier); in iterate()
DvktMeshShaderSyncTestsEXT.cpp1217 …const auto imageBarrier = makeImageMemoryBarrier(writeAccessFlags, readAccessFlags, currentLayout,… in iterate() local
1219 cmdPipelineImageMemoryBarrier(vkd, cmdBuffer, fromStageFlags, toStageFlags, &imageBarrier); in iterate()
1285 …const auto imageBarrier = makeImageMemoryBarrier(writeAccessFlags, readAccessFlags, currentLayout,… in iterate() local
1287 cmdPipelineImageMemoryBarrier(vkd, cmdBuffer, fromStageFlags, toStageFlags, &imageBarrier); in iterate()
1327 …const auto imageBarrier = makeImageMemoryBarrier(writeAccessFlags, readAccessFlags, currentLayout,… in iterate() local
1329 cmdPipelineImageMemoryBarrier(vkd, cmdBuffer, fromStageFlags, toStageFlags, &imageBarrier); in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/fragment_shading_rate/
DvktFragmentShadingRateBasic.cpp2588 VkImageMemoryBarrier imageBarrier in preRenderCommands() local
2612 1, &imageBarrier); in preRenderCommands()
2614 imageBarrier.image = derivImage->get(); in preRenderCommands()
2615 imageBarrier.newLayout = VK_IMAGE_LAYOUT_GENERAL; in preRenderCommands()
2621 1, &imageBarrier); in preRenderCommands()
2641 VkImageMemoryBarrier dsBarrier = imageBarrier; in preRenderCommands()
2656 imageBarrier.image = srImage->get(); in preRenderCommands()
2657 imageBarrier.newLayout = VK_IMAGE_LAYOUT_GENERAL; in preRenderCommands()
2663 1, &imageBarrier); in preRenderCommands()
2698 imageBarrier.oldLayout = VK_IMAGE_LAYOUT_GENERAL; in preRenderCommands()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/fragment_shading_rate/
DvktFragmentShadingRateBasic.cpp2588 VkImageMemoryBarrier imageBarrier in preRenderCommands() local
2612 1, &imageBarrier); in preRenderCommands()
2614 imageBarrier.image = derivImage->get(); in preRenderCommands()
2615 imageBarrier.newLayout = VK_IMAGE_LAYOUT_GENERAL; in preRenderCommands()
2621 1, &imageBarrier); in preRenderCommands()
2641 VkImageMemoryBarrier dsBarrier = imageBarrier; in preRenderCommands()
2656 imageBarrier.image = srImage->get(); in preRenderCommands()
2657 imageBarrier.newLayout = VK_IMAGE_LAYOUT_GENERAL; in preRenderCommands()
2663 1, &imageBarrier); in preRenderCommands()
2698 imageBarrier.oldLayout = VK_IMAGE_LAYOUT_GENERAL; in preRenderCommands()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/multiview/
DvktMultiViewRenderUtil.hpp52 void imageBarrier (const vk::DeviceInterface& vk, const vk::VkCommandBuffer cmdBuffer, c…
DvktMultiViewRenderTests.cpp437 imageBarrier(*m_device, *m_cmdBuffer, m_colorAttachment->getImage(), subresourceRange, in beforeRenderPass()
445 imageBarrier(*m_device, *m_cmdBuffer, m_colorAttachment->getImage(), subresourceRange, in beforeRenderPass()
462 imageBarrier(*m_device, *m_cmdBuffer, m_colorAttachment->getImage(), subresourceRange, in afterRenderPass()
497 imageBarrier(*m_device, *m_cmdBuffer, m_colorAttachment->getImage(), subresourceRange, in addRenderingSubpassDependencyIfRequired()
1296 imageBarrier (*m_device, *m_cmdBuffer, image, subresourceRange, in readImage()
1809 imageBarrier(*m_device, *m_cmdBuffer, m_colorAttachment->getImage(), subresourceRange, in beforeRenderPass()
1817 imageBarrier(*m_device, *m_cmdBuffer, m_colorAttachment->getImage(), subresourceRange, in beforeRenderPass()
1900 imageBarrier(*m_device, *m_cmdBuffer, image, subresourceRange, in setImageData()
1905 imageBarrier(*m_device, *m_cmdBuffer, image, subresourceRange, in setImageData()
2882 imageBarrier(*m_device, *m_cmdBuffer, m_colorAttachment->getImage(), subresourceRange, in afterRenderPass()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/multiview/
DvktMultiViewRenderUtil.hpp52 void imageBarrier (const vk::DeviceInterface& vk, const vk::VkCommandBuffer cmdBuffer, c…
DvktMultiViewRenderTests.cpp437 imageBarrier(*m_device, *m_cmdBuffer, m_colorAttachment->getImage(), subresourceRange, in beforeRenderPass()
445 imageBarrier(*m_device, *m_cmdBuffer, m_colorAttachment->getImage(), subresourceRange, in beforeRenderPass()
462 imageBarrier(*m_device, *m_cmdBuffer, m_colorAttachment->getImage(), subresourceRange, in afterRenderPass()
497 imageBarrier(*m_device, *m_cmdBuffer, m_colorAttachment->getImage(), subresourceRange, in addRenderingSubpassDependencyIfRequired()
1296 imageBarrier (*m_device, *m_cmdBuffer, image, subresourceRange, in readImage()
1809 imageBarrier(*m_device, *m_cmdBuffer, m_colorAttachment->getImage(), subresourceRange, in beforeRenderPass()
1817 imageBarrier(*m_device, *m_cmdBuffer, m_colorAttachment->getImage(), subresourceRange, in beforeRenderPass()
1900 imageBarrier(*m_device, *m_cmdBuffer, image, subresourceRange, in setImageData()
1905 imageBarrier(*m_device, *m_cmdBuffer, image, subresourceRange, in setImageData()
2882 imageBarrier(*m_device, *m_cmdBuffer, m_colorAttachment->getImage(), subresourceRange, in afterRenderPass()
[all …]
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
DVulkanSecondaryCommandBuffer.h157 void imageBarrier(VkPipelineStageFlags srcStageMask,
519 ANGLE_INLINE void VulkanSecondaryCommandBuffer::imageBarrier( in imageBarrier() function
525 CommandBuffer::imageBarrier(srcStageMask, dstStageMask, imageMemoryBarrier); in imageBarrier()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/image/
DvktImageTransfer.cpp199 …const VkImageMemoryBarrier imageBarrier = makeImageMemoryBarrier(0u, VK_ACCESS_TRANSFER_WRITE_… in iterate() local
200 …, 0, (const VkMemoryBarrier*)DE_NULL, 0, (const VkBufferMemoryBarrier*)DE_NULL, 1u, &imageBarrier); in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/image/
DvktImageTransfer.cpp199 …const VkImageMemoryBarrier imageBarrier = makeImageMemoryBarrier(0u, VK_ACCESS_TRANSFER_WRITE_… in iterate() local
200 …, 0, (const VkMemoryBarrier*)DE_NULL, 0, (const VkBufferMemoryBarrier*)DE_NULL, 1u, &imageBarrier); in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/memory/
DvktMemoryExternalMemoryHostTests.cpp628 const VkImageMemoryBarrier imageBarrier = in clear() local
642 …ANSFER_BIT, VK_PIPELINE_STAGE_TRANSFER_BIT, DE_FALSE, 0u, DE_NULL, 0u, DE_NULL, 1u, &imageBarrier); in clear()
656 const VkImageMemoryBarrier imageBarrier = in draw() local
669 …PIPELINE_STAGE_COLOR_ATTACHMENT_OUTPUT_BIT, DE_FALSE, 0u, DE_NULL, 0u, DE_NULL, 1u, &imageBarrier); in draw()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/memory/
DvktMemoryExternalMemoryHostTests.cpp628 const VkImageMemoryBarrier imageBarrier = in clear() local
642 …ANSFER_BIT, VK_PIPELINE_STAGE_TRANSFER_BIT, DE_FALSE, 0u, DE_NULL, 0u, DE_NULL, 1u, &imageBarrier); in clear()
656 const VkImageMemoryBarrier imageBarrier = in draw() local
669 …PIPELINE_STAGE_COLOR_ATTACHMENT_OUTPUT_BIT, DE_FALSE, 0u, DE_NULL, 0u, DE_NULL, 1u, &imageBarrier); in draw()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/spirv_assembly/
DvktSpvAsmCrossStageInterfaceTests.cpp108 void imageBarrier (const DeviceInterface& vk, in imageBarrier() function
306 imageBarrier(vk, *cmdBuffer, *colorAttachmentImage, imageSubresourceRange, in iterate()
313 imageBarrier(vk, *cmdBuffer, *colorAttachmentImage, imageSubresourceRange, in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/spirv_assembly/
DvktSpvAsmCrossStageInterfaceTests.cpp108 void imageBarrier (const DeviceInterface& vk, in imageBarrier() function
306 imageBarrier(vk, *cmdBuffer, *colorAttachmentImage, imageSubresourceRange, in iterate()
313 imageBarrier(vk, *cmdBuffer, *colorAttachmentImage, imageSubresourceRange, in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/shaderrender/
DvktShaderRenderBuiltinVarTests.cpp643 const VkImageMemoryBarrier imageBarrier[] = in iterate() local
692 DE_LENGTH_OF_ARRAY(imageBarrier), imageBarrier); in iterate()
802 const VkImageMemoryBarrier imageBarrier[] = in iterate() local
848 DE_LENGTH_OF_ARRAY(imageBarrier), imageBarrier); in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shaderrender/
DvktShaderRenderBuiltinVarTests.cpp643 const VkImageMemoryBarrier imageBarrier[] = in iterate() local
692 DE_LENGTH_OF_ARRAY(imageBarrier), imageBarrier); in iterate()
802 const VkImageMemoryBarrier imageBarrier[] = in iterate() local
848 DE_LENGTH_OF_ARRAY(imageBarrier), imageBarrier); in iterate()

1234