Lines Matching refs:image_barrier
897 …auto image_barrier = image.image_memory_barrier(0, 0, image.Layout(), image.Layout(), image_subres… in TEST_F() local
898 image_barrier.srcQueueFamilyIndex = m_device->graphics_queue_node_index_; in TEST_F()
899 image_barrier.dstQueueFamilyIndex = no_gfx; in TEST_F()
902 VK_PIPELINE_STAGE_TRANSFER_BIT, nullptr, &image_barrier); in TEST_F()
905 image_barrier.srcQueueFamilyIndex = no_gfx; in TEST_F()
906 image_barrier.dstQueueFamilyIndex = m_device->graphics_queue_node_index_; in TEST_F()
907 image_barrier.oldLayout = image.Layout(); in TEST_F()
909 if (image_barrier.oldLayout == VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL) { in TEST_F()
910 image_barrier.newLayout = VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL; in TEST_F()
912 image_barrier.newLayout = VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL; in TEST_F()
916 VK_PIPELINE_STAGE_ALL_GRAPHICS_BIT, nullptr, &image_barrier); in TEST_F()