Home
last modified time | relevance | path

Searched refs:loader_stack_alloc (Results 1 – 9 of 9) sorted by relevance

/third_party/vulkan-loader/loader/
Dstack_allocation.h40 #define loader_stack_alloc(size) alloca(size) macro
42 #define loader_stack_alloc(size) _alloca(size) macro
Dvk_loader_platform.h474 wchar_t *path_utf16 = (wchar_t *)loader_stack_alloc(path_utf16_size * sizeof(wchar_t)); in loader_platform_file_exists()
516 wchar_t *buffer_utf16 = (wchar_t *)loader_stack_alloc(size * sizeof(wchar_t)); in loader_platform_executable_path()
540 wchar_t *lib_path_utf16 = (wchar_t *)loader_stack_alloc(lib_path_utf16_size * sizeof(wchar_t)); in loader_platform_open_library()
Dloader_environment.c129 wchar_t *name_utf16 = (wchar_t *)loader_stack_alloc(name_utf16_size * sizeof(wchar_t)); in loader_getenv()
141 wchar_t *val = (wchar_t *)loader_stack_alloc(val_size * sizeof(wchar_t)); in loader_getenv()
473 char *name = loader_stack_alloc(layer_env_len); in loader_add_environment_layers()
Dloader.c640 ext_props = loader_stack_alloc(count * sizeof(VkExtensionProperties)); in loader_add_instance_extensions()
682 ext_props = loader_stack_alloc(count * sizeof(VkExtensionProperties)); in loader_add_device_extensions()
1994 char *dirs_copy = loader_stack_alloc(dirs_copy_len); in loader_get_fullpath()
3635 icd_details = loader_stack_alloc(sizeof(struct ICDManifestInfo) * manifest_files.count); in loader_icd_scan()
4476 …layer_instance_link_info = loader_stack_alloc(sizeof(VkLayerInstanceLink) * inst->expanded_activat… in loader_create_instance_chain()
4483 …activated_layers = loader_stack_alloc(sizeof(struct activated_layer_info) * inst->expanded_activat… in loader_create_instance_chain()
4816 …VkDeviceGroupDeviceCreateInfo *temp_struct = loader_stack_alloc(sizeof(VkDeviceGroupDeviceCreateIn…
4822 … phys_dev_array = loader_stack_alloc(sizeof(VkPhysicalDevice) * cur_struct->physicalDeviceCount);
4849 …layer_device_link_info = loader_stack_alloc(sizeof(VkLayerDeviceLink) * inst->expanded_activated_l…
4856 …activated_layers = loader_stack_alloc(sizeof(struct activated_layer_info) * inst->expanded_activat…
[all …]
Dloader_linux.c277 … (VkExtensionProperties *)loader_stack_alloc(sizeof(VkExtensionProperties) * ext_count); in linux_read_sorted_physical_devices()
381 … (VkExtensionProperties *)loader_stack_alloc(sizeof(VkExtensionProperties) * ext_count); in linux_sort_physical_device_groups()
Dterminator.c359 …VkQueueFamilyProperties *properties = loader_stack_alloc(*pQueueFamilyPropertyCount * sizeof(VkQue… in terminator_GetPhysicalDeviceQueueFamilyProperties2()
465 loader_stack_alloc(*pPropertyCount * sizeof(VkSparseImageMemoryRequirements)); in terminator_GetPhysicalDeviceSparseImageFormatProperties2()
Dwsi.c499 … VkSwapchainCreateInfoKHR *pCreateCopy = loader_stack_alloc(sizeof(VkSwapchainCreateInfoKHR)); in terminator_CreateSwapchainKHR()
2241 …VkSwapchainCreateInfoKHR *pCreateCopy = loader_stack_alloc(sizeof(VkSwapchainCreateInfoKHR) * swap… in terminator_CreateSharedSwapchainsKHR()
2399 …VkDisplayPropertiesKHR *properties = loader_stack_alloc(*pPropertyCount * sizeof(VkDisplayProperti… in terminator_GetPhysicalDeviceDisplayProperties2KHR()
2454 …VkDisplayPlanePropertiesKHR *properties = loader_stack_alloc(*pPropertyCount * sizeof(VkDisplayPla… in terminator_GetPhysicalDeviceDisplayPlaneProperties2KHR()
2511 …VkDisplayModePropertiesKHR *properties = loader_stack_alloc(*pPropertyCount * sizeof(VkDisplayMode… in terminator_GetDisplayModeProperties2KHR()
2816 …VkSurfaceFormatKHR *formats = loader_stack_alloc(*pSurfaceFormatCount * sizeof(VkSurfaceFormatKHR)… in terminator_GetPhysicalDeviceSurfaceFormats2KHR()
Dsettings.c726 vk_instance_layers_env_copy = loader_stack_alloc(vk_instance_layers_env_len); in enable_correct_layers_from_settings()
DcJSON.c967 … wchar_t *filename_utf16 = (wchar_t *)loader_stack_alloc(filename_utf16_size * sizeof(wchar_t)); in loader_get_json()