[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:
Jason Simmons 2025-08-12 15:13:23 -07:00 committed by GitHub
parent b46a6aa9a6
commit a07fc6b910
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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;