From: Alyssa Rosenzweig Date: Wed, 31 Jul 2019 22:19:44 +0000 (-0700) Subject: panfrost: Remove shader state *base X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8b53230d47e2287376fd407bb08eb993af7d47ad;p=mesa.git panfrost: Remove shader state *base It is now unused. Signed-off-by: Alyssa Rosenzweig --- 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;