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

Conversation

@jonahwilliams
Copy link
Contributor

Despite compiling an initial PSO variant for every shader, in practice these were completely useless as they had a sample count of 1 (instead of 4 for MSAA) and an invalid pixel format.

Correct the defaults so they may be usful.

Not enough to fix flutter/flutter#128963 , because we still have far too much state for Vulkan to handle

@flutter-dashboard
Copy link

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.

@jonahwilliams
Copy link
Contributor Author

Holding off on landing this, I'd like to make sure that this and @gaaclarke 's patch roll in separately so we can have an independent accounting of performance impact (i'd expect the change from this to be minor overall though)

@gaaclarke
Copy link
Member

Thanks for holding off. I'm poking around trying to get the roll going again so we can get measurements. Unfortunately I went from a roll with 1 commit to a roll with 17, hopefully nothing else affects the numbers in there.

@jonahwilliams jonahwilliams added the autosubmit Merge PR when tree becomes green via auto submit App label Jun 16, 2023
@auto-submit auto-submit bot merged commit f81590f into flutter:main Jun 16, 2023
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Jun 16, 2023
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Jun 16, 2023
auto-submit bot pushed a commit to flutter/flutter that referenced this pull request Jun 17, 2023
auto-submit bot pushed a commit that referenced this pull request Jun 20, 2023
…et default sample count to 4. (#42972)

Reland of #42902

on iOS the default pixel format can change due to wide gamut + platform views introducing multiple surfaces. Cache the default options used to create all pipelines so that we can guarantee that one can be found.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

autosubmit Merge PR when tree becomes green via auto submit App e: impeller

Projects

No open projects
Archived in project

Development

Successfully merging this pull request may close these issues.

[Impeller] JIT construction of PSO variants causes jank on Vulkan.

3 participants