mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Gate the minimum iOS deployment versions in the generated shaders.
This commit is contained in:
parent
5ab0413c4f
commit
da1929b38b
@ -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:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user