Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get the vulkan backend working again #39103

Merged
merged 2 commits into from Jan 25, 2023

Conversation

iskakaushik
Copy link
Contributor

  • Disables modern features as SSBOs are wired on Vulkan yet.
  • Sub-optimal presentation mode must not be a fatal issue.
  • Allow for shader outputs not to be consumed.

* Disables modern features as SSBOs are wired on Vulkan yet.
* Sub-optimal presentation mode must not be a fatal issue.
* Allow for shader outputs not to be consumed.
@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.

Copy link
Member

@bdero bdero left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@@ -18,7 +18,7 @@ declare_args() {
impeller_enable_opengles = is_mac || is_linux || is_win || is_android

# Whether the Vulkan backend is enabled.
impeller_enable_vulkan = is_linux || is_android
impeller_enable_vulkan = is_mac || is_linux || is_android
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is the Vulkan playground harness configured to use the SwiftShader ICD by default on MacOS? If not, might be worth adding a doc about setting up Vulkan for MacOS here (getting LunarG SDK, environment vars for MoltenVK, etc). FYI @chinmaygarde

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

added a issue flutter/flutter#119083

@iskakaushik iskakaushik changed the title Enable Vulkan to be developed on macOS host Get the vulkan backend working again Jan 25, 2023
@iskakaushik iskakaushik added e: impeller autosubmit Merge PR when tree becomes green via auto submit App labels Jan 25, 2023
@auto-submit auto-submit bot removed the autosubmit Merge PR when tree becomes green via auto submit App label Jan 25, 2023
@auto-submit
Copy link
Contributor

auto-submit bot commented Jan 25, 2023

auto label is removed for flutter/engine, pr: 39103, due to - The status or check suite Mac Unopt has failed. Please fix the issues identified (or deflake) before re-applying this label.

@iskakaushik iskakaushik added the autosubmit Merge PR when tree becomes green via auto submit App label Jan 25, 2023
@auto-submit auto-submit bot merged commit 308ce91 into flutter:main Jan 25, 2023
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Jan 25, 2023
auto-submit bot pushed a commit to flutter/flutter that referenced this pull request Jan 26, 2023
…119201)

* c01d4a144 Roll Skia from c4b171fe5668 to 393fb1ec80f4 (9 revisions) (flutter/engine#39138)

* 308ce918f Get the vulkan backend working again (flutter/engine#39103)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
autosubmit Merge PR when tree becomes green via auto submit App e: impeller needs tests
Projects
None yet
2 participants