panfrost: Remove unused argument
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Thu, 1 Aug 2019 15:10:03 +0000 (08:10 -0700)
committerAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Thu, 1 Aug 2019 23:23:03 +0000 (16:23 -0700)
A relic from when we didn't have an online compiler, hah.

Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
src/gallium/drivers/panfrost/pan_assemble.c
src/gallium/drivers/panfrost/pan_compute.c
src/gallium/drivers/panfrost/pan_context.c
src/gallium/drivers/panfrost/pan_context.h

index 26061c59ff5e86acbd852604a87a7db7b44314f7..15f77585a25cd4bd5af427430d2702231574ccc8 100644 (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)
 {
index 10eacaa25986b012a3d30994cd10a2a22af388b7..43fef8d8cfa626129226f1f9c5669ac3bab8622f 100644 (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);
 
 
index 93c1cb9ccae1f9c117bde74cddec61d7be9738d9..014f8f6a9d07a172e4192ac9ed35de00674008d5 100644 (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;
index 57f32480e1f5e3cba01ce9eeab3c4fc08f514eef..d930f12a537b84c5010f938129a939f314cc9dda 100644 (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);