Home
last modified time | relevance | path

Searched refs:vk_zalloc (Results 1 – 25 of 59) sorted by relevance

123

/third_party/mesa3d/src/vulkan/runtime/
Dvk_cmd_enqueue.c43 vk_zalloc(cmd_buffer->cmd_queue.alloc, sizeof(*cmd), 8, in vk_cmd_enqueue_CmdDrawMultiEXT()
55 vk_zalloc(cmd_buffer->cmd_queue.alloc, in vk_cmd_enqueue_CmdDrawMultiEXT()
81 vk_zalloc(cmd_buffer->cmd_queue.alloc, sizeof(*cmd), 8, in vk_cmd_enqueue_CmdDrawMultiIndexedEXT()
94 vk_zalloc(cmd_buffer->cmd_queue.alloc, in vk_cmd_enqueue_CmdDrawMultiIndexedEXT()
112 vk_zalloc(cmd_buffer->cmd_queue.alloc, in vk_cmd_enqueue_CmdDrawMultiIndexedEXT()
133 vk_zalloc(cmd_buffer->cmd_queue.alloc, sizeof(*cmd), 8, in vk_cmd_enqueue_CmdPushDescriptorSetKHR()
150 vk_zalloc(cmd_buffer->cmd_queue.alloc, in vk_cmd_enqueue_CmdPushDescriptorSetKHR()
165 vk_zalloc(cmd_buffer->cmd_queue.alloc, in vk_cmd_enqueue_CmdPushDescriptorSetKHR()
175 vk_zalloc(cmd_buffer->cmd_queue.alloc, in vk_cmd_enqueue_CmdPushDescriptorSetKHR()
188 vk_zalloc(cmd_buffer->cmd_queue.alloc, in vk_cmd_enqueue_CmdPushDescriptorSetKHR()
[all …]
Dvk_descriptor_set_layout.c48 vk_zalloc(&device->alloc, size, 8, VK_SYSTEM_ALLOCATION_SCOPE_DEVICE); in vk_descriptor_set_layout_zalloc()
Dvk_pipeline_layout.c69 vk_zalloc(&device->alloc, size, 8, VK_SYSTEM_ALLOCATION_SCOPE_OBJECT); in vk_pipeline_layout_zalloc()
/third_party/mesa3d/src/virtio/vulkan/
Dvn_pipeline.c34 vk_zalloc(alloc, sizeof(*mod), VN_DEFAULT_ALIGN, in vn_CreateShaderModule()
82 vk_zalloc(alloc, sizeof(*layout), VN_DEFAULT_ALIGN, in vn_CreatePipelineLayout()
134 vk_zalloc(alloc, sizeof(*cache), VN_DEFAULT_ALIGN, in vn_CreatePipelineCache()
321 fixes = vk_zalloc(alloc, create_info_count * sizeof(fixes[0]), in vn_fix_graphics_pipeline_create_info()
386 vk_zalloc(alloc, sizeof(*pipeline), VN_DEFAULT_ALIGN, in vn_CreateGraphicsPipelines()
431 vk_zalloc(alloc, sizeof(*pipeline), VN_DEFAULT_ALIGN, in vn_CreateComputePipelines()
Dvn_image.c118 info = vk_zalloc(alloc, sizeof(*info), VN_DEFAULT_ALIGN, in vn_image_deferred_info_init()
144 VkFormat *view_formats = vk_zalloc( in vn_image_deferred_info_init()
226 img = vk_zalloc(alloc, sizeof(*img), VN_DEFAULT_ALIGN, in vn_image_create()
264 img = vk_zalloc(alloc, sizeof(*img), VN_DEFAULT_ALIGN, in vn_image_create_deferred()
597 vk_zalloc(alloc, sizeof(*view), VN_DEFAULT_ALIGN, in vn_CreateImageView()
646 vk_zalloc(alloc, sizeof(*sampler), VN_DEFAULT_ALIGN, in vn_CreateSampler()
713 vk_zalloc(alloc, sizeof(*conv), VN_DEFAULT_ALIGN, in vn_CreateSamplerYcbcrConversion()
Dvn_device.c87 vk_zalloc(alloc, sizeof(*queues) * count, VN_DEFAULT_ALIGN, in vn_device_init_queues()
126 queue_families = vk_zalloc( in vn_device_queue_family_init()
437 dev = vk_zalloc(alloc, sizeof(*dev), VN_DEFAULT_ALIGN, in vn_CreateDevice()
Dvn_buffer.c92 entries = vk_zalloc(alloc, sizeof(*entries) * entry_count, in vn_buffer_cache_entries_create()
336 buf = vk_zalloc(alloc, sizeof(*buf), VN_DEFAULT_ALIGN, in vn_buffer_create()
512 vk_zalloc(alloc, sizeof(*view), VN_DEFAULT_ALIGN, in vn_CreateBufferView()
Dvn_render_pass.c123 struct vn_render_pass *pass = vk_zalloc( in vn_render_pass_create()
296 vk_zalloc(alloc, sizeof(*fb) + sizeof(*fb->image_views) * view_count, in vn_CreateFramebuffer()
Dvn_descriptor_set.c237 vk_zalloc(alloc, layout_size, VN_DEFAULT_ALIGN, in vn_CreateDescriptorSetLayout()
289 vk_zalloc(alloc, sizeof(*pool), VN_DEFAULT_ALIGN, in vn_CreateDescriptorPool()
531 set = vk_zalloc(alloc, sizeof(*set), VN_DEFAULT_ALIGN, in vn_AllocateDescriptorSets()
920 struct vn_descriptor_update_template *templ = vk_zalloc( in vn_CreateDescriptorUpdateTemplate()
Dvn_feedback.c50 feedback_buf = vk_zalloc(alloc, sizeof(*feedback_buf), VN_DEFAULT_ALIGN, in vn_feedback_buffer_create()
450 pools = vk_zalloc(alloc, sizeof(*pools) * dev->queue_family_count, in vn_feedback_cmd_pools_init()
Dvn_query_pool.c31 vk_zalloc(alloc, sizeof(*pool), VN_DEFAULT_ALIGN, in vn_CreateQueryPool()
Dvn_queue.c560 vk_zalloc(alloc, sizeof(*cmd_handles) * dev->queue_family_count, in vn_fence_feedback_init()
624 struct vn_fence *fence = vk_zalloc(alloc, sizeof(*fence), VN_DEFAULT_ALIGN, in vn_CreateFence()
984 struct vn_semaphore *sem = vk_zalloc(alloc, sizeof(*sem), VN_DEFAULT_ALIGN, in vn_CreateSemaphore()
1259 struct vn_event *ev = vk_zalloc(alloc, sizeof(*ev), VN_DEFAULT_ALIGN, in vn_CreateEvent()
Dvn_device_memory.c40 mem = vk_zalloc(alloc, sizeof(*mem), VN_DEFAULT_ALIGN, in vn_device_memory_pool_grow_alloc()
445 vk_zalloc(alloc, sizeof(*mem), VN_DEFAULT_ALIGN, in vn_AllocateMemory()
/third_party/mesa3d/src/panfrost/vulkan/
Dpanvk_vX_descriptor_set.c252 set->ubos = vk_zalloc(&device->vk.alloc, in panvk_per_arch()
260 set->dyn_ubos = vk_zalloc(&device->vk.alloc, in panvk_per_arch()
268 set->dyn_ssbos = vk_zalloc(&device->vk.alloc, in panvk_per_arch()
276 set->samplers = vk_zalloc(&device->vk.alloc, in panvk_per_arch()
285 vk_zalloc(&device->vk.alloc, pan_size(TEXTURE) * layout->num_textures, in panvk_per_arch()
293 vk_zalloc(&device->vk.alloc, in panvk_per_arch()
300 vk_zalloc(&device->vk.alloc, in panvk_per_arch()
Dpanvk_cmd_buffer.c512 cmdbuf->state.batch = vk_zalloc(&cmdbuf->pool->vk.alloc, in panvk_CmdBeginRenderPass2()
519 vk_zalloc(&cmdbuf->pool->vk.alloc, in panvk_CmdBeginRenderPass2()
554 cmdbuf->state.batch = vk_zalloc(&cmdbuf->pool->vk.alloc, in panvk_cmd_open_batch()
/third_party/mesa3d/src/gallium/frontends/lavapipe/
Dlvp_cmd_buffer.c287 struct vk_cmd_queue_entry *cmd = vk_zalloc(cmd_buffer->vk.cmd_queue.alloc, in lvp_CmdPushDescriptorSetWithTemplateKHR()
329 …cmd->u.push_descriptor_set_with_template_khr.data = vk_zalloc(cmd_buffer->vk.cmd_queue.alloc, info… in lvp_CmdPushDescriptorSetWithTemplateKHR()
/third_party/mesa3d/src/amd/vulkan/
Dradv_wsi.c71 device->private_sdma_queue = vk_zalloc(&device->vk.alloc, sizeof(struct radv_queue), 8, in radv_wsi_get_prime_blit_queue()
/third_party/mesa3d/src/imagination/vulkan/winsys/pvrsrvkm/
Dpvr_srv_job_render.c105 srv_free_list = vk_zalloc(srv_ws->alloc, in pvr_srv_winsys_free_list_create()
194 srv_rt_dataset = vk_zalloc(srv_ws->alloc, in pvr_srv_render_target_dataset_create()
336 srv_ctx = vk_zalloc(srv_ws->alloc, in pvr_srv_winsys_render_ctx_create()
Dpvr_srv_bo.c171 srv_bo = vk_zalloc(srv_ws->alloc, in pvr_srv_winsys_buffer_create()
244 srv_bo = vk_zalloc(srv_ws->alloc, in pvr_srv_winsys_buffer_create_from_fd()
/third_party/mesa3d/src/intel/vulkan/
Danv_bo_sync.c224 bo_sync = vk_zalloc(&device->alloc, sizeof(*bo_sync), 8, in anv_create_sync_for_memory()
/third_party/mesa3d/src/vulkan/util/
Dvk_alloc.h52 vk_zalloc(const VkAllocationCallbacks *alloc, in vk_zalloc() function
/third_party/mesa3d/src/vulkan/wsi/
Dwsi_common_display.c246 display_mode = vk_zalloc(wsi->alloc, sizeof (struct wsi_display_mode), in wsi_display_register_drm_mode()
295 vk_zalloc(wsi->alloc, sizeof (struct wsi_display_connector), in wsi_display_alloc_connector()
460 vk_zalloc(wsi->alloc, sizeof(*props2) * *pPropertyCount, 8, in wsi_GetPhysicalDeviceDisplayPropertiesKHR()
1636 vk_zalloc(wsi->alloc, sizeof (*fence), in wsi_display_fence_alloc()
1947 vk_zalloc(allocator, in wsi_display_surface_create_swapchain()
2140 struct wsi_display *wsi = vk_zalloc(alloc, sizeof(*wsi), 8, in wsi_display_init_wsi()
2484 display_mode = vk_zalloc(wsi->alloc, sizeof (struct wsi_display_mode), in wsi_display_register_x_mode()
/third_party/mesa3d/src/freedreno/vulkan/
Dtu_drm.c857 new_submit->cmds = vk_zalloc(&queue->device->vk.alloc, in tu_queue_submit_create_locked()
879 new_submit->in_syncobjs = vk_zalloc(&queue->device->vk.alloc, in tu_queue_submit_create_locked()
889 new_submit->out_syncobjs = vk_zalloc(&queue->device->vk.alloc, in tu_queue_submit_create_locked()
/third_party/mesa3d/src/imagination/vulkan/
Dpvr_job_context.c111 staging_buffer = vk_zalloc(&device->vk.alloc, in pvr_pds_pt_store_program_create_and_upload()
182 staging_buffer = vk_zalloc(&device->vk.alloc, in pvr_pds_pt_resume_program_create_and_upload()
1246 ctx = vk_zalloc(&device->vk.alloc, in pvr_transfer_ctx_create()
/third_party/mesa3d/src/broadcom/vulkan/
Dv3dv_queue.c616 vk_zalloc(&device->vk.alloc, *count * sizeof(struct drm_v3d_sem), in set_in_syncs()
658 vk_zalloc(&device->vk.alloc, *count * sizeof(struct drm_v3d_sem), in set_out_syncs()
1033 queue->noop_job = vk_zalloc(&device->vk.alloc, sizeof(struct v3dv_job), 8, in queue_create_noop_job()

123