Roll ANGLE, vulkan-deps, and shaderc (flutter/engine#36389)

This change updates ANGLE to a version that contains [angle#3906325](https://chromium-review.googlesource.com/c/angle/angle/+/3906325), which fixes the COM error reported in  https://github.com/flutter/flutter/issues/110948. This also updates vulkan-deps and shaderc as these are dependencies of ANGLE.

Part of https://github.com/flutter/flutter/issues/110948
This commit is contained in:
Loïc Sharma
2022-11-01 15:14:48 -07:00
committed by GitHub
parent f2ab65aa2d
commit 13d9c0f556
4 changed files with 15 additions and 8 deletions

View File

@@ -1,2 +1,2 @@
Signature: ebfee4cf8fc59213ae6efbc0c13dc6c8
Signature: 960c777bbc4aed25629fa86a8d7bf10b

View File

@@ -335,12 +335,17 @@ def to_gn_args(args):
gn_args['host_cpu'] = cpu
gn_args['target_cpu'] = cpu
# macOS host builds (whether x64 or arm64) must currently be built under
# Rosetta on Apple Silicon Macs.
# TODO(cbracken): https://github.com/flutter/flutter/issues/103386
if is_host_build(args) and gn_args['host_os'] == 'mac':
# macOS host builds (whether x64 or arm64) must currently be built under
# Rosetta on Apple Silicon Macs.
# TODO(cbracken): https://github.com/flutter/flutter/issues/103386
gn_args['host_cpu'] = 'x64'
# macOS unit tests include Vulkan headers which reference Metal types
# introduced in macOS 10.14.
gn_args['mac_sdk_min'] = '10.14'
gn_args['mac_deployment_target'] = '10.14.0'
# macOS target builds (whether x64 or arm64) must currently be built under
# Rosetta on Apple Silicon Macs.
# TODO(cbracken): https://github.com/flutter/flutter/issues/103386
@@ -554,11 +559,13 @@ def to_gn_args(args):
get_host_os() == 'win'):
# Do not build unnecessary parts of the ANGLE tree.
gn_args['angle_build_all'] = False
gn_args['angle_has_astc_encoder'] = False
# Force ANGLE context checks on Windows to prevent crashes.
# TODO(loic-sharma): Remove this once ANGLE crashes have been fixed.
# https://github.com/flutter/flutter/issues/114107
if get_host_os() == 'win':
gn_args['angle_force_context_check_every_call'] = True
# Requires RTTI. We may want to build this in debug modes, punting on that
# for now.
gn_args['angle_enable_vulkan_validation_layers'] = False

View File

@@ -1649,7 +1649,7 @@ final List<RegExp> csLicenses = <RegExp>[
r'^(?:\1\2)?GNU General Public License for more details.\n'
r'^(?:\1\2)?\n*'
r'^(?:\1\2)?You should have received a copy of the GNU General Public License\n'
r'^(?:\1\2)?along with this program. If not, see <http://www.gnu.org/licenses/>. \*/\n'
r'^(?:\1\2)?along with this program. If not, see <https?://www.gnu.org/licenses/>. \*/\n'
r'^(?:\1\2)?\n*' +
kIndent +
r'As a special exception, you may create a larger work that contains\n'