-
Notifications
You must be signed in to change notification settings - Fork 6k
[Impeller] make sure buffers are 4 aligned for foreground color blending #53077
Conversation
| return Emplace(reinterpret_cast<const void*>(&buffer), // buffer | ||
| sizeof(BufferType), // size | ||
| alignof(BufferType) // alignment | ||
| [[nodiscard]] BufferView Emplace(const BufferType& buffer, |
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.
ahh oops
| EXPECT_EQ(buffer_view.range.length, 1u); | ||
| Entity entity; | ||
|
|
||
| std::optional<Entity> result = filter_contents.GetEntity( |
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.
This crashes for me locally without the patch and with validations enabled. I wish I could get it to fail even without validations, but I don't think there is an easy way without gutting everything.
jonahwilliams
left a comment
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
|
auto label is removed for flutter/engine/53077, due to - The status or check suite Linux Web Framework tests has failed. Please fix the issues identified (or deflake) before re-applying this label. |
|
From PR triage: @gaaclarke is this ready to land? |
Yep, ready. Looks like it got caught on a flake. |
…149367) flutter/engine@bf2e32d...4956e98 2024-05-30 [email protected] [semantics] fix dartdoc grammar (flutter/engine#53121) 2024-05-30 [email protected] Roll Skia from 188ad395c3e7 to a058f601e1fb (1 revision) (flutter/engine#53131) 2024-05-30 [email protected] Replace several NSAssert with FML_CHECK/DCHECK to unblock the build (flutter/engine#53048) 2024-05-30 [email protected] [Impeller] make sure buffers are 4 aligned for foreground color blending (flutter/engine#53077) 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
…lutter#149367) flutter/engine@bf2e32d...4956e98 2024-05-30 [email protected] [semantics] fix dartdoc grammar (flutter/engine#53121) 2024-05-30 [email protected] Roll Skia from 188ad395c3e7 to a058f601e1fb (1 revision) (flutter/engine#53131) 2024-05-30 [email protected] Replace several NSAssert with FML_CHECK/DCHECK to unblock the build (flutter/engine#53048) 2024-05-30 [email protected] [Impeller] make sure buffers are 4 aligned for foreground color blending (flutter/engine#53077) 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
fixes flutter/flutter#149216
Pre-launch Checklist
///).If you need help, consider asking for advice on the #hackers-new channel on Discord.