From 6f8c40734bee276325ed718ccd015d4794567027 Mon Sep 17 00:00:00 2001 From: Samuel Pitoiset Date: Fri, 22 Sep 2017 18:21:35 +0200 Subject: [PATCH] radv: make radv_pipeline_init() static Signed-off-by: Samuel Pitoiset Reviewed-by: Bas Nieuwenhuizen --- src/amd/vulkan/radv_pipeline.c | 2 +- src/amd/vulkan/radv_private.h | 7 ------- 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/src/amd/vulkan/radv_pipeline.c b/src/amd/vulkan/radv_pipeline.c index 2860a003d68..093940b69c2 100644 --- a/src/amd/vulkan/radv_pipeline.c +++ b/src/amd/vulkan/radv_pipeline.c @@ -1725,7 +1725,7 @@ static void calculate_ps_inputs(struct radv_pipeline *pipeline) pipeline->graphics.ps_input_cntl_num = ps_offset; } -VkResult +static VkResult radv_pipeline_init(struct radv_pipeline *pipeline, struct radv_device *device, struct radv_pipeline_cache *cache, diff --git a/src/amd/vulkan/radv_private.h b/src/amd/vulkan/radv_private.h index b2983879299..3a78778a695 100644 --- a/src/amd/vulkan/radv_private.h +++ b/src/amd/vulkan/radv_private.h @@ -1135,13 +1135,6 @@ struct radv_graphics_pipeline_create_info { uint32_t custom_blend_mode; }; -VkResult -radv_pipeline_init(struct radv_pipeline *pipeline, struct radv_device *device, - struct radv_pipeline_cache *cache, - const VkGraphicsPipelineCreateInfo *pCreateInfo, - const struct radv_graphics_pipeline_create_info *extra, - const VkAllocationCallbacks *alloc); - VkResult radv_graphics_pipeline_create(VkDevice device, VkPipelineCache cache, -- 2.30.2