Skip to content
This repository was archived by the owner on Apr 29, 2022. It is now read-only.

Conversation

@dnfield
Copy link
Contributor

@dnfield dnfield commented Apr 13, 2022

I .. I forget how to write ObjC.

I'm going to let CI finish on flutter/engine#32658 (which currently points to my fork) before landing this.

@dnfield dnfield requested review from bdero and chinmaygarde April 13, 2022 23:47
@dnfield dnfield mentioned this pull request Apr 14, 2022
// machines with lower SDK versions than 11.0.s
#if !defined(MAC_OS_X_VERSION_11_0) || MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_11_0
typedef enum MTLCommandEncoderErrorState : NSInteger {
#if !defined(MAC_OS_VERSION_11_0) || MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_VERSION_11_0
Copy link
Member

Choose a reason for hiding this comment

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

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Need a guard for the macOS 12 defines too

Copy link
Contributor Author

Choose a reason for hiding this comment

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

So once Mac Web engine rolls we can remove the first block here - we won't be able to remove the second until we further upgrade.

@dnfield
Copy link
Contributor Author

dnfield commented Apr 14, 2022

With this patch applied all impeller related failures on flutter/engine#32658 are resolved.

@dnfield dnfield merged commit a93986f into flutter:main Apr 14, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants