Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit a41712c

Browse files
[Impeller] enable blending on RuntimeEffectsContents (#37509)
1 parent dc76185 commit a41712c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

impeller/entity/contents/runtime_effect_contents.cc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,8 @@ bool RuntimeEffectContents::Render(const ContentContext& renderer,
114114
VALIDATION_LOG << "Failed to set stage inputs for runtime effect pipeline.";
115115
}
116116
desc.SetVertexDescriptor(std::move(vertex_descriptor));
117-
desc.SetColorAttachmentDescriptor(0u, {.format = PixelFormat::kDefaultColor});
117+
desc.SetColorAttachmentDescriptor(
118+
0u, {.format = PixelFormat::kDefaultColor, .blending_enabled = true});
118119
desc.SetStencilAttachmentDescriptors({});
119120
desc.SetStencilPixelFormat(PixelFormat::kDefaultStencil);
120121

0 commit comments

Comments
 (0)