Lines Matching refs:img_barrier
134 VkImageMemoryBarrier img_barrier = {}; in TEST_F() local
135 img_barrier.sType = VK_STRUCTURE_TYPE_IMAGE_MEMORY_BARRIER; in TEST_F()
136 img_barrier.srcAccessMask = VK_ACCESS_SHADER_WRITE_BIT; in TEST_F()
137 img_barrier.dstAccessMask = VK_ACCESS_SHADER_WRITE_BIT; in TEST_F()
138 img_barrier.oldLayout = VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL; in TEST_F()
139 img_barrier.newLayout = VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL; in TEST_F()
140 img_barrier.image = image2.handle(); // Image mis-matches with FB image in TEST_F()
141 img_barrier.srcQueueFamilyIndex = VK_QUEUE_FAMILY_IGNORED; in TEST_F()
142 img_barrier.dstQueueFamilyIndex = VK_QUEUE_FAMILY_IGNORED; in TEST_F()
143 img_barrier.subresourceRange.aspectMask = VK_IMAGE_ASPECT_COLOR_BIT; in TEST_F()
144 img_barrier.subresourceRange.baseArrayLayer = 0; in TEST_F()
145 img_barrier.subresourceRange.baseMipLevel = 0; in TEST_F()
146 img_barrier.subresourceRange.layerCount = 1; in TEST_F()
147 img_barrier.subresourceRange.levelCount = 1; in TEST_F()
149 VK_DEPENDENCY_BY_REGION_BIT, 0, nullptr, 0, nullptr, 1, &img_barrier); in TEST_F()