Searched refs:use_barrier (Results 1 – 3 of 3) sorted by relevance
453 VkImageMemoryBarrier use_barrier[1] = {}; in ImGui_ImplVulkan_CreateFontsTexture() local454 use_barrier[0].sType = VK_STRUCTURE_TYPE_IMAGE_MEMORY_BARRIER; in ImGui_ImplVulkan_CreateFontsTexture()455 use_barrier[0].srcAccessMask = VK_ACCESS_TRANSFER_WRITE_BIT; in ImGui_ImplVulkan_CreateFontsTexture()456 use_barrier[0].dstAccessMask = VK_ACCESS_SHADER_READ_BIT; in ImGui_ImplVulkan_CreateFontsTexture()457 use_barrier[0].oldLayout = VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL; in ImGui_ImplVulkan_CreateFontsTexture()458 use_barrier[0].newLayout = VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL; in ImGui_ImplVulkan_CreateFontsTexture()459 use_barrier[0].srcQueueFamilyIndex = VK_QUEUE_FAMILY_IGNORED; in ImGui_ImplVulkan_CreateFontsTexture()460 use_barrier[0].dstQueueFamilyIndex = VK_QUEUE_FAMILY_IGNORED; in ImGui_ImplVulkan_CreateFontsTexture()461 use_barrier[0].image = g_FontImage; in ImGui_ImplVulkan_CreateFontsTexture()462 use_barrier[0].subresourceRange.aspectMask = VK_IMAGE_ASPECT_COLOR_BIT; in ImGui_ImplVulkan_CreateFontsTexture()[all …]
674 VkImageMemoryBarrier use_barrier[1] = {}; in ImGui_ImplVulkan_CreateFontsTexture() local675 use_barrier[0].sType = VK_STRUCTURE_TYPE_IMAGE_MEMORY_BARRIER; in ImGui_ImplVulkan_CreateFontsTexture()676 use_barrier[0].srcAccessMask = VK_ACCESS_TRANSFER_WRITE_BIT; in ImGui_ImplVulkan_CreateFontsTexture()677 use_barrier[0].dstAccessMask = VK_ACCESS_SHADER_READ_BIT; in ImGui_ImplVulkan_CreateFontsTexture()678 use_barrier[0].oldLayout = VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL; in ImGui_ImplVulkan_CreateFontsTexture()679 use_barrier[0].newLayout = VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL; in ImGui_ImplVulkan_CreateFontsTexture()680 use_barrier[0].srcQueueFamilyIndex = VK_QUEUE_FAMILY_IGNORED; in ImGui_ImplVulkan_CreateFontsTexture()681 use_barrier[0].dstQueueFamilyIndex = VK_QUEUE_FAMILY_IGNORED; in ImGui_ImplVulkan_CreateFontsTexture()682 use_barrier[0].image = bd->FontImage; in ImGui_ImplVulkan_CreateFontsTexture()683 use_barrier[0].subresourceRange.aspectMask = VK_IMAGE_ASPECT_COLOR_BIT; in ImGui_ImplVulkan_CreateFontsTexture()[all …]
1107 VkImageMemoryBarrier use_barrier[1] = {}; in ensure_swapchain_fonts() local1108 use_barrier[0].sType = VK_STRUCTURE_TYPE_IMAGE_MEMORY_BARRIER; in ensure_swapchain_fonts()1109 use_barrier[0].srcAccessMask = VK_ACCESS_TRANSFER_WRITE_BIT; in ensure_swapchain_fonts()1110 use_barrier[0].dstAccessMask = VK_ACCESS_SHADER_READ_BIT; in ensure_swapchain_fonts()1111 use_barrier[0].oldLayout = VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL; in ensure_swapchain_fonts()1112 use_barrier[0].newLayout = VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL; in ensure_swapchain_fonts()1113 use_barrier[0].srcQueueFamilyIndex = VK_QUEUE_FAMILY_IGNORED; in ensure_swapchain_fonts()1114 use_barrier[0].dstQueueFamilyIndex = VK_QUEUE_FAMILY_IGNORED; in ensure_swapchain_fonts()1115 use_barrier[0].image = data->font_image; in ensure_swapchain_fonts()1116 use_barrier[0].subresourceRange.aspectMask = VK_IMAGE_ASPECT_COLOR_BIT; in ensure_swapchain_fonts()[all …]