-
Notifications
You must be signed in to change notification settings - Fork 6k
[Impeller] added a fallback that will make sure the blur fragment shader doesn't overflow #53466
Conversation
…der doesn't overflow
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
I'm not sure if this is going to pass CI. The blur tests run fine, the added unit test is getting a stack overflow locally for some reason. |
Oh! we are doing a stack overflow since we temporarily will have more samples than will be supported, but then we use the lerp hack to make it fit. I'm going to have to rework this, not minutes before my vacation. |
I got rid of the stack overflow. I really would like more time to study this when I get back. I'm going to refrain from landing it before I head out. It's here if for some reason it becomes a priority. |
// are around 53 before the down-sampling and max sigma of 500 kick in. | ||
// | ||
// TODO(https://github.com/flutter/flutter/issues/150462): Come up with a more | ||
// wholistic remedy for this. A proper downsample size should not make this |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
holistic ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Both spellings are accepted. After a slight rabbit hole I can report that it isn't some sort of british-ism. "Wholistic" came about about 100 years ago for some goofy reason, probably to sell snake oil.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@jonahwilliams I tweaked this a bit since your approval if you want to give it another look. Changes:
|
…agment shader doesn't overflow (flutter/engine#53466)
…agment shader doesn't overflow (flutter/engine#53466)
…agment shader doesn't overflow (flutter/engine#53466)
…agment shader doesn't overflow (flutter/engine#53466)
…agment shader doesn't overflow (flutter/engine#53466)
…agment shader doesn't overflow (flutter/engine#53466)
…agment shader doesn't overflow (flutter/engine#53466)
…150762) flutter/engine@be7db94...afa7ce1 2024-06-25 [email protected] Roll Dart SDK from bb18127b2a8e to b5fc85cfcf1b (1 revision) (flutter/engine#53552) 2024-06-25 [email protected] Roll Skia from 5feca3095719 to 335200e57c26 (1 revision) (flutter/engine#53549) 2024-06-25 [email protected] Roll Dart SDK from c187d4b3ec88 to bb18127b2a8e (1 revision) (flutter/engine#53547) 2024-06-25 [email protected] Roll Fuchsia Linux SDK from _6HNhJ6G59VMceKoN... to WUN7NQK04NjF9fRmf... (flutter/engine#53545) 2024-06-25 98614782+auto-submit[bot]@users.noreply.github.com Reverts "Re-re-land "Upgrade all[most] androidx dependencies to latest" (#53532)" (flutter/engine#53546) 2024-06-25 [email protected] Bump impeller-cmake-example (flutter/engine#53538) 2024-06-24 [email protected] Roll Skia from e20c8b0bac0c to 5feca3095719 (1 revision) (flutter/engine#53544) 2024-06-24 [email protected] [web] Reland "Fix focus management for text fields (#51009)" (flutter/engine#53537) 2024-06-24 [email protected] Roll Dart SDK from 5df89347bddf to c187d4b3ec88 (1 revision) (flutter/engine#53542) 2024-06-24 [email protected] [macOS] Generate universal gen_snapshots (flutter/engine#53524) 2024-06-24 [email protected] Re-re-land "Upgrade all[most] androidx dependencies to latest" (flutter/engine#53532) 2024-06-24 [email protected] Roll Skia from 1948fd53e280 to e20c8b0bac0c (1 revision) (flutter/engine#53540) 2024-06-24 [email protected] Roll Skia from 0fa58b6ddba0 to 1948fd53e280 (2 revisions) (flutter/engine#53536) 2024-06-24 [email protected] Roll Skia from ea84df425483 to 0fa58b6ddba0 (3 revisions) (flutter/engine#53535) 2024-06-24 [email protected] [Impeller] added a fallback that will make sure the blur fragment shader doesn't overflow (flutter/engine#53466) 2024-06-24 [email protected] [fuchsia] Update Fuchsia API level to 19 (flutter/engine#53494) 2024-06-24 [email protected] Roll Dart SDK from 95470b2cac1f to 5df89347bddf (1 revision) (flutter/engine#53534) 2024-06-24 [email protected] Roll Skia from f6b4344d73cc to ea84df425483 (1 revision) (flutter/engine#53531) Also rolling transitive DEPS: fuchsia/sdk/core/linux-amd64 from _6HNhJ6G59VM to WUN7NQK04NjF If this roll has caused a breakage, revert this CL and stop the roller using the controls here: https://autoroll.skia.org/r/flutter-engine-flutter-autoroll Please CC [email protected],[email protected],[email protected] on the revert to ensure that a human is aware of the problem. To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose To report a problem with the AutoRoller itself, please file a bug: https://issues.skia.org/issues/new?component=1389291&template=1850622 Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
issue: flutter/flutter#150462
This makes that usage never crash. I would like to reevaluate for a better fix later though. Something like:
Pre-launch Checklist
///
).If you need help, consider asking for advice on the #hackers-new channel on Discord.