diff options
author | Alyssa Rosenzweig <[email protected]> | 2019-08-12 16:14:03 -0700 |
---|---|---|
committer | Alyssa Rosenzweig <[email protected]> | 2019-08-14 16:42:40 -0700 |
commit | 375d4c2c74d5a7003e03c4e610b466bd0d7d1a53 (patch) | |
tree | 7ba7fc6db087b3b9345274bb92f4f8c0c0c9f8fc /src/gallium/drivers/panfrost/pan_blend.h | |
parent | dff4986b1aa22990828861ccca234b52455cbeb6 (diff) |
panfrost: Extend blending to MRT
Our hardware supports independent (per-RT) blending, but we need to
route those settings through from Gallium.
Signed-off-by: Alyssa Rosenzweig <[email protected]>
Diffstat (limited to 'src/gallium/drivers/panfrost/pan_blend.h')
-rw-r--r-- | src/gallium/drivers/panfrost/pan_blend.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gallium/drivers/panfrost/pan_blend.h b/src/gallium/drivers/panfrost/pan_blend.h index a29353ff001..83fe35e325c 100644 --- a/src/gallium/drivers/panfrost/pan_blend.h +++ b/src/gallium/drivers/panfrost/pan_blend.h @@ -99,6 +99,10 @@ struct panfrost_blend_final { /* Set for a shader, clear for an equation */ bool is_shader; + /* Set if the destination needs to be loaded from the tilebuffer, + * basically (for an equation) or if a shader is present */ + bool no_blending; + union { struct panfrost_blend_shader_final shader; struct panfrost_blend_equation_final equation; |