panfrost: Remove unused argument

A relic from when we didn't have an online compiler, hah.

Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
This commit is contained in:
Alyssa Rosenzweig 2019-08-01 08:10:03 -07:00
parent ff345d4a01
commit b40ba2db6c
4 changed files with 1 additions and 4 deletions

View file

@ -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)
{

View file

@ -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);

View file

@ -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;

View file

@ -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);