From aa85a64821207781e2b68dd42ce03efce6f32ef3 Mon Sep 17 00:00:00 2001 From: Alyssa Rosenzweig Date: Fri, 14 May 2021 14:48:09 -0400 Subject: [PATCH] panfrost: Garbage collect Gallium blend includes Got moved to common blend handling. Signed-off-by: Alyssa Rosenzweig Part-of: --- src/gallium/drivers/panfrost/pan_blend_cso.h | 27 -------------------- 1 file changed, 27 deletions(-) diff --git a/src/gallium/drivers/panfrost/pan_blend_cso.h b/src/gallium/drivers/panfrost/pan_blend_cso.h index 4aa87513582..ccabf6ab8b9 100644 --- a/src/gallium/drivers/panfrost/pan_blend_cso.h +++ b/src/gallium/drivers/panfrost/pan_blend_cso.h @@ -34,26 +34,6 @@ struct panfrost_bo; -struct panfrost_blend_shader_key { - /* RT format */ - enum pipe_format format; - - /* Render target */ - unsigned rt : 3; - - /* Blend shader uses blend constants */ - unsigned has_constants : 1; - - /* Logic Op info */ - unsigned logicop_enable : 1; - unsigned logicop_func:4; - - /* Number of samples */ - unsigned nr_samples : 5; - - struct pipe_rt_blend_state equation; -}; - /* A blend shader descriptor ready for actual use */ struct panfrost_blend_shader_final { @@ -102,11 +82,4 @@ panfrost_blend_context_init(struct pipe_context *pipe); struct panfrost_blend_final panfrost_get_blend_for_context(struct panfrost_context *ctx, unsigned rt, struct panfrost_bo **bo, unsigned *shader_offset); -struct panfrost_blend_shader * -panfrost_get_blend_shader(struct panfrost_context *ctx, - struct panfrost_blend_state *blend, - enum pipe_format fmt, unsigned nr_samples, - unsigned rt, - const float *constants); - #endif