From b40ba2db6c81021f83465a4ac32922a064cc91b2 Mon Sep 17 00:00:00 2001 From: Alyssa Rosenzweig Date: Thu, 1 Aug 2019 08:10:03 -0700 Subject: [PATCH] panfrost: Remove unused argument A relic from when we didn't have an online compiler, hah. Signed-off-by: Alyssa Rosenzweig --- src/gallium/drivers/panfrost/pan_assemble.c | 1 - src/gallium/drivers/panfrost/pan_compute.c | 2 +- src/gallium/drivers/panfrost/pan_context.c | 1 - src/gallium/drivers/panfrost/pan_context.h | 1 - 4 files changed, 1 insertion(+), 4 deletions(-) diff --git a/src/gallium/drivers/panfrost/pan_assemble.c b/src/gallium/drivers/panfrost/pan_assemble.c index 26061c59ff5..15f77585a25 100644 --- a/src/gallium/drivers/panfrost/pan_assemble.c +++ b/src/gallium/drivers/panfrost/pan_assemble.c @@ -40,7 +40,6 @@ panfrost_shader_compile( struct mali_shader_meta *meta, enum pipe_shader_ir ir_type, const void *ir, - const char *src, gl_shader_stage stage, struct panfrost_shader_state *state) { diff --git a/src/gallium/drivers/panfrost/pan_compute.c b/src/gallium/drivers/panfrost/pan_compute.c index 10eacaa2598..43fef8d8cfa 100644 --- a/src/gallium/drivers/panfrost/pan_compute.c +++ b/src/gallium/drivers/panfrost/pan_compute.c @@ -52,7 +52,7 @@ panfrost_create_compute_state( v->tripipe = malloc(sizeof(struct mali_shader_meta)); panfrost_shader_compile(ctx, v->tripipe, - cso->ir_type, cso->prog, NULL, + cso->ir_type, cso->prog, MESA_SHADER_COMPUTE, v); diff --git a/src/gallium/drivers/panfrost/pan_context.c b/src/gallium/drivers/panfrost/pan_context.c index 93c1cb9ccae..014f8f6a9d0 100644 --- a/src/gallium/drivers/panfrost/pan_context.c +++ b/src/gallium/drivers/panfrost/pan_context.c @@ -2099,7 +2099,6 @@ panfrost_bind_shader_state( variants->base.type == PIPE_SHADER_IR_NIR ? variants->base.ir.nir : variants->base.tokens, - NULL, tgsi_processor_to_shader_stage(type), shader_state); shader_state->compiled = true; diff --git a/src/gallium/drivers/panfrost/pan_context.h b/src/gallium/drivers/panfrost/pan_context.h index 57f32480e1f..d930f12a537 100644 --- a/src/gallium/drivers/panfrost/pan_context.h +++ b/src/gallium/drivers/panfrost/pan_context.h @@ -314,7 +314,6 @@ panfrost_shader_compile( struct mali_shader_meta *meta, enum pipe_shader_ir ir_type, const void *ir, - const char *src, gl_shader_stage stage, struct panfrost_shader_state *state); -- 2.30.2