From: Bas Nieuwenhuizen Date: Tue, 23 Jun 2020 23:28:54 +0000 (+0200) Subject: radv: Make radv_alloc_shader_memory static. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=aa35670fd0923d5779a0f1498a120223a69d6949;p=mesa.git radv: Make radv_alloc_shader_memory static. Just a cleanup. Reviewed-by: Samuel Pitoiset Part-of: --- diff --git a/src/amd/vulkan/radv_shader.c b/src/amd/vulkan/radv_shader.c index 6cc82f0903a..78227890b46 100644 --- a/src/amd/vulkan/radv_shader.c +++ b/src/amd/vulkan/radv_shader.c @@ -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) { diff --git a/src/amd/vulkan/radv_shader.h b/src/amd/vulkan/radv_shader.h index ee4b01a34c2..7e1659add0e 100644 --- a/src/amd/vulkan/radv_shader.h +++ b/src/amd/vulkan/radv_shader.h @@ -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);