radv: remove unused parameter in radv_dump_annotated_shader()
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Thu, 24 May 2018 11:09:11 +0000 (13:09 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Fri, 25 May 2018 09:57:59 +0000 (11:57 +0200)
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
src/amd/vulkan/radv_debug.c

index e55489d71d1ff1acb9cef71fda4aa01440e8ea2e..72c7c39fcb896a96e958195f139ee743642a63e0 100644 (file)
@@ -369,11 +369,9 @@ static void si_add_split_disasm(const char *disasm,
 }
 
 static void
-radv_dump_annotated_shader(struct radv_pipeline *pipeline,
-                          struct radv_shader_variant *shader,
-                          gl_shader_stage stage,
-                          struct ac_wave_info *waves, unsigned num_waves,
-                          FILE *f)
+radv_dump_annotated_shader(struct radv_shader_variant *shader,
+                          gl_shader_stage stage, struct ac_wave_info *waves,
+                          unsigned num_waves, FILE *f)
 {
        uint64_t start_addr, end_addr;
        unsigned i;
@@ -459,12 +457,12 @@ radv_dump_annotated_shaders(struct radv_pipeline *pipeline,
        while (mask) {
                int stage = u_bit_scan(&mask);
 
-               radv_dump_annotated_shader(pipeline, pipeline->shaders[stage],
+               radv_dump_annotated_shader(pipeline->shaders[stage],
                                           stage, waves, num_waves, f);
        }
 
-       radv_dump_annotated_shader(pipeline, compute_shader,
-                                  MESA_SHADER_COMPUTE, waves, num_waves, f);
+       radv_dump_annotated_shader(compute_shader, MESA_SHADER_COMPUTE, waves,
+                                  num_waves, f);
 
        /* Print waves executing shaders that are not currently bound. */
        unsigned i;