/third_party/mesa3d/src/virtio/vulkan/ |
D | vn_pipeline.c | 34 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() 322 VN_DEFAULT_ALIGN, in vn_fix_graphics_pipeline_create_info() 336 VN_DEFAULT_ALIGN, VK_SYSTEM_ALLOCATION_SCOPE_COMMAND); 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()
|
D | vn_image.c | 118 info = vk_zalloc(alloc, sizeof(*info), VN_DEFAULT_ALIGN, in vn_image_deferred_info_init() 145 alloc, size, VN_DEFAULT_ALIGN, VK_SYSTEM_ALLOCATION_SCOPE_OBJECT); 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() 487 local_infos = vk_alloc(alloc, size, VN_DEFAULT_ALIGN, in vn_BindImageMemory2() 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()
|
D | vn_render_pass.c | 126 VN_DEFAULT_ALIGN, VK_SYSTEM_ALLOCATION_SCOPE_OBJECT); in vn_render_pass_create() 165 VN_DEFAULT_ALIGN, VK_SYSTEM_ALLOCATION_SCOPE_COMMAND); in vn_CreateRenderPass() 215 VN_DEFAULT_ALIGN, VK_SYSTEM_ALLOCATION_SCOPE_COMMAND); in vn_CreateRenderPass2() 297 VN_DEFAULT_ALIGN, VK_SYSTEM_ALLOCATION_SCOPE_OBJECT); in vn_CreateFramebuffer()
|
D | vn_device.c | 87 vk_zalloc(alloc, sizeof(*queues) * count, VN_DEFAULT_ALIGN, in vn_device_init_queues() 128 VN_DEFAULT_ALIGN, VK_SYSTEM_ALLOCATION_SCOPE_DEVICE); in vn_device_queue_family_init() 184 VN_DEFAULT_ALIGN, VK_SYSTEM_ALLOCATION_SCOPE_COMMAND); in merge_extension_names() 437 dev = vk_zalloc(alloc, sizeof(*dev), VN_DEFAULT_ALIGN, in vn_CreateDevice()
|
D | vn_buffer.c | 93 VN_DEFAULT_ALIGN, VK_SYSTEM_ALLOCATION_SCOPE_DEVICE); in vn_buffer_cache_entries_create() 336 buf = vk_zalloc(alloc, sizeof(*buf), VN_DEFAULT_ALIGN, in vn_buffer_create() 477 local_infos = vk_alloc(alloc, size, VN_DEFAULT_ALIGN, in vn_BindBufferMemory2() 512 vk_zalloc(alloc, sizeof(*view), VN_DEFAULT_ALIGN, in vn_CreateBufferView()
|
D | vn_query_pool.c | 31 vk_zalloc(alloc, sizeof(*pool), VN_DEFAULT_ALIGN, in vn_CreateQueryPool() 134 packed_data = vk_alloc(alloc, packed_size, VN_DEFAULT_ALIGN, in vn_GetQueryPoolResults()
|
D | vn_descriptor_set.c | 206 local_bindings = vk_alloc(alloc, binding_size, VN_DEFAULT_ALIGN, in vn_CreateDescriptorSetLayout() 237 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() 647 void *storage = vk_alloc(alloc, alloc_size, VN_DEFAULT_ALIGN, scope); in vn_update_descriptor_sets_alloc() 921 alloc, templ_size, VN_DEFAULT_ALIGN, VK_SYSTEM_ALLOCATION_SCOPE_OBJECT); in vn_CreateDescriptorUpdateTemplate()
|
D | vn_feedback.c | 50 feedback_buf = vk_zalloc(alloc, sizeof(*feedback_buf), VN_DEFAULT_ALIGN, in vn_feedback_buffer_create() 236 slot = vk_alloc(pool->alloc, sizeof(*slot), VN_DEFAULT_ALIGN, in vn_feedback_pool_alloc() 451 VN_DEFAULT_ALIGN, VK_SYSTEM_ALLOCATION_SCOPE_DEVICE); in vn_feedback_cmd_pools_init()
|
D | vn_queue.c | 152 submit->temp.storage = vk_alloc(alloc, alloc_size, VN_DEFAULT_ALIGN, in vn_queue_submission_alloc_storage() 561 VN_DEFAULT_ALIGN, VK_SYSTEM_ALLOCATION_SCOPE_OBJECT); in vn_fence_feedback_init() 624 struct vn_fence *fence = vk_zalloc(alloc, sizeof(*fence), VN_DEFAULT_ALIGN, in vn_CreateFence() 825 vk_alloc(alloc, sizeof(*fences) * fenceCount, VN_DEFAULT_ALIGN, in vn_WaitForFences() 984 struct vn_semaphore *sem = vk_zalloc(alloc, sizeof(*sem), VN_DEFAULT_ALIGN, in vn_CreateSemaphore() 1129 VN_DEFAULT_ALIGN, VK_SYSTEM_ALLOCATION_SCOPE_COMMAND); in vn_WaitSemaphores() 1259 struct vn_event *ev = vk_zalloc(alloc, sizeof(*ev), VN_DEFAULT_ALIGN, in vn_CreateEvent()
|
D | vn_physical_device.c | 746 vk_alloc(alloc, sizeof(*props) * count, VN_DEFAULT_ALIGN, in vn_physical_device_init_queue_family_properties() 1082 exts = vk_alloc(alloc, sizeof(*exts) * count, VN_DEFAULT_ALIGN, in vn_physical_device_init_renderer_extensions() 1100 VN_DEFAULT_ALIGN, VK_SYSTEM_ALLOCATION_SCOPE_INSTANCE); in vn_physical_device_init_renderer_extensions() 1249 vk_alloc(alloc, sizeof(*groups) * count, VN_DEFAULT_ALIGN, in vn_instance_enumerate_physical_device_groups_locked() 1261 VN_DEFAULT_ALIGN, VK_SYSTEM_ALLOCATION_SCOPE_COMMAND); in vn_instance_enumerate_physical_device_groups_locked() 1344 vk_zalloc(alloc, sizeof(*physical_devs) * count, VN_DEFAULT_ALIGN, in enumerate_physical_devices() 1349 handles = vk_alloc(alloc, sizeof(*handles) * count, VN_DEFAULT_ALIGN, in enumerate_physical_devices()
|
D | vn_common.h | 45 #define VN_DEFAULT_ALIGN 8 macro
|
D | vn_command_buffer.c | 53 VN_DEFAULT_ALIGN, VK_SYSTEM_ALLOCATION_SCOPE_OBJECT); in vn_cmd_get_image_memory_barriers() 390 VN_DEFAULT_ALIGN, VK_SYSTEM_ALLOCATION_SCOPE_OBJECT); in vn_cmd_begin_render_pass() 448 vk_zalloc(alloc, sizeof(*pool), VN_DEFAULT_ALIGN, in vn_CreateCommandPool() 547 vk_zalloc(alloc, sizeof(*cmd), VN_DEFAULT_ALIGN, in vn_AllocateCommandBuffers()
|
D | vn_device_memory.c | 40 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()
|
D | vn_android.c | 429 VN_DEFAULT_ALIGN, VK_SYSTEM_ALLOCATION_SCOPE_COMMAND); in vn_android_get_modifier_properties() 824 VN_DEFAULT_ALIGN, VK_SYSTEM_ALLOCATION_SCOPE_COMMAND); in vn_QueueSignalReleaseImageANDROID()
|
D | vn_instance.c | 703 instance = vk_zalloc(alloc, sizeof(*instance), VN_DEFAULT_ALIGN, in vn_CreateInstance()
|
D | vn_renderer_vtest.c | 1103 struct vtest *vtest = vk_zalloc(alloc, sizeof(*vtest), VN_DEFAULT_ALIGN, in vn_renderer_create_vtest()
|
D | vn_renderer_virtgpu.c | 1741 struct virtgpu *gpu = vk_zalloc(alloc, sizeof(*gpu), VN_DEFAULT_ALIGN, in vn_renderer_create_virtgpu()
|