We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ea0759f commit 531b8c4Copy full SHA for 531b8c4
filament/backend/src/metal/MetalShaderCompiler.mm
@@ -118,7 +118,11 @@ bool isReady() const noexcept {
118
// not always true: it is possible for the environment to be set
119
// up in a way where an older version is used by default. So we
120
// explicitly set the minimum version we require.
121
- options.languageVersion = MTLLanguageVersion2_3;
+ #if defined(FILAMENT_IOS)
122
+ options.languageVersion = MTLLanguageVersion2_0;
123
+ #else
124
+ options.languageVersion = MTLLanguageVersion2_3;
125
+ #endif
126
127
assert_invariant(source[source.size() - 1] == '\0');
128
// the shader string is null terminated and the length includes the null character
0 commit comments