aboutsummaryrefslogtreecommitdiffstats
path: root/src/panfrost/include
diff options
context:
space:
mode:
authorAlyssa Rosenzweig <[email protected]>2019-07-17 16:19:45 -0700
committerAlyssa Rosenzweig <[email protected]>2019-07-18 10:42:43 -0700
commit5c554e235dc5376a0b2d1a8847a527f9e06f4873 (patch)
treee9b8e6b0e2c759b66e0ec4029aa7a2b4cfef5f59 /src/panfrost/include
parent676b9339dd1ec2c85b1d223103a295a06efcffe1 (diff)
panfrost: Use correct NO_DITHER field on MFBD
Signed-off-by: Alyssa Rosenzweig <[email protected]>
Diffstat (limited to 'src/panfrost/include')
-rw-r--r--src/panfrost/include/panfrost-job.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/panfrost/include/panfrost-job.h b/src/panfrost/include/panfrost-job.h
index 297d0806adc..b7312a60720 100644
--- a/src/panfrost/include/panfrost-job.h
+++ b/src/panfrost/include/panfrost-job.h
@@ -439,6 +439,9 @@ union midgard_blend {
#define MALI_BLEND_SRGB (0x400)
+/* Dithering is specified here for MFBD, otherwise NO_DITHER for SFBD */
+#define MALI_BLEND_NO_DITHER (0x800)
+
struct midgard_blend_rt {
/* Flags base value of 0x200 to enable the render target.
* OR with 0x1 for blending (anything other than REPLACE).