radv: make some create resources helpers static

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28367>
This commit is contained in:
Samuel Pitoiset
2024-03-25 10:26:17 +01:00
parent e863880ffb
commit f9105dea24
4 changed files with 2 additions and 8 deletions
+1 -1
View File
@@ -792,7 +792,7 @@ radv_destroy_descriptor_pool(struct radv_device *device, const VkAllocationCallb
vk_free2(&device->vk.alloc, pAllocator, pool);
}
VkResult
static VkResult
radv_create_descriptor_pool(struct radv_device *device, const VkDescriptorPoolCreateInfo *pCreateInfo,
const VkAllocationCallbacks *pAllocator, VkDescriptorPool *pDescriptorPool,
bool is_internal)
-4
View File
@@ -228,8 +228,4 @@ void radv_pipeline_layout_add_set(struct radv_pipeline_layout *layout, uint32_t
void radv_pipeline_layout_hash(struct radv_pipeline_layout *layout);
void radv_pipeline_layout_finish(struct radv_device *device, struct radv_pipeline_layout *layout);
VkResult radv_create_descriptor_pool(struct radv_device *device, const VkDescriptorPoolCreateInfo *pCreateInfo,
const VkAllocationCallbacks *pAllocator, VkDescriptorPool *pDescriptorPool,
bool is_internal);
#endif /* RADV_DESCRIPTOR_SET_H */
-2
View File
@@ -3234,8 +3234,6 @@ VkResult radv_create_buffer(struct radv_device *device, const VkBufferCreateInfo
const VkAllocationCallbacks *pAllocator, VkBuffer *pBuffer, bool is_internal);
VkResult radv_alloc_memory(struct radv_device *device, const VkMemoryAllocateInfo *pAllocateInfo,
const VkAllocationCallbacks *pAllocator, VkDeviceMemory *pMem, bool is_internal);
VkResult radv_create_query_pool(struct radv_device *device, const VkQueryPoolCreateInfo *pCreateInfo,
const VkAllocationCallbacks *pAllocator, VkQueryPool *pQueryPool, bool is_internal);
VkResult radv_create_event(struct radv_device *device, const VkEventCreateInfo *pCreateInfo,
const VkAllocationCallbacks *pAllocator, VkEvent *pEvent, bool is_internal);
+1 -1
View File
@@ -1209,7 +1209,7 @@ radv_destroy_query_pool(struct radv_device *device, const VkAllocationCallbacks
vk_free2(&device->vk.alloc, pAllocator, pool);
}
VkResult
static VkResult
radv_create_query_pool(struct radv_device *device, const VkQueryPoolCreateInfo *pCreateInfo,
const VkAllocationCallbacks *pAllocator, VkQueryPool *pQueryPool, bool is_internal)
{