Home
last modified time | relevance | path

Searched refs:vk_alloc2 (Results 1 – 25 of 30) sorted by relevance

12

/third_party/mesa3d/src/vulkan/util/
Dvk_alloc.h122 vk_alloc2(const VkAllocationCallbacks *parent_alloc, in vk_alloc2() function
139 void *mem = vk_alloc2(parent_alloc, alloc, size, align, scope); in vk_zalloc2()
Dvk_deferred_operation.c38 vk_alloc2(&device->alloc, pAllocator, sizeof(*op), 8, in vk_common_CreateDeferredOperationKHR()
Dvk_object.c61 void *ptr = vk_alloc2(&device->alloc, alloc, size, 8, in vk_object_alloc()
135 vk_alloc2(&device->alloc, pAllocator, sizeof(*slot), 8, in vk_private_data_slot_create()
Dvk_debug_report.c54 vk_alloc2(&instance->alloc, pAllocator, in VK_DEFINE_NONDISP_HANDLE_CASTS()
Dvk_debug_utils.c95 vk_alloc2(&instance->alloc, pAllocator, in vk_common_CreateDebugUtilsMessengerEXT()
Dvk_instance.c57 vk_alloc2(alloc, alloc, sizeof(struct vk_debug_utils_messenger), 8, in vk_instance_init()
/third_party/mesa3d/src/gallium/frontends/lavapipe/
Dlvp_image.c192 view = vk_alloc2(&device->vk.alloc, pAllocator, sizeof(*view), 8, in lvp_CreateImageView()
303 buffer = vk_alloc2(&device->vk.alloc, pAllocator, sizeof(*buffer), 8, in lvp_CreateBuffer()
395 view = vk_alloc2(&device->vk.alloc, pAllocator, sizeof(*view), 8, in lvp_CreateBufferView()
Dlvp_pipeline_cache.c38 cache = vk_alloc2(&device->vk.alloc, pAllocator, in lvp_CreatePipelineCache()
Dlvp_pass.c167 pass = vk_alloc2(&device->vk.alloc, pAllocator, size, 8, in lvp_CreateRenderPass2()
204 vk_alloc2(&device->vk.alloc, pAllocator, in lvp_CreateRenderPass2()
Dlvp_descriptor_set.c218 layout = vk_alloc2(&device->vk.alloc, pAllocator, sizeof(*layout), 8, in lvp_CreatePipelineLayout()
560 templ = vk_alloc2(&device->vk.alloc, pAllocator, size, 8, VK_SYSTEM_ALLOCATION_SCOPE_OBJECT); in lvp_CreateDescriptorUpdateTemplate()
Dlvp_device.c1671 mem = vk_alloc2(&device->vk.alloc, pAllocator, sizeof(*mem), 8, in lvp_AllocateMemory()
2044 fence = vk_alloc2(&device->vk.alloc, pAllocator, sizeof(*fence), 8, in lvp_CreateFence()
2147 framebuffer = vk_alloc2(&device->vk.alloc, pAllocator, size, 8, in lvp_CreateFramebuffer()
2254 struct lvp_semaphore *sema = vk_alloc2(&device->vk.alloc, pAllocator, in lvp_CreateSemaphore()
2349 struct lvp_event *event = vk_alloc2(&device->vk.alloc, pAllocator, in lvp_CreateEvent()
2425 sampler = vk_alloc2(&device->vk.alloc, pAllocator, sizeof(*sampler), 8, in lvp_CreateSampler()
Dlvp_cmd_buffer.c192 pool = vk_alloc2(&device->vk.alloc, pAllocator, sizeof(*pool), 8, in lvp_CreateCommandPool()
/third_party/mesa3d/src/amd/vulkan/
Dradv_pass.c393 pass = vk_alloc2(&device->vk.alloc, pAllocator, size, 8, VK_SYSTEM_ALLOCATION_SCOPE_OBJECT); in radv_CreateRenderPass2()
427 vk_alloc2(&device->vk.alloc, pAllocator, in radv_CreateRenderPass2()
Dradv_descriptor_set.c480 layout = vk_alloc2(&device->vk.alloc, pAllocator, sizeof(*layout), 8, in radv_CreatePipelineLayout()
577 set = vk_alloc2(&device->vk.alloc, NULL, mem_size, 8, VK_SYSTEM_ALLOCATION_SCOPE_OBJECT); in radv_descriptor_set_create()
803 pool = vk_alloc2(&device->vk.alloc, pAllocator, size, 8, VK_SYSTEM_ALLOCATION_SCOPE_OBJECT); in radv_CreateDescriptorPool()
834 vk_alloc2(&device->vk.alloc, pAllocator, bo_size, 8, VK_SYSTEM_ALLOCATION_SCOPE_OBJECT); in radv_CreateDescriptorPool()
1319 templ = vk_alloc2(&device->vk.alloc, pAllocator, size, 8, VK_SYSTEM_ALLOCATION_SCOPE_OBJECT); in radv_CreateDescriptorUpdateTemplate()
Dradv_pipeline_cache.c550 cache = vk_alloc2(&device->vk.alloc, pAllocator, sizeof(*cache), 8, in radv_CreatePipelineCache()
Dradv_device.c5270 vk_alloc2(&device->vk.alloc, pAllocator, sizeof(*mem), 8, VK_SYSTEM_ALLOCATION_SCOPE_OBJECT); in radv_alloc_memory()
6106 vk_alloc2(&device->vk.alloc, pAllocator, sizeof(*sem), 8, VK_SYSTEM_ALLOCATION_SCOPE_OBJECT); in radv_CreateSemaphore()
6309 struct radv_event *event = vk_alloc2(&device->vk.alloc, pAllocator, sizeof(*event), 8, in radv_CreateEvent()
6424 buffer = vk_alloc2(&device->vk.alloc, pAllocator, sizeof(*buffer), 8, in radv_CreateBuffer()
7071 vk_alloc2(&device->vk.alloc, pAllocator, size, 8, VK_SYSTEM_ALLOCATION_SCOPE_OBJECT); in radv_CreateFramebuffer()
7379 sampler = vk_alloc2(&device->vk.alloc, pAllocator, sizeof(*sampler), 8, in radv_CreateSampler()
Dradv_image.c2326 vk_alloc2(&device->vk.alloc, pAllocator, sizeof(*view), 8, VK_SYSTEM_ALLOCATION_SCOPE_OBJECT); in radv_CreateImageView()
2381 vk_alloc2(&device->vk.alloc, pAllocator, sizeof(*view), 8, VK_SYSTEM_ALLOCATION_SCOPE_OBJECT); in radv_CreateBufferView()
/third_party/mesa3d/src/panfrost/vulkan/
Dpanvk_pass.c98 vk_alloc2(&device->vk.alloc, pAllocator, in panvk_CreateRenderPass2()
/third_party/mesa3d/src/broadcom/vulkan/
Dv3dv_query.c50 pool->queries = vk_alloc2(&device->vk.alloc, pAllocator, pool_bytes, 8, in v3dv_CreateQueryPool()
Dv3dv_pass.c167 vk_alloc2(&device->vk.alloc, pAllocator, subpass_attachment_bytes, 8, in v3dv_CreateRenderPass()
/third_party/mesa3d/src/freedreno/vulkan/
Dtu_descriptor_set.c456 set = vk_alloc2(&device->vk.alloc, NULL, mem_size, 8, in tu_descriptor_set_create()
656 pool->host_bo = vk_alloc2(&device->vk.alloc, pAllocator, bo_size, 8, in tu_CreateDescriptorPool()
Dtu_pass.c685 pass->subpass_attachments = vk_alloc2( in tu_CreateRenderPass2()
/third_party/mesa3d/src/vulkan/wsi/
Dwsi_common_x11.c807 surface = vk_alloc2(&instance->alloc, pAllocator, sizeof *surface, 8, in wsi_CreateXcbSurfaceKHR()
831 surface = vk_alloc2(&instance->alloc, pAllocator, sizeof *surface, 8, in wsi_CreateXlibSurfaceKHR()
Dwsi_common_wayland.c881 surface = vk_alloc2(&instance->alloc, pAllocator, sizeof *surface, 8, in wsi_CreateWaylandSurfaceKHR()
/third_party/mesa3d/src/intel/vulkan/
Danv_pipeline_cache.c549 cache = vk_alloc2(&device->vk.alloc, pAllocator, in anv_CreatePipelineCache()

12