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

Commit e6adba2

Browse files
committed
rebase tweaks
1 parent 1e7e234 commit e6adba2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

impeller/entity/contents/filters/gaussian_blur_filter_contents.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -217,9 +217,9 @@ std::optional<Entity> GaussianBlurFilterContents::RenderFilter(
217217

218218
Vector2 padded_size =
219219
Vector2(input_snapshot->texture->GetSize()) + 2.0 * padding;
220+
Vector2 downsampled_size = padded_size * downsample_scalar;
220221
// TODO(gaaclarke): I don't think we are correctly handling this fractional
221222
// amount we are throwing away.
222-
Vector2 downsampled_size = padded_size * downsample_scalar;
223223
ISize subpass_size =
224224
ISize(round(downsampled_size.x), round(downsampled_size.y));
225225

@@ -257,7 +257,7 @@ std::optional<Entity> GaussianBlurFilterContents::RenderFilter(
257257
return Entity::FromSnapshot(
258258
Snapshot{
259259
.texture = pass3_out_texture,
260-
.transform = entity.GetTransformation() *
260+
.transform = entity.GetTransform() *
261261
Matrix::MakeTranslation({-padding.x, -padding.y, 0}) *
262262
Matrix::MakeScale(padded_size /
263263
Vector2(pass1_out_texture->GetSize())),

0 commit comments

Comments
 (0)