radv: Make radv_alloc_shader_memory static.
authorBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Tue, 23 Jun 2020 23:28:54 +0000 (01:28 +0200)
committerMarge Bot <eric+marge@anholt.net>
Wed, 24 Jun 2020 13:00:02 +0000 (13:00 +0000)
Just a cleanup.

Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5578>

src/amd/vulkan/radv_shader.c
src/amd/vulkan/radv_shader.h

index 6cc82f0903adc33d1780cce9067b6eb4fd81009c..78227890b4603916eaa872d09c4123d450230321 100644 (file)
@@ -631,7 +631,7 @@ radv_lower_fs_io(nir_shader *nir)
 }
 
 
-void *
+static void *
 radv_alloc_shader_memory(struct radv_device *device,
                         struct radv_shader_variant *shader)
 {
index ee4b01a34c2f826d4aa67e97311233c753550bce..7e1659add0e2e73d2091756b8f5edfca2f0e3f88 100644 (file)
@@ -438,10 +438,6 @@ radv_shader_compile_to_nir(struct radv_device *device,
                           const struct radv_pipeline_layout *layout,
                           unsigned subgroup_size, unsigned ballot_bit_size);
 
-void *
-radv_alloc_shader_memory(struct radv_device *device,
-                         struct radv_shader_variant *shader);
-
 void
 radv_destroy_shader_slabs(struct radv_device *device);