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:
6
DEPS
6
DEPS
@@ -142,10 +142,10 @@ deps = {
|
||||
Var('fuchsia_git') + '/third_party/glfw' + '@' + '78e6a0063d27ed44c2c4805606309744f6fb29fc',
|
||||
|
||||
'src/third_party/shaderc':
|
||||
Var('github_git') + '/google/shaderc.git' + '@' + '948660cccfbbc303d2590c7f44a4cee40b66fdd6',
|
||||
Var('github_git') + '/google/shaderc.git' + '@' + '7ea834ecc59258a5c13c3d3e6fa0582bdde7c543',
|
||||
|
||||
'src/third_party/vulkan-deps':
|
||||
Var('chromium_git') + '/vulkan-deps' + '@' + '9bb79e503dd5f60d14d46712d51bda9c9dd8f2d3',
|
||||
Var('chromium_git') + '/vulkan-deps' + '@' + 'afc444a0f49a09f67b3dc63ddcd14e2031466ffa',
|
||||
|
||||
'src/third_party/flatbuffers':
|
||||
Var('github_git') + '/google/flatbuffers.git' + '@' + '0a80646371179f8a7a5c1f42c31ee1d44dcf6709',
|
||||
@@ -474,7 +474,7 @@ deps = {
|
||||
Var('swiftshader_git') + '/SwiftShader.git' + '@' + 'bea8d2471bd912220ba59032e0738f3364632657',
|
||||
|
||||
'src/third_party/angle':
|
||||
Var('chromium_git') + '/angle/angle.git' + '@' + '3faaded8234b31dea24c929e40e33089a34a9aa5',
|
||||
Var('chromium_git') + '/angle/angle.git' + '@' + '094b49db60cb48ee932a875898b57accbfa656de',
|
||||
|
||||
'src/third_party/vulkan_memory_allocator':
|
||||
Var('chromium_git') + '/external/github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator' + '@' + '7de5cc00de50e71a3aab22dea52fbb7ff4efceb6',
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
Signature: ebfee4cf8fc59213ae6efbc0c13dc6c8
|
||||
Signature: 960c777bbc4aed25629fa86a8d7bf10b
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user