anv: make a couple of descriptor function private

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Rohan Garg <rohan.garg@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25897>
This commit is contained in:
Lionel Landwerlin
2023-10-20 15:38:54 +03:00
committed by Marge Bot
parent 1cdadbcdf6
commit f26e83b6a4
2 changed files with 2 additions and 10 deletions
+2 -2
View File
@@ -746,7 +746,7 @@ anv_descriptor_set_layout_empty(const struct anv_descriptor_set_layout *set_layo
return set_layout->binding_count == 0;
}
uint32_t
static uint32_t
anv_descriptor_set_layout_descriptor_buffer_size(const struct anv_descriptor_set_layout *set_layout,
uint32_t var_desc_count)
{
@@ -1279,7 +1279,7 @@ anv_descriptor_pool_free_state(struct anv_descriptor_pool *pool,
pool->surface_state_free_list = entry;
}
size_t
static size_t
anv_descriptor_set_layout_size(const struct anv_descriptor_set_layout *layout,
bool host_only, uint32_t var_desc_count)
{
-8
View File
@@ -2624,14 +2624,6 @@ struct anv_descriptor_pool {
char host_mem[0];
};
size_t
anv_descriptor_set_layout_size(const struct anv_descriptor_set_layout *layout,
bool host_only, uint32_t var_desc_count);
uint32_t
anv_descriptor_set_layout_descriptor_buffer_size(const struct anv_descriptor_set_layout *set_layout,
uint32_t var_desc_count);
bool
anv_push_descriptor_set_init(struct anv_cmd_buffer *cmd_buffer,
struct anv_push_descriptor_set *push_set,