From: Lionel Landwerlin Date: Tue, 8 Mar 2022 13:59:38 +0000 (+0200) Subject: anv: make a couple of descriptor function private X-Git-Tag: upstream/22.3.5~11805 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=90000aea9b90f2c09beda638601b731371f91d6b;p=platform%2Fupstream%2Fmesa.git anv: make a couple of descriptor function private Signed-off-by: Lionel Landwerlin Reviewed-by: Rohan Garg Reviewed-by: Tapani Pälli Part-of: --- diff --git a/src/intel/vulkan/anv_descriptor_set.c b/src/intel/vulkan/anv_descriptor_set.c index 6b277fd..3bc443f 100644 --- a/src/intel/vulkan/anv_descriptor_set.c +++ b/src/intel/vulkan/anv_descriptor_set.c @@ -1132,7 +1132,7 @@ anv_descriptor_set_layout_size(const struct anv_descriptor_set_layout *layout, buffer_view_count * sizeof(struct anv_buffer_view); } -VkResult +static VkResult anv_descriptor_set_create(struct anv_device *device, struct anv_descriptor_pool *pool, struct anv_descriptor_set_layout *layout, @@ -1244,7 +1244,7 @@ anv_descriptor_set_create(struct anv_device *device, return VK_SUCCESS; } -void +static void anv_descriptor_set_destroy(struct anv_device *device, struct anv_descriptor_pool *pool, struct anv_descriptor_set *set) diff --git a/src/intel/vulkan/anv_private.h b/src/intel/vulkan/anv_private.h index 95e8d8b..cc6ac89 100644 --- a/src/intel/vulkan/anv_private.h +++ b/src/intel/vulkan/anv_private.h @@ -2127,18 +2127,6 @@ anv_descriptor_set_write_template(struct anv_device *device, const struct anv_descriptor_update_template *template, const void *data); -VkResult -anv_descriptor_set_create(struct anv_device *device, - struct anv_descriptor_pool *pool, - struct anv_descriptor_set_layout *layout, - uint32_t var_desc_count, - struct anv_descriptor_set **out_set); - -void -anv_descriptor_set_destroy(struct anv_device *device, - struct anv_descriptor_pool *pool, - struct anv_descriptor_set *set); - #define ANV_DESCRIPTOR_SET_NULL (UINT8_MAX - 5) #define ANV_DESCRIPTOR_SET_PUSH_CONSTANTS (UINT8_MAX - 4) #define ANV_DESCRIPTOR_SET_DESCRIPTORS (UINT8_MAX - 3)