Lines Matching refs:use_barrier
1098 VkImageMemoryBarrier use_barrier[1] = {}; in ensure_swapchain_fonts() local
1099 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()
1108 use_barrier[0].subresourceRange.levelCount = 1; in ensure_swapchain_fonts()
1109 use_barrier[0].subresourceRange.layerCount = 1; in ensure_swapchain_fonts()
1116 1, use_barrier); in ensure_swapchain_fonts()