-
Notifications
You must be signed in to change notification settings - Fork 6k
[Impeller] size command pools to npot of command count. #43903
Conversation
|
It looks like this pull request may not have tests. Please make sure to add tests before merging. If you need an exemption to this rule, contact Hixie on the #hackers channel in Chat (don't just cc him here, he won't see it! He's on Discord!). If you are not sure if you need tests, consider this rule of thumb: the purpose of a test is to make sure someone doesn't accidentally revert the fix. Ask yourself, is there anything in your PR that you feel it is important we not accidentally revert back to how it was before your fix? Reviewers: Read the Tree Hygiene page and make sure this patch meets those guidelines before LGTMing. |
|
To actually fix the performance issue, we need to recycle these of course. But that is easier to do if we generate fewer of them... |
| {vk::DescriptorType::eSampledImage, pool_count}, | ||
| {vk::DescriptorType::eSampler, pool_count}, | ||
| }; | ||
| {vk::DescriptorType::eStorageBuffer, pool_count}}; |
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.
Good catch.
…131109) flutter/engine@840bcc3...b47cf14 2023-07-22 [email protected] [Impeller] size command pools to npot of command count. (flutter/engine#43903) 2023-07-22 [email protected] Roll Skia from c79c781a3ce3 to 80e101dc5813 (1 revision) (flutter/engine#43914) 2023-07-22 [email protected] Roll Skia from 359d4726e423 to c79c781a3ce3 (2 revisions) (flutter/engine#43913) 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://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
…lutter#131109) flutter/engine@840bcc3...b47cf14 2023-07-22 [email protected] [Impeller] size command pools to npot of command count. (flutter/engine#43903) 2023-07-22 [email protected] Roll Skia from c79c781a3ce3 to 80e101dc5813 (1 revision) (flutter/engine#43914) 2023-07-22 [email protected] Roll Skia from 359d4726e423 to c79c781a3ce3 (2 revisions) (flutter/engine#43913) 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://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
…lutter#131109) flutter/engine@840bcc3...b47cf14 2023-07-22 [email protected] [Impeller] size command pools to npot of command count. (flutter/engine#43903) 2023-07-22 [email protected] Roll Skia from c79c781a3ce3 to 80e101dc5813 (1 revision) (flutter/engine#43914) 2023-07-22 [email protected] Roll Skia from 359d4726e423 to c79c781a3ce3 (2 revisions) (flutter/engine#43913) 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://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
Also removes pools for eSampledImage and eSampler as they appear to be unused in our generated headers.
This may have a minor impact on performance as from experimentation we will re-allocate fewer command pools.