Searched refs:sorted_bindings (Results 1 - 3 of 3) sorted by relevance
/third_party/mesa3d/src/vulkan/runtime/ |
H A D | vk_descriptors.c | 41 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 D | vk_descriptors.h | 36 VkDescriptorSetLayoutBinding **sorted_bindings);
|
/third_party/mesa3d/src/imagination/vulkan/ |
H A D | pvr_descriptor_set.c | 276 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 4 milliseconds