panfrost: Remove unused dither flag
authorAlyssa Rosenzweig <alyssa@collabora.com>
Fri, 14 May 2021 20:00:40 +0000 (16:00 -0400)
committerMarge Bot <eric+marge@anholt.net>
Tue, 18 May 2021 22:51:56 +0000 (22:51 +0000)
Signed-off-by: Alyssa Rosenzweig <alyssa@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10869>

src/gallium/drivers/panfrost/pan_blend_cso.c
src/panfrost/lib/pan_blend.h

index cce2c26..c61da74 100644 (file)
@@ -70,7 +70,6 @@ panfrost_create_blend_state(struct pipe_context *pipe,
         struct panfrost_blend_state *so = rzalloc(ctx, struct panfrost_blend_state);
         so->base = *blend;
 
-        so->pan.dither = blend->dither;
         so->pan.logicop_enable = blend->logicop_enable;
         so->pan.logicop_func = blend->logicop_func;
         so->pan.rt_count = blend->max_rt + 1;
index 8fa6138..73bf8c6 100644 (file)
@@ -61,7 +61,6 @@ struct pan_blend_rt_state {
 };
 
 struct pan_blend_state {
-        bool dither;
         bool logicop_enable;
         enum pipe_logicop logicop_func;
         float constants[4];