Module: Mesa
Branch: main
Commit: d74150fc66131f23e2a54dd4920fa33d6604f13c
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=d74150fc66131f23e2a54dd4920fa33d6604f13c

Author: Samuel Pitoiset <[email protected]>
Date:   Thu Jan 11 14:48:34 2024 +0100

radv: remove one unused parameter in radv_fill_shader_info_ngg()

Signed-off-by: Samuel Pitoiset <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27007>

---

 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;

Reply via email to