From: Samuel Pitoiset Date: Tue, 31 Oct 2017 09:29:47 +0000 (+0100) Subject: radv: make radv_bind_descriptor_set() static X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c39f39106d5578598f37bea235b4b0504ee6764e;p=mesa.git radv: make radv_bind_descriptor_set() static Signed-off-by: Samuel Pitoiset Reviewed-by: Bas Nieuwenhuizen --- diff --git a/src/amd/vulkan/radv_cmd_buffer.c b/src/amd/vulkan/radv_cmd_buffer.c index 4b38ece10fe..27b7f78a89b 100644 --- a/src/amd/vulkan/radv_cmd_buffer.c +++ b/src/amd/vulkan/radv_cmd_buffer.c @@ -2315,9 +2315,9 @@ void radv_CmdBindIndexBuffer( } -void radv_bind_descriptor_set(struct radv_cmd_buffer *cmd_buffer, - struct radv_descriptor_set *set, - unsigned idx) +static void +radv_bind_descriptor_set(struct radv_cmd_buffer *cmd_buffer, + struct radv_descriptor_set *set, unsigned idx) { struct radeon_winsys *ws = cmd_buffer->device->ws; diff --git a/src/amd/vulkan/radv_private.h b/src/amd/vulkan/radv_private.h index 8d96bb43236..56ea35eab19 100644 --- a/src/amd/vulkan/radv_private.h +++ b/src/amd/vulkan/radv_private.h @@ -934,9 +934,6 @@ void si_cp_dma_prefetch(struct radv_cmd_buffer *cmd_buffer, uint64_t va, void si_cp_dma_clear_buffer(struct radv_cmd_buffer *cmd_buffer, uint64_t va, uint64_t size, unsigned value); void radv_set_db_count_control(struct radv_cmd_buffer *cmd_buffer); -void radv_bind_descriptor_set(struct radv_cmd_buffer *cmd_buffer, - struct radv_descriptor_set *set, - unsigned idx); bool radv_cmd_buffer_upload_alloc(struct radv_cmd_buffer *cmd_buffer, unsigned size,