panfrost: Remove shader state *base
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Wed, 31 Jul 2019 22:19:44 +0000 (15:19 -0700)
committerAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Thu, 1 Aug 2019 23:23:03 +0000 (16:23 -0700)
It is now unused.

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

index e1de285ae8c11a0c9383e129d9ac82b5f685719c..d7393243e87b9b6f1c3f04c1bab014db03bf9c08 100644 (file)
@@ -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;
 
index 1b607fa53a0314557b01aa341dc588a36d2c3d04..f85d70a123df5497e07d13375c372d4b9eaf520b 100644 (file)
@@ -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;