summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSamuel Pitoiset <[email protected]>2018-05-24 13:09:11 +0200
committerSamuel Pitoiset <[email protected]>2018-05-25 11:57:59 +0200
commit8c406f0b4d904867058deb4e19acd69fd2c38c91 (patch)
tree67225e69bde59a7eaa627000a48b447eda59cc0f /src
parent6c61c31dc2fe52ad8a56ebe0b3aa10c223b635ba (diff)
radv: remove unused parameter in radv_dump_annotated_shader()
Signed-off-by: Samuel Pitoiset <[email protected]> Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/amd/vulkan/radv_debug.c14
1 files changed, 6 insertions, 8 deletions
diff --git a/src/amd/vulkan/radv_debug.c b/src/amd/vulkan/radv_debug.c
index e55489d71d1..72c7c39fcb8 100644
--- a/src/amd/vulkan/radv_debug.c
+++ b/src/amd/vulkan/radv_debug.c
@@ -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;