radv: make radv_pipeline_init() static
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Fri, 22 Sep 2017 16:21:35 +0000 (18:21 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Mon, 25 Sep 2017 08:46:59 +0000 (10:46 +0200)
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
src/amd/vulkan/radv_pipeline.c
src/amd/vulkan/radv_private.h

index 2860a003d682ba00a5cd0e0b7cb703bb1e12409d..093940b69c2d7babc95403b61a7e61193904386b 100644 (file)
@@ -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,
index b2983879299848150c0dcfa1c343fcbdb8847412..3a78778a6952f55e26d5fac929cec910855192af 100644 (file)
@@ -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,