diff options
author | Stuart Carnie <stuart.carnie@gmail.com> | 2024-02-20 05:52:00 +1100 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2024-08-20 12:11:06 +0200 |
commit | 2d0165574de6ac21aa2730215dcab60e4ce88d08 (patch) | |
tree | f1710c694c12f9360e853111a1ca396f285844bb /modules/glslang/config.py | |
parent | 826de7976a6add282c7b14d4be2a7e6d775821d8 (diff) | |
download | redot-engine-2d0165574de6ac21aa2730215dcab60e4ce88d08.tar.gz |
Add Metal support for macOS (arm64) and iOS
Diffstat (limited to 'modules/glslang/config.py')
-rw-r--r-- | modules/glslang/config.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/glslang/config.py b/modules/glslang/config.py index 1169776a73..a024dcf984 100644 --- a/modules/glslang/config.py +++ b/modules/glslang/config.py @@ -1,7 +1,7 @@ def can_build(env, platform): - # glslang is only needed when Vulkan or Direct3D 12-based renderers are available, + # glslang is only needed when Vulkan, Direct3D 12 or Metal-based renderers are available, # as OpenGL doesn't use glslang. - return env["vulkan"] or env["d3d12"] + return env["vulkan"] or env["d3d12"] or env["metal"] def configure(env): |