Home
last modified time | relevance | path

Searched refs:vk_alloc (Results 1 – 25 of 55) sorted by relevance

123

/third_party/mesa3d/src/vulkan/util/
Dvk_alloc.h44 vk_alloc(const VkAllocationCallbacks *alloc, in vk_alloc() function
56 void *mem = vk_alloc(alloc, size, align, scope); in vk_zalloc()
90 char *copy = (char *)vk_alloc(alloc, size, 1, scope); in vk_strdup()
105 char *ptr = (char *)vk_alloc(alloc, size, 1, scope); in vk_vasprintf()
132 return vk_alloc(alloc, size, align, scope); in vk_alloc2()
134 return vk_alloc(parent_alloc, size, align, scope); in vk_alloc2()
234 void *ptr = vk_alloc(alloc, ma->size, ma->align, scope); in vk_multialloc_alloc()
Dmeson.build57 'vk_alloc.c',
58 'vk_alloc.h',
/third_party/mesa3d/src/virtio/vulkan/
Dvn_render_pass.c164 vk_alloc(alloc, sizeof(*temp_atts) * pCreateInfo->attachmentCount, in vn_CreateRenderPass()
214 vk_alloc(alloc, sizeof(*temp_atts) * pCreateInfo->attachmentCount, in vn_CreateRenderPass2()
Dvn_query_pool.c134 packed_data = vk_alloc(alloc, packed_size, VN_DEFAULT_ALIGN, in vn_GetQueryPoolResults()
Dvn_queue.c152 submit->temp.storage = vk_alloc(alloc, alloc_size, VN_DEFAULT_ALIGN, in vn_queue_submission_alloc_storage()
825 vk_alloc(alloc, sizeof(*fences) * fenceCount, VN_DEFAULT_ALIGN, in vn_WaitForFences()
1127 semaphores = vk_alloc( in vn_WaitSemaphores()
Dvn_descriptor_set.c206 local_bindings = vk_alloc(alloc, binding_size, VN_DEFAULT_ALIGN, in vn_CreateDescriptorSetLayout()
647 void *storage = vk_alloc(alloc, alloc_size, VN_DEFAULT_ALIGN, scope); in vn_update_descriptor_sets_alloc()
Dvn_pipeline.c335 infos = vk_alloc(alloc, sizeof(*infos) * create_info_count, in vn_fix_graphics_pipeline_create_info()
/third_party/mesa3d/src/imagination/vulkan/
Dpvr_blit.c115 transfer_cmd = vk_alloc(&cmd_buffer->vk.pool->alloc, in pvr_CmdCopyBuffer2KHR()
Dpvr_bo.c84 pvr_bo = vk_alloc(&device->vk.alloc, in pvr_bo_alloc()
Dpvr_device.c169 instance = vk_alloc(pAllocator, in pvr_CreateInstance()
1154 staging_buffer = vk_alloc(&device->vk.alloc, in pvr_device_init_compute_fence_program()
1221 staging_buffer = vk_alloc(&device->vk.alloc, in pvr_pds_idfwdf_programs_create_and_upload()
1512 staging_buffer = vk_alloc(&device->vk.alloc, in pvr_device_init_nop_program()
/third_party/mesa3d/src/intel/vulkan/
Danv_batch_chain.c73 vk_alloc(alloc, list->array_length * sizeof(*list->relocs), 8, in anv_reloc_list_init_clone()
79 vk_alloc(alloc, list->array_length * sizeof(*list->reloc_bos), 8, in anv_reloc_list_init_clone()
99 vk_alloc(alloc, list->dep_words * sizeof(BITSET_WORD), 8, in anv_reloc_list_init_clone()
385 struct anv_batch_bo *bbo = vk_alloc(&cmd_buffer->vk.pool->alloc, sizeof(*bbo), in anv_batch_bo_clone()
1284 vk_alloc(exec->alloc, new_len * sizeof(*new_objects), 8, exec->alloc_scope); in anv_execbuf_add_bo()
1289 vk_alloc(exec->alloc, new_len * sizeof(*new_bos), 8, exec->alloc_scope); in anv_execbuf_add_bo()
1594 vk_alloc(exec->alloc, new_len * sizeof(*new_syncobjs), in anv_execbuf_add_syncobj()
1606 vk_alloc(exec->alloc, new_len * sizeof(*new_syncobj_values), in anv_execbuf_add_syncobj()
Danv_measure.c111 vk_alloc(&cmd_buffer->vk.pool->alloc, in anv_measure_init()
/third_party/mesa3d/src/imagination/vulkan/winsys/pvrsrvkm/
Dpvr_srv_bo.c384 srv_vma = vk_alloc(srv_ws->alloc, in pvr_srv_heap_alloc_reserved()
436 srv_vma = vk_alloc(srv_ws->alloc, in pvr_srv_winsys_heap_alloc()
Dpvr_srv_job_compute.c83 srv_ctx = vk_alloc(srv_ws->alloc, in pvr_srv_winsys_compute_ctx_create()
Dpvr_srv_job_transfer.c78 srv_ctx = vk_alloc(srv_ws->alloc, in pvr_srv_winsys_transfer_ctx_create()
/third_party/mesa3d/src/amd/vulkan/
Dradv_pipeline_cache.c352 vk_alloc(&cache->alloc, size, 8, VK_SYSTEM_ALLOCATION_SCOPE_CACHE); in radv_create_shaders_from_pipeline_cache()
491 entry = vk_alloc(&cache->alloc, size, 8, VK_SYSTEM_ALLOCATION_SCOPE_CACHE); in radv_pipeline_cache_insert_shaders()
594 dest_entry = vk_alloc(&cache->alloc, size_of_entry, 8, VK_SYSTEM_ALLOCATION_SCOPE_CACHE); in radv_pipeline_cache_load()
/third_party/mesa3d/src/freedreno/vulkan/
Dtu_dynamic_rendering.c210 vk_alloc(&dev->vk.alloc, cmds.size, alignof(struct tu_cmd_buffer *), in tu_insert_dynamic_cmdbufs()
Dtu_kgsl.c378 vk_alloc(&queue->device->vk.alloc, in tu_QueueSubmit2()
401 vk_alloc(&queue->device->vk.alloc, in tu_QueueSubmit2()
/third_party/mesa3d/src/vulkan/wsi/
Dwsi_common_drm.c355 vk_alloc(&chain->alloc, in wsi_configure_native_image()
414 vk_alloc(&chain->alloc, sizeof(*image_modifiers) * max_modifier_count, in wsi_configure_native_image()
Dwsi_common_x11.c205 vk_alloc(&wsi_dev->instance_alloc, sizeof(*wsi_conn), 8, in wsi_x11_connection_create()
1832 modifiers[n] = vk_alloc(pAllocator, in wsi_x11_get_dri3_modifiers()
1848 modifiers[n] = vk_alloc(pAllocator, in wsi_x11_get_dri3_modifiers()
2228 wsi = vk_alloc(alloc, sizeof(*wsi), 8, in wsi_x11_init_wsi()
/third_party/mesa3d/src/microsoft/vulkan/
Ddzn_meta.c455 vk_alloc(&device->vk.alloc, bc.BytecodeLength, 8, in dzn_meta_blits_get_vs()
500 out = vk_alloc(&device->vk.alloc, in dzn_meta_blits_get_fs()
/third_party/mesa3d/src/vulkan/runtime/
Dvk_sync.c118 sync = vk_alloc(&device->alloc, type->size, 8, in vk_sync_create()
/third_party/mesa3d/src/gallium/frontends/lavapipe/
Dlvp_cmd_buffer.c36 cmd_buffer = vk_alloc(&pool->vk.alloc, sizeof(*cmd_buffer), 8, in lvp_create_cmd_buffer()
Dlvp_descriptor_set.c313 set = vk_alloc(&device->vk.alloc /* XXX: Use the pool */, size, 8, in lvp_descriptor_set_create()
624 templ = vk_alloc(&device->vk.alloc, size, 8, VK_SYSTEM_ALLOCATION_SCOPE_OBJECT); in lvp_CreateDescriptorUpdateTemplate()
/third_party/mesa3d/src/broadcom/vulkan/
Dv3dv_bo.c348 vk_alloc(&device->vk.alloc, sizeof(struct list_head) * size, 8, in reallocate_size_list()

123