From d74150fc66131f23e2a54dd4920fa33d6604f13c Mon Sep 17 00:00:00 2001 From: Samuel Pitoiset Date: Thu, 11 Jan 2024 14:48:34 +0100 Subject: [PATCH] radv: remove one unused parameter in radv_fill_shader_info_ngg() Signed-off-by: Samuel Pitoiset Part-of: --- src/amd/vulkan/radv_pipeline_graphics.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/amd/vulkan/radv_pipeline_graphics.c b/src/amd/vulkan/radv_pipeline_graphics.c index 35345680b43..66c10fc9322 100644 --- a/src/amd/vulkan/radv_pipeline_graphics.c +++ b/src/amd/vulkan/radv_pipeline_graphics.c @@ -1963,8 +1963,8 @@ radv_generate_graphics_pipeline_key(const struct radv_device *device, const stru } static void -radv_fill_shader_info_ngg(struct radv_device *device, const struct radv_pipeline_key *pipeline_key, - struct radv_shader_stage *stages, VkShaderStageFlagBits active_nir_stages) +radv_fill_shader_info_ngg(struct radv_device *device, struct radv_shader_stage *stages, + VkShaderStageFlagBits active_nir_stages) { if (device->cache_key.use_ngg) { if (stages[MESA_SHADER_TESS_CTRL].nir) { @@ -2487,7 +2487,7 @@ radv_graphics_shaders_compile(struct radv_device *device, struct vk_pipeline_cac } /* Determine if shaders uses NGG before linking because it's needed for some NIR pass. */ - radv_fill_shader_info_ngg(device, pipeline_key, stages, active_nir_stages); + radv_fill_shader_info_ngg(device, stages, active_nir_stages); if (stages[MESA_SHADER_GEOMETRY].nir) { unsigned nir_gs_flags = nir_lower_gs_intrinsics_per_stream;