forked from firka/flutter
Gate the minimum iOS deployment versions in the generated shaders.
This commit is contained in:
@@ -15,7 +15,7 @@ bool Allocator::RequiresExplicitHostSynchronization(StorageMode mode) {
|
||||
return false;
|
||||
}
|
||||
|
||||
#if FML_OS_IOS
|
||||
#if OS_IOS
|
||||
// StorageMode::kHostVisible is MTLStorageModeShared already.
|
||||
return false;
|
||||
#else // OS_IOS
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
namespace impeller {
|
||||
|
||||
constexpr size_t DefaultUniformAlignment() {
|
||||
#if FML_OS_IOS
|
||||
#if OS_IOS
|
||||
return 16u;
|
||||
#elif FML_OS_MACOSX
|
||||
return 256u;
|
||||
|
||||
@@ -74,6 +74,7 @@ def Main():
|
||||
elif args.platform == "ios":
|
||||
command += [
|
||||
"--std=ios-metal1.2",
|
||||
"-mios-version-min=10.0",
|
||||
]
|
||||
|
||||
if args.optimize:
|
||||
|
||||
Reference in New Issue
Block a user