radv: remove unused parameter in radv_dump_annotated_shader()

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
This commit is contained in:
Samuel Pitoiset
2018-05-24 13:09:11 +02:00
parent 6c61c31dc2
commit 8c406f0b4d

View File

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