diff options
author | Samuel Pitoiset <[email protected]> | 2017-10-31 10:29:47 +0100 |
---|---|---|
committer | Samuel Pitoiset <[email protected]> | 2017-11-02 09:36:14 +0100 |
commit | c39f39106d5578598f37bea235b4b0504ee6764e (patch) | |
tree | 496169b1a01d3717a092e0339967ee080ff88f9c /src/amd/vulkan | |
parent | 799ef80059d65f9074b814993b02c37d971e3ae5 (diff) |
radv: make radv_bind_descriptor_set() static
Signed-off-by: Samuel Pitoiset <[email protected]>
Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Diffstat (limited to 'src/amd/vulkan')
-rw-r--r-- | src/amd/vulkan/radv_cmd_buffer.c | 6 | ||||
-rw-r--r-- | src/amd/vulkan/radv_private.h | 3 |
2 files changed, 3 insertions, 6 deletions
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, |