summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAlyssa Rosenzweig <[email protected]>2019-08-01 08:10:03 -0700
committerAlyssa Rosenzweig <[email protected]>2019-08-01 16:23:03 -0700
commitb40ba2db6c81021f83465a4ac32922a064cc91b2 (patch)
treeb3602a4c2a4db55a1531ef9ce1d29985cf0735cc /src
parentff345d4a01a8a004687cd150315cb7d1be67645f (diff)
panfrost: Remove unused argument
A relic from when we didn't have an online compiler, hah. Signed-off-by: Alyssa Rosenzweig <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/gallium/drivers/panfrost/pan_assemble.c1
-rw-r--r--src/gallium/drivers/panfrost/pan_compute.c2
-rw-r--r--src/gallium/drivers/panfrost/pan_context.c1
-rw-r--r--src/gallium/drivers/panfrost/pan_context.h1
4 files changed, 1 insertions, 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);