This repository was archived by the owner on Feb 25, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
impeller/entity/contents/filters Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 1212#include " impeller/entity/contents/content_context.h"
1313#include " impeller/entity/texture_fill.frag.h"
1414#include " impeller/entity/texture_fill.vert.h"
15+ #include " impeller/renderer/command.h"
1516#include " impeller/renderer/render_pass.h"
17+ #include " impeller/renderer/texture_mipmap.h"
1618#include " impeller/renderer/vertex_buffer_builder.h"
1719
1820namespace impeller {
@@ -87,7 +89,6 @@ fml::StatusOr<RenderTarget> MakeDownsampleSubpass(
8789 pass.SetCommandLabel (" Gaussian blur downsample" );
8890 auto pipeline_options = OptionsFromPass (pass);
8991 pipeline_options.primitive_type = PrimitiveType::kTriangleStrip ;
90- pipeline_options.blend_mode = BlendMode::kSource ;
9192 pass.SetPipeline (renderer.GetTexturePipeline (pipeline_options));
9293
9394 TextureFillVertexShader::FrameInfo frame_info;
@@ -149,7 +150,6 @@ fml::StatusOr<RenderTarget> MakeBlurSubpass(
149150
150151 ContentContextOptions options = OptionsFromPass (pass);
151152 options.primitive_type = PrimitiveType::kTriangleStrip ;
152- options.blend_mode = BlendMode::kSource ;
153153
154154 if (tile_mode == Entity::TileMode::kDecal &&
155155 !renderer.GetDeviceCapabilities ()
You can’t perform that action at this time.
0 commit comments