Home
last modified time | relevance | path

Searched refs:sorted_bindings (Results 1 - 3 of 3) sorted by relevance

/third_party/mesa3d/src/vulkan/runtime/
H A Dvk_descriptors.c41 VkDescriptorSetLayoutBinding **sorted_bindings) in vk_create_sorted_bindings()
44 *sorted_bindings = NULL; in vk_create_sorted_bindings()
48 *sorted_bindings = malloc(count * sizeof(VkDescriptorSetLayoutBinding)); in vk_create_sorted_bindings()
49 if (!*sorted_bindings) in vk_create_sorted_bindings()
52 memcpy(*sorted_bindings, bindings, count * sizeof(VkDescriptorSetLayoutBinding)); in vk_create_sorted_bindings()
53 qsort(*sorted_bindings, count, sizeof(VkDescriptorSetLayoutBinding), binding_compare); in vk_create_sorted_bindings()
40 vk_create_sorted_bindings(const VkDescriptorSetLayoutBinding *bindings, unsigned count, VkDescriptorSetLayoutBinding **sorted_bindings) vk_create_sorted_bindings() argument
H A Dvk_descriptors.h36 VkDescriptorSetLayoutBinding **sorted_bindings);
/third_party/mesa3d/src/imagination/vulkan/
H A Dpvr_descriptor_set.c276 VkDescriptorSetLayoutBinding *sorted_bindings = in pvr_create_sorted_bindings() local
279 binding_count * sizeof(*sorted_bindings), in pvr_create_sorted_bindings()
282 if (!sorted_bindings) in pvr_create_sorted_bindings()
285 memcpy(sorted_bindings, bindings, binding_count * sizeof(*sorted_bindings)); in pvr_create_sorted_bindings()
287 qsort(sorted_bindings, in pvr_create_sorted_bindings()
289 sizeof(*sorted_bindings), in pvr_create_sorted_bindings()
292 return sorted_bindings; in pvr_create_sorted_bindings()

Completed in 3 milliseconds