aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAlyssa Rosenzweig <[email protected]>2019-07-31 15:19:44 -0700
committerAlyssa Rosenzweig <[email protected]>2019-08-01 16:23:03 -0700
commit8b53230d47e2287376fd407bb08eb993af7d47ad (patch)
tree5a2e69badf51864a5110da8d8274a5f6e0ad89fc /src
parentc228046b4b48b7cd13220867195181937a688a61 (diff)
panfrost: Remove shader state *base
It is now unused. Signed-off-by: Alyssa Rosenzweig <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/gallium/drivers/panfrost/pan_context.c2
-rw-r--r--src/gallium/drivers/panfrost/pan_context.h2
2 files changed, 0 insertions, 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;