Lines Matching refs:barrier
341 vk::VkImageMemoryBarrier barrier; in readUsingBuffer() local
342 barrier.sType = vk::VK_STRUCTURE_TYPE_IMAGE_MEMORY_BARRIER; in readUsingBuffer()
343 barrier.pNext = DE_NULL; in readUsingBuffer()
344 barrier.srcAccessMask = 0; in readUsingBuffer()
345 barrier.dstAccessMask = 0; in readUsingBuffer()
346 barrier.oldLayout = vk::VK_IMAGE_LAYOUT_UNDEFINED; in readUsingBuffer()
347 barrier.newLayout = vk::VK_IMAGE_LAYOUT_GENERAL; in readUsingBuffer()
348 barrier.srcQueueFamilyIndex = VK_QUEUE_FAMILY_IGNORED; in readUsingBuffer()
349 barrier.dstQueueFamilyIndex = VK_QUEUE_FAMILY_IGNORED; in readUsingBuffer()
350 barrier.image = object(); in readUsingBuffer()
352 barrier.subresourceRange.aspectMask = aspect; in readUsingBuffer()
353 barrier.subresourceRange.baseMipLevel = 0; in readUsingBuffer()
354 barrier.subresourceRange.levelCount = m_levelCount; in readUsingBuffer()
355 barrier.subresourceRange.baseArrayLayer = 0; in readUsingBuffer()
356 barrier.subresourceRange.layerCount = m_layerCount; in readUsingBuffer()
361 1, &barrier); in readUsingBuffer()
642 vk::VkImageMemoryBarrier barrier; in upload() local
643 barrier.sType = vk::VK_STRUCTURE_TYPE_IMAGE_MEMORY_BARRIER; in upload()
644 barrier.pNext = DE_NULL; in upload()
645 barrier.srcAccessMask = 0; in upload()
646 barrier.dstAccessMask = 0; in upload()
647 barrier.oldLayout = vk::VK_IMAGE_LAYOUT_UNDEFINED; in upload()
648 barrier.newLayout = vk::VK_IMAGE_LAYOUT_GENERAL; in upload()
649 barrier.srcQueueFamilyIndex = VK_QUEUE_FAMILY_IGNORED; in upload()
650 barrier.dstQueueFamilyIndex = VK_QUEUE_FAMILY_IGNORED; in upload()
651 barrier.image = object(); in upload()
653 barrier.subresourceRange.aspectMask = aspect; in upload()
654 barrier.subresourceRange.baseMipLevel = 0; in upload()
655 barrier.subresourceRange.levelCount = m_levelCount; in upload()
656 barrier.subresourceRange.baseArrayLayer = 0; in upload()
657 barrier.subresourceRange.layerCount = m_layerCount; in upload()
662 1, &barrier); in upload()
738 vk::VkImageMemoryBarrier barrier; in uploadUsingBuffer() local
739 barrier.sType = vk::VK_STRUCTURE_TYPE_IMAGE_MEMORY_BARRIER; in uploadUsingBuffer()
740 barrier.pNext = DE_NULL; in uploadUsingBuffer()
741 barrier.srcAccessMask = 0; in uploadUsingBuffer()
742 barrier.dstAccessMask = 0; in uploadUsingBuffer()
743 barrier.oldLayout = vk::VK_IMAGE_LAYOUT_UNDEFINED; in uploadUsingBuffer()
744 barrier.newLayout = vk::VK_IMAGE_LAYOUT_GENERAL; in uploadUsingBuffer()
745 barrier.srcQueueFamilyIndex = VK_QUEUE_FAMILY_IGNORED; in uploadUsingBuffer()
746 barrier.dstQueueFamilyIndex = VK_QUEUE_FAMILY_IGNORED; in uploadUsingBuffer()
747 barrier.image = object(); in uploadUsingBuffer()
749 barrier.subresourceRange.aspectMask = aspect; in uploadUsingBuffer()
750 barrier.subresourceRange.baseMipLevel = 0; in uploadUsingBuffer()
751 barrier.subresourceRange.levelCount = m_levelCount; in uploadUsingBuffer()
752 barrier.subresourceRange.baseArrayLayer = 0; in uploadUsingBuffer()
753 barrier.subresourceRange.layerCount = m_layerCount; in uploadUsingBuffer()
758 1, &barrier); in uploadUsingBuffer()
848 vk::VkImageMemoryBarrier barrier; in transition2DImage() local
849 barrier.sType = vk::VK_STRUCTURE_TYPE_IMAGE_MEMORY_BARRIER; in transition2DImage()
850 barrier.pNext = DE_NULL; in transition2DImage()
851 barrier.srcAccessMask = srcAccessMask; in transition2DImage()
852 barrier.dstAccessMask = dstAccessMask; in transition2DImage()
853 barrier.oldLayout = oldLayout; in transition2DImage()
854 barrier.newLayout = newLayout; in transition2DImage()
855 barrier.srcQueueFamilyIndex = VK_QUEUE_FAMILY_IGNORED; in transition2DImage()
856 barrier.dstQueueFamilyIndex = VK_QUEUE_FAMILY_IGNORED; in transition2DImage()
857 barrier.image = image; in transition2DImage()
858 barrier.subresourceRange.aspectMask = aspectMask; in transition2DImage()
859 barrier.subresourceRange.baseMipLevel = 0; in transition2DImage()
860 barrier.subresourceRange.levelCount = 1; in transition2DImage()
861 barrier.subresourceRange.baseArrayLayer = 0; in transition2DImage()
862 barrier.subresourceRange.layerCount = 1; in transition2DImage()
865 0, (const vk::VkBufferMemoryBarrier*)DE_NULL, 1, &barrier); in transition2DImage()