mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
[Impeller] Apply Y coordinate scaling when sampling from the destination texture in framebuffer advanced blends (#173639)
Fixes https://github.com/flutter/flutter/issues/173162
This commit is contained in:
parent
b46a6aa9a6
commit
a07fc6b910
@ -706,7 +706,8 @@ std::optional<Entity> BlendFilterContents::CreateFramebufferAdvancedBlend(
|
||||
|
||||
VS::FrameInfo frame_info;
|
||||
frame_info.mvp = Matrix::MakeOrthographic(ISize(1, 1));
|
||||
frame_info.texture_sampler_y_coord_scale = 1.0;
|
||||
frame_info.texture_sampler_y_coord_scale =
|
||||
dst_snapshot->texture->GetYCoordScale();
|
||||
|
||||
FS::FragInfo frag_info;
|
||||
frag_info.alpha = 1.0;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user