File tree Expand file tree Collapse file tree 2 files changed +15
-0
lines changed
Expand file tree Collapse file tree 2 files changed +15
-0
lines changed Original file line number Diff line number Diff line change 1+ diff --git a/src/libANGLE/renderer/metal/metal_backend.gni b/src/libANGLE/renderer/metal/metal_backend.gni
2+ index d3a8a1d6e..6d3ebd624 100644
3+ --- a/src/libANGLE/renderer/metal/metal_backend.gni
4+ +++ b/src/libANGLE/renderer/metal/metal_backend.gni
5+ @@ -92,8 +92,7 @@ metal_backend_sources = [
6+ # We can build the ANGLE internal shaders at build-time if we have access to the Mac SDK in the "build" dir.
7+ # Building internal shaders for iOS is not supported. The Chromium Mac SDK does not have all the required files.
8+ # This is also an issue when cross-compiling for mac.
9+ - metal_internal_shader_compilation_supported =
10+ - angle_has_build && !is_ios && target_os == host_os
11+ + metal_internal_shader_compilation_supported = true
12+
13+ metal_internal_shaders_header =
14+ "$root_gen_dir/angle/mtl_internal_shaders_metallib.h"
Original file line number Diff line number Diff line change @@ -29,6 +29,7 @@ apply_git_patch ../angle_include_fix.patch
2929apply_git_patch ../angle_feature_util_fix.patch
3030apply_git_patch ../angle_feature_util_metal_check.patch
3131apply_git_patch ../angle_disable_posix_handler.patch
32+ apply_git_patch ../angle_metal_shader_prebuild.patch
3233
3334gn gen out/Debug-iphonesimulator_arm64 --args=" is_debug=true enable_dsyms=true target_os=\" ios\" target_cpu=\" arm64\" ios_enable_code_signing=false angle_enable_metal=true angle_enable_gl=false angle_enable_null=false angle_enable_wgpu=false ios_deployment_target=\" 11.0\" angle_build_all=false target_environment=\" simulator\" "
3435gn gen out/Debug-iphonesimulator_x86_64 --args=" is_debug=true enable_dsyms=true target_os=\" ios\" target_cpu=\" x64\" ios_enable_code_signing=false angle_enable_metal=true angle_enable_gl=false angle_enable_null=false angle_enable_wgpu=false ios_deployment_target=\" 11.0\" angle_build_all=false target_environment=\" simulator\" "
You can’t perform that action at this time.
0 commit comments