Searched refs:copy_barrier (Results 1 – 1 of 1) sorted by relevance
1069 VkImageMemoryBarrier copy_barrier[1] = {}; in ensure_swapchain_fonts() local1070 copy_barrier[0].sType = VK_STRUCTURE_TYPE_IMAGE_MEMORY_BARRIER; in ensure_swapchain_fonts()1071 copy_barrier[0].dstAccessMask = VK_ACCESS_TRANSFER_WRITE_BIT; in ensure_swapchain_fonts()1072 copy_barrier[0].oldLayout = VK_IMAGE_LAYOUT_UNDEFINED; in ensure_swapchain_fonts()1073 copy_barrier[0].newLayout = VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL; in ensure_swapchain_fonts()1074 copy_barrier[0].srcQueueFamilyIndex = VK_QUEUE_FAMILY_IGNORED; in ensure_swapchain_fonts()1075 copy_barrier[0].dstQueueFamilyIndex = VK_QUEUE_FAMILY_IGNORED; in ensure_swapchain_fonts()1076 copy_barrier[0].image = data->font_image; in ensure_swapchain_fonts()1077 copy_barrier[0].subresourceRange.aspectMask = VK_IMAGE_ASPECT_COLOR_BIT; in ensure_swapchain_fonts()1078 copy_barrier[0].subresourceRange.levelCount = 1; in ensure_swapchain_fonts()[all …]