radv: make radv_bind_descriptor_set() static
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Tue, 31 Oct 2017 09:29:47 +0000 (10:29 +0100)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Thu, 2 Nov 2017 08:36:14 +0000 (09:36 +0100)
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
src/amd/vulkan/radv_cmd_buffer.c
src/amd/vulkan/radv_private.h

index 4b38ece10fecbd4f3bc6ff213651ec75c508c4a9..27b7f78a89bd6f7354ed573d08554834df7f1474 100644 (file)
@@ -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;
 
index 8d96bb43236d969e4e8b7a7beb07bd40b199b9cd..56ea35eab19cf1345551b4f9bbb06574a2ff8a97 100644 (file)
@@ -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,