From 8b53230d47e2287376fd407bb08eb993af7d47ad Mon Sep 17 00:00:00 2001 From: Alyssa Rosenzweig Date: Wed, 31 Jul 2019 15:19:44 -0700 Subject: [PATCH] panfrost: Remove shader state *base It is now unused. Signed-off-by: Alyssa Rosenzweig --- src/gallium/drivers/panfrost/pan_context.c | 2 -- src/gallium/drivers/panfrost/pan_context.h | 2 -- 2 files changed, 4 deletions(-) diff --git a/src/gallium/drivers/panfrost/pan_context.c b/src/gallium/drivers/panfrost/pan_context.c index e1de285ae8c..d7393243e87 100644 --- a/src/gallium/drivers/panfrost/pan_context.c +++ b/src/gallium/drivers/panfrost/pan_context.c @@ -2094,8 +2094,6 @@ panfrost_bind_shader_state( struct panfrost_shader_state *v = &variants->variants[variant]; - v->base = hwcso; - if (type == PIPE_SHADER_FRAGMENT) { v->alpha_state = ctx->depth_stencil->alpha; diff --git a/src/gallium/drivers/panfrost/pan_context.h b/src/gallium/drivers/panfrost/pan_context.h index 1b607fa53a0..f85d70a123d 100644 --- a/src/gallium/drivers/panfrost/pan_context.h +++ b/src/gallium/drivers/panfrost/pan_context.h @@ -202,8 +202,6 @@ struct panfrost_rasterizer { /* A shader state corresponds to the actual, current variant of the shader */ struct panfrost_shader_state { - struct pipe_shader_state *base; - /* Compiled, mapped descriptor, ready for the hardware */ bool compiled; struct mali_shader_meta *tripipe; -- 2.30.2