freedreno/a6xx: remove unused param
authorRob Clark <robdclark@chromium.org>
Mon, 24 Feb 2020 16:18:25 +0000 (08:18 -0800)
committerMarge Bot <eric+marge@anholt.net>
Fri, 28 Feb 2020 16:53:40 +0000 (16:53 +0000)
Signed-off-by: Rob Clark <robdclark@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3989>

src/gallium/drivers/freedreno/a6xx/fd6_compute.c

index 55c4bff858c845b996391cac46679aaec9a4c694..9987d9eb09959661e71faf4d55cd0b8950441647 100644 (file)
@@ -70,8 +70,7 @@ fd6_delete_compute_state(struct pipe_context *pctx, void *hwcso)
 
 /* maybe move to fd6_program? */
 static void
-cs_program_emit(struct fd_ringbuffer *ring, struct ir3_shader_variant *v,
-               const struct pipe_grid_info *info)
+cs_program_emit(struct fd_ringbuffer *ring, struct ir3_shader_variant *v)
 {
        const struct ir3_info *i = &v->info;
        enum a3xx_threadsize thrsz = FOUR_QUADS;
@@ -136,7 +135,7 @@ fd6_launch_grid(struct fd_context *ctx, const struct pipe_grid_info *info)
                return;
 
        if (ctx->dirty_shader[PIPE_SHADER_COMPUTE] & FD_DIRTY_SHADER_PROG)
-               cs_program_emit(ring, v, info);
+               cs_program_emit(ring, v);
 
        fd6_emit_cs_state(ctx, ring, v);
        ir3_emit_cs_consts(v, ring, ctx, info);