Searched refs:use_barrier (Results 1 – 2 of 2) sorted by relevance
192 fn use_barrier(n: usize, barrier: Arc<Barrier>) { in use_barrier() function228 use_barrier(N, barrier.clone()); in test_barrier()231 use_barrier(N, barrier.clone()); in test_barrier()
1098 VkImageMemoryBarrier use_barrier[1] = {}; in ensure_swapchain_fonts() local1099 use_barrier[0].sType = VK_STRUCTURE_TYPE_IMAGE_MEMORY_BARRIER; in ensure_swapchain_fonts()1100 use_barrier[0].srcAccessMask = VK_ACCESS_TRANSFER_WRITE_BIT; in ensure_swapchain_fonts()1101 use_barrier[0].dstAccessMask = VK_ACCESS_SHADER_READ_BIT; in ensure_swapchain_fonts()1102 use_barrier[0].oldLayout = VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL; in ensure_swapchain_fonts()1103 use_barrier[0].newLayout = VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL; in ensure_swapchain_fonts()1104 use_barrier[0].srcQueueFamilyIndex = VK_QUEUE_FAMILY_IGNORED; in ensure_swapchain_fonts()1105 use_barrier[0].dstQueueFamilyIndex = VK_QUEUE_FAMILY_IGNORED; in ensure_swapchain_fonts()1106 use_barrier[0].image = data->font_image; in ensure_swapchain_fonts()1107 use_barrier[0].subresourceRange.aspectMask = VK_IMAGE_ASPECT_COLOR_BIT; in ensure_swapchain_fonts()[all …]