/third_party/vulkan-loader/tests/live_verification/ |
D | dynamic_rendering_get_proc_addr.cpp | 62 VkCommandBufferAllocateInfo alloc_info{}; in main() local 63 alloc_info.sType = VK_STRUCTURE_TYPE_COMMAND_BUFFER_ALLOCATE_INFO; in main() 64 alloc_info.commandBufferCount = 1; in main() 65 alloc_info.commandPool = command_pool; in main() 66 funcs.vkAllocateCommandBuffers(dev, &alloc_info, &command_buffer); in main()
|
/third_party/mesa3d/src/virtio/vulkan/ |
D | vn_device_memory.c | 193 const VkMemoryAllocateInfo *alloc_info, in vn_device_memory_should_suballocate() argument 213 if (alloc_info->allocationSize > 64 * 1024) in vn_device_memory_should_suballocate() 219 if (alloc_info->pNext) { in vn_device_memory_should_suballocate() 220 const VkMemoryDedicatedAllocateInfo *dedicated = alloc_info->pNext; in vn_device_memory_should_suballocate() 245 const VkMemoryAllocateInfo *alloc_info, in vn_device_memory_import_dma_buf() argument 254 mem_props->memoryTypes[alloc_info->memoryTypeIndex].propertyFlags; in vn_device_memory_import_dma_buf() 262 dev->renderer, alloc_info->allocationSize, fd, mem_flags, &bo); in vn_device_memory_import_dma_buf() 271 .pNext = alloc_info->pNext, in vn_device_memory_import_dma_buf() 277 .allocationSize = alloc_info->allocationSize, in vn_device_memory_import_dma_buf() 278 .memoryTypeIndex = alloc_info->memoryTypeIndex, in vn_device_memory_import_dma_buf() [all …]
|
D | vn_android.h | 59 const VkMemoryAllocateInfo *alloc_info, 67 const VkMemoryAllocateInfo *alloc_info, 141 UNUSED const VkMemoryAllocateInfo *alloc_info, in vn_android_device_import_ahb() argument 152 UNUSED const VkMemoryAllocateInfo *alloc_info, in vn_android_device_allocate_ahb() argument
|
D | vn_android.c | 1135 const VkMemoryAllocateInfo *alloc_info, in vn_android_device_import_ahb() argument 1141 vk_find_struct_const(alloc_info->pNext, MEMORY_DEDICATED_ALLOCATE_INFO); in vn_android_device_import_ahb() 1147 uint32_t mem_type_index = alloc_info->memoryTypeIndex; in vn_android_device_import_ahb() 1268 const VkMemoryAllocateInfo *alloc_info, in vn_android_device_allocate_ahb() argument 1272 vk_find_struct_const(alloc_info->pNext, MEMORY_DEDICATED_ALLOCATE_INFO); in vn_android_device_allocate_ahb() 1293 assert(alloc_info->memoryTypeIndex < mem_props->memoryTypeCount); in vn_android_device_allocate_ahb() 1295 width = alloc_info->allocationSize; in vn_android_device_allocate_ahb() 1298 if (mem_props->memoryTypes[alloc_info->memoryTypeIndex].propertyFlags & in vn_android_device_allocate_ahb() 1310 vn_android_device_import_ahb(dev, mem, alloc_info, alloc, ahb, true); in vn_android_device_allocate_ahb()
|
D | vn_device_memory.h | 53 const VkMemoryAllocateInfo *alloc_info,
|
/third_party/vk-gl-cts/external/amber/src/src/vulkan/ |
D | resource.cc | 143 VkMemoryAllocateInfo alloc_info = VkMemoryAllocateInfo(); in AllocateMemory() local 144 alloc_info.sType = VK_STRUCTURE_TYPE_MEMORY_ALLOCATE_INFO; in AllocateMemory() 145 alloc_info.allocationSize = size; in AllocateMemory() 146 alloc_info.memoryTypeIndex = memory_type_index; in AllocateMemory() 147 if (device_->GetPtrs()->vkAllocateMemory(device_->GetVkDevice(), &alloc_info, in AllocateMemory()
|
/third_party/skia/third_party/externals/imgui/backends/ |
D | imgui_impl_vulkan.cpp | 362 VkMemoryAllocateInfo alloc_info = {}; in CreateOrResizeBuffer() local 363 alloc_info.sType = VK_STRUCTURE_TYPE_MEMORY_ALLOCATE_INFO; in CreateOrResizeBuffer() 364 alloc_info.allocationSize = req.size; in CreateOrResizeBuffer() 365 …alloc_info.memoryTypeIndex = ImGui_ImplVulkan_MemoryType(VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT, req.… in CreateOrResizeBuffer() 366 err = vkAllocateMemory(v->Device, &alloc_info, v->Allocator, &buffer_memory); in CreateOrResizeBuffer() 575 VkMemoryAllocateInfo alloc_info = {}; in ImGui_ImplVulkan_CreateFontsTexture() local 576 alloc_info.sType = VK_STRUCTURE_TYPE_MEMORY_ALLOCATE_INFO; in ImGui_ImplVulkan_CreateFontsTexture() 577 alloc_info.allocationSize = req.size; in ImGui_ImplVulkan_CreateFontsTexture() 578 …alloc_info.memoryTypeIndex = ImGui_ImplVulkan_MemoryType(VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT, req.… in ImGui_ImplVulkan_CreateFontsTexture() 579 err = vkAllocateMemory(v->Device, &alloc_info, v->Allocator, &bd->FontMemory); in ImGui_ImplVulkan_CreateFontsTexture() [all …]
|
/third_party/skia/third_party/externals/angle2/src/tests/test_utils/third_party/ |
D | vulkan_command_buffer_utils.cpp | 1140 VkMemoryAllocateInfo alloc_info = {}; in init_uniform_buffer() local 1141 alloc_info.sType = VK_STRUCTURE_TYPE_MEMORY_ALLOCATE_INFO; in init_uniform_buffer() 1142 alloc_info.pNext = NULL; in init_uniform_buffer() 1143 alloc_info.memoryTypeIndex = 0; in init_uniform_buffer() 1145 alloc_info.allocationSize = mem_reqs.size; in init_uniform_buffer() 1149 &alloc_info.memoryTypeIndex); in init_uniform_buffer() 1152 res = vkAllocateMemory(info.device, &alloc_info, NULL, &(info.uniform_data.mem)); in init_uniform_buffer() 1343 VkMemoryAllocateInfo alloc_info = {}; in init_vertex_buffer() local 1344 alloc_info.sType = VK_STRUCTURE_TYPE_MEMORY_ALLOCATE_INFO; in init_vertex_buffer() 1345 alloc_info.pNext = NULL; in init_vertex_buffer() [all …]
|
/third_party/ffmpeg/libavutil/ |
D | vulkan.c | 145 VkMemoryAllocateInfo alloc_info = { in vk_alloc_mem() local 154 alloc_info.allocationSize = req->size; in vk_alloc_mem() 178 alloc_info.memoryTypeIndex = index; in vk_alloc_mem() 180 ret = vk->AllocateMemory(s->hwctx->act_dev, &alloc_info, in vk_alloc_mem() 1144 VkDescriptorSetAllocateInfo alloc_info = { in ff_vk_init_pipeline_layout() local 1155 ret = vk->AllocateDescriptorSets(s->hwctx->act_dev, &alloc_info, in ff_vk_init_pipeline_layout()
|
D | hwcontext_vulkan.c | 1668 VkMemoryAllocateInfo alloc_info = { in alloc_mem() local 1702 alloc_info.memoryTypeIndex = index; in alloc_mem() 1704 ret = vk->AllocateMemory(dev_hwctx->act_dev, &alloc_info, in alloc_mem()
|
/third_party/mesa3d/src/vulkan/overlay-layer/ |
D | overlay.cpp | 1151 VkMemoryAllocateInfo alloc_info = {}; in CreateOrResizeBuffer() local 1152 alloc_info.sType = VK_STRUCTURE_TYPE_MEMORY_ALLOCATE_INFO; in CreateOrResizeBuffer() 1153 alloc_info.allocationSize = req.size; in CreateOrResizeBuffer() 1154 alloc_info.memoryTypeIndex = in CreateOrResizeBuffer() 1156 VK_CHECK(data->vtable.AllocateMemory(data->device, &alloc_info, NULL, buffer_memory)); in CreateOrResizeBuffer() 1488 VkDescriptorSetAllocateInfo alloc_info = {}; in setup_swapchain_data_pipeline() local 1489 alloc_info.sType = VK_STRUCTURE_TYPE_DESCRIPTOR_SET_ALLOCATE_INFO; in setup_swapchain_data_pipeline() 1490 alloc_info.descriptorPool = data->descriptor_pool; in setup_swapchain_data_pipeline() 1491 alloc_info.descriptorSetCount = 1; in setup_swapchain_data_pipeline() 1492 alloc_info.pSetLayouts = &data->descriptor_layout; in setup_swapchain_data_pipeline() [all …]
|
/third_party/vulkan-loader/tests/ |
D | loader_unknown_ext_tests.cpp | 665 VkCommandBufferAllocateInfo alloc_info{}; in get_dispatch_handle() local 666 alloc_info.commandBufferCount = 1; in get_dispatch_handle() 667 alloc_info.commandPool = command_pool; in get_dispatch_handle() 668 funcs.vkAllocateCommandBuffers(dev, &alloc_info, &command_buffer); in get_dispatch_handle()
|
/third_party/glfw/tests/ |
D | vulkan.c | 1482 VkDescriptorSetAllocateInfo alloc_info = { in demo_prepare_descriptor_set() local 1488 err = vkAllocateDescriptorSets(demo->device, &alloc_info, &demo->desc_set); in demo_prepare_descriptor_set()
|
/third_party/node/src/ |
D | node_http2.cc | 504 nghttp2_mem alloc_info = MakeAllocator(); in Http2Session() local 517 &alloc_info), 0); in Http2Session()
|
/third_party/mesa3d/src/broadcom/vulkan/ |
D | v3dv_meta_copy.c | 2345 VkMemoryAllocateInfo alloc_info = { in copy_buffer_to_image_blit() local 2350 result = v3dv_AllocateMemory(_device, &alloc_info, &device->vk.alloc, &mem); in copy_buffer_to_image_blit()
|
/third_party/mesa3d/src/amd/vulkan/ |
D | radv_device.c | 3103 VkMemoryAllocateInfo alloc_info = { in radv_device_init_vrs_state() local 3108 result = radv_AllocateMemory(radv_device_to_handle(device), &alloc_info, in radv_device_init_vrs_state()
|