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

Conversation

@iskakaushik
Copy link
Contributor

Passing this flag in unopt mode disables the debug symbols
from being shown in xcode.

fixes: flutter/flutter#106066

Passing this flag in unopt mode disables the debug symbols
from being shown in xcode.

fixes: flutter/flutter#106066
@bdero
Copy link
Member

bdero commented Jun 23, 2022

Without these flags, the shader debugger works, but the xcode frame profiler always crashes for me.

@iskakaushik
Copy link
Contributor Author

iskakaushik commented Jun 23, 2022

Without these flags, the shader debugger works, but the xcode frame profiler always crashes for me.

@bdero if you change it to ios-metal2.1, does everything work? If that is the case, I will make it configurable, so we have a workaround for local testing.

Copy link
Member

@chinmaygarde chinmaygarde left a comment

Choose a reason for hiding this comment

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

LGTM. But given the Xcode instability, perhaps we should also add guidance on what toggles to try to make profiling and shader debugging work. Also, file a radar to followup.

@chinmaygarde chinmaygarde changed the title [impeller] Pass --std=ios-metal1.2 only in opt mode [Impeller] Pass --std=ios-metal1.2 only in opt mode Jun 23, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

No open projects
Archived in project

Development

Successfully merging this pull request may close these issues.

[Impeller] Embedded shader sources don't show up in the Metal frame debugger.

3 participants