From 90000aea9b90f2c09beda638601b731371f91d6b Mon Sep 17 00:00:00 2001 From: Lionel Landwerlin Date: Tue, 8 Mar 2022 15:59:38 +0200 Subject: [PATCH] anv: make a couple of descriptor function private MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Lionel Landwerlin Reviewed-by: Rohan Garg Reviewed-by: Tapani Pälli Part-of: --- src/intel/vulkan/anv_descriptor_set.c | 4 ++-- src/intel/vulkan/anv_private.h | 12 ------------ 2 files changed, 2 insertions(+), 14 deletions(-) diff --git a/src/intel/vulkan/anv_descriptor_set.c b/src/intel/vulkan/anv_descriptor_set.c index 6b277fd8f81..3bc443f70a2 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 95e8d8bb94e..cc6ac89094a 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)