From d7234d7de1fdf45445c1006d834642cec0cff1e1 Mon Sep 17 00:00:00 2001 From: Jonah Williams Date: Thu, 10 Nov 2022 20:17:14 -0800 Subject: [PATCH] [Impeller] enable blending on RuntimeEffectsContents (flutter/engine#37509) --- .../impeller/entity/contents/runtime_effect_contents.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/engine/src/flutter/impeller/entity/contents/runtime_effect_contents.cc b/engine/src/flutter/impeller/entity/contents/runtime_effect_contents.cc index 21ef0193d1..0cb7100405 100644 --- a/engine/src/flutter/impeller/entity/contents/runtime_effect_contents.cc +++ b/engine/src/flutter/impeller/entity/contents/runtime_effect_contents.cc @@ -114,7 +114,8 @@ bool RuntimeEffectContents::Render(const ContentContext& renderer, VALIDATION_LOG << "Failed to set stage inputs for runtime effect pipeline."; } desc.SetVertexDescriptor(std::move(vertex_descriptor)); - desc.SetColorAttachmentDescriptor(0u, {.format = PixelFormat::kDefaultColor}); + desc.SetColorAttachmentDescriptor( + 0u, {.format = PixelFormat::kDefaultColor, .blending_enabled = true}); desc.SetStencilAttachmentDescriptors({}); desc.SetStencilPixelFormat(PixelFormat::kDefaultStencil);