mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-07-03 03:35:59 +00:00
Roll third_party/glslang/ 3ee5f2f1d..2de6d657d (6 commits)3ee5f2f1d3..2de6d657dd
$ git log 3ee5f2f1d..2de6d657d --date=short --no-merges --format='%ad %ae %s' 2020-08-04 john SPV: Standalone; sanity check the client GLSL input semantics option value. 2020-08-04 john SPV: Use more correct SPV-Tools environment, partially addressing #2290 2020-08-04 john SPV: Fix #2363: include trailing newline named text SPV output. 2020-07-03 ShabbyX Use GLSLANG_ANGLE to strip features to what ANGLE requires 2020-07-31 bclayton Revert changes that migrate to `thread_local`. 2020-07-27 dneto Avoid spurious warning about uninit var Created with: roll-dep third_party/glslang Roll third_party/shaderc/ cfacaaffd..c626b912d (1 commit)cfacaaffd1..c626b912dc
$ git log cfacaaffd..c626b912d --date=short --no-merges --format='%ad %ae %s' 2020-07-29 dsinclair Update some language usage. (#1124) Created with: roll-dep third_party/shaderc Roll third_party/spirv-cross/ f5e9f4a17..82d1c43e4 (6 commits)f5e9f4a172..82d1c43e40
$ git log f5e9f4a17..82d1c43e4 --date=short --no-merges --format='%ad %ae %s' 2020-08-03 cdavis MSL: Fix handling of matrices and structs in the output control point array. 2020-07-29 post Add some test cases for complex type aliasing scenario. 2020-07-29 post Ensure that we use primary alias type when emitting flattened members. 2020-07-29 post GLSL: Be more aggressive about using type_alias. 2020-07-29 post Only rewrite type aliases for the base type. 2020-07-28 post GLSL: Add option to force flattening IO blocks. Created with: roll-dep third_party/spirv-cross Roll third_party/spirv-headers/ 979924c8b..3fdabd0da (4 commits)979924c8bc..3fdabd0da2
$ git log 979924c8b..3fdabd0da --date=short --no-merges --format='%ad %ae %s' 2020-08-03 44190824+mmerecki Reserve SPIR-V token range for upcoming Intel extensions. (#165) 2020-07-29 alanbaker Update BUILD.bazel and BUILD.gn (#166) 2020-07-29 alanbaker Publish the headers for the clspv embedded reflection non-semantic extended instruction set (#164) 2020-07-29 johnkslang Update the registry in spir-v.xml to modernize and split out opcodes. (#156) Created with: roll-dep third_party/spirv-headers Roll third_party/SPIRV-Tools/ 150be20d4..8bc27a1cf (17 commits)150be20d43..8bc27a1cfb
$ git log 150be20d4..8bc27a1cf --date=short --no-merges --format='%ad %ae %s' 2020-08-04 vasniktel spirv-fuzz: Remove OpFunctionCall operands in correct order (#3630) 2020-08-04 vasniktel spirv-fuzz: Handle capabilities during module donation (#3651) 2020-08-04 vasniktel spirv-fuzz: Refactor boilerplate in TransformationAddParameter (#3625) 2020-08-03 vasniktel spirv-fuzz: TransformationMoveInstructionDown (#3477) 2020-07-31 jaebaek Remove DebugDeclare only for target variables in ssa-rewrite (#3511) 2020-07-31 vasniktel Fix typo in ASAN CI build (#3623) 2020-07-30 stefanomil spirv-fuzz: Transformation to add loop preheader (#3599) 2020-07-30 stefanomil spirv-fuzz: Pass to replace int operands with ints of opposite signedness (#3612) 2020-07-30 jaebaek Debug info preservation in loop-unroll pass (#3548) 2020-07-30 alanbaker Validator support for non-semantic clspv reflection (#3618) 2020-07-30 vasniktel spirv-fuzz: Fix memory bugs (#3622) 2020-07-29 andreperezmaselco.developer spirv-fuzz: Implement the OpOuterProduct linear algebra case (#3617) 2020-07-30 vasniktel spirv-fuzz: Compute corollary facts from OpBitcast (#3538) 2020-07-29 dj2 Update some language usage. (#3611) 2020-07-29 vasniktel spirv-fuzz: Relax type constraints in DataSynonym facts (#3602) 2020-07-29 vasniktel spirv-fuzz: Remove non-deterministic behaviour (#3608) 2020-07-29 afdx Avoid use of 'sanity' and 'sanity check' in the code base (#3585) Created with: roll-dep third_party/SPIRV-Tools Roll third_party/tint/ c5cd8f5bd..f18d737b4 (26 commits) https://dawn.googlesource.com/tint/+log/c5cd8f5bd382..f18d737b4e93 $ git log c5cd8f5bd..f18d737b4 --date=short --no-merges --format='%ad %ae %s' 2020-08-04 rharrison Rolling 7 dependencies and fix BUILD.gn 2020-07-30 dsinclair [ast] Add texture types to the AST. 2020-07-30 dsinclair Add SamplerType to AST. 2020-07-30 dsinclair [hlsl-writer] Add loop support. 2020-07-30 dsinclair [hlsl-writer] Add if/else statements. 2020-07-30 dsinclair [hlsl-writer] Emit variable declarations. 2020-07-30 rharrison Add SPIR-V Reader Fuzzer 2020-07-30 rharrison Remove _exe suffix from sample program 2020-07-30 rharrison Change the default for BUILD.gn to build all the modules 2020-07-30 rharrison Simplify fuzzer targets to ease adding additional targets 2020-07-30 dsinclair Fixup build warnings 2020-07-30 dsinclair [wgsl-reader] Add stride support. 2020-07-30 dsinclair [wgsl-writer] Emit array stride decoration. 2020-07-30 idanr Add BlockStatement insert and non-const global_variables 2020-07-30 sarahmashay [Validator] Using pointers instead of refs 2020-07-29 dsinclair [hlsl-writer] Add member accessor emission. 2020-07-29 dsinclair [hlsl-writer] Add AsExpression to the HLSL backend. 2020-07-29 dsinclair [hlsl-writer] Add BlockStatement support. 2020-07-29 dsinclair [hlsl-writer] Emit discard. 2020-07-29 dsinclair [hlsl-writer] Emit array accessors. 2020-07-29 dsinclair [hlsl-writer] Add alias type support. 2020-07-29 dsinclair [hlsl-writer] Add constructor emission. 2020-07-29 dsinclair Add hlsl writer tests to BUILD.gn 2020-07-29 dsinclair [hlsl-writer] Add type emission. 2020-07-29 dsinclair Update some language usage. 2020-07-29 dneto [spirv-reader] Only support column-major matrices Created with: roll-dep third_party/tint Change-Id: I68064a00fb428d91aa00efa45f729bab1af2b103 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/26281 Reviewed-by: Ryan Harrison <rharrison@chromium.org> Reviewed-by: Austin Eng <enga@chromium.org> Commit-Queue: Ryan Harrison <rharrison@chromium.org>
186 lines
6.1 KiB
Python
186 lines
6.1 KiB
Python
use_relative_paths = True
|
|
|
|
gclient_gn_args_file = 'build/config/gclient_args.gni'
|
|
gclient_gn_args = [
|
|
'mac_xcode_version',
|
|
]
|
|
|
|
vars = {
|
|
'chromium_git': 'https://chromium.googlesource.com',
|
|
'dawn_git': 'https://dawn.googlesource.com',
|
|
'github_git': 'https://github.com',
|
|
'swiftshader_git': 'https://swiftshader.googlesource.com',
|
|
|
|
'dawn_standalone': True,
|
|
|
|
# This can be overridden, e.g. with custom_vars, to download a nonstandard
|
|
# Xcode version in build/mac_toolchain.py instead of downloading the
|
|
# prebuilt pinned revision.
|
|
'mac_xcode_version': 'default',
|
|
}
|
|
|
|
deps = {
|
|
# Dependencies required to use GN/Clang in standalone
|
|
'build': {
|
|
'url': '{chromium_git}/chromium/src/build@b8f14c09b76ae3bd6edabe45105527a97e1e16bd',
|
|
'condition': 'dawn_standalone',
|
|
},
|
|
'buildtools': {
|
|
'url': '{chromium_git}/chromium/src/buildtools@eb3987ec709b39469423100c1e77f0446890e059',
|
|
'condition': 'dawn_standalone',
|
|
},
|
|
'tools/clang': {
|
|
'url': '{chromium_git}/chromium/src/tools/clang@d027d75e8dd91140115a4cc9c7c3598c44bbf634',
|
|
'condition': 'dawn_standalone',
|
|
},
|
|
'tools/clang/dsymutil': {
|
|
'packages': [
|
|
{
|
|
'package': 'chromium/llvm-build-tools/dsymutil',
|
|
'version': 'M56jPzDv1620Rnm__jTMYS62Zi8rxHVq7yw0qeBFEgkC',
|
|
}
|
|
],
|
|
'condition': 'checkout_mac or checkout_ios',
|
|
'dep_type': 'cipd',
|
|
},
|
|
|
|
# Testing, GTest and GMock
|
|
'testing': {
|
|
'url': '{chromium_git}/chromium/src/testing@e5ced5141379ee8ae28b4f93d3c02df039d2b052',
|
|
'condition': 'dawn_standalone',
|
|
},
|
|
'third_party/googletest': {
|
|
'url': '{chromium_git}/external/github.com/google/googletest@a09ea700d32bab83325aff9ff34d0582e50e3997',
|
|
'condition': 'dawn_standalone',
|
|
},
|
|
|
|
# Jinja2 and MarkupSafe for the code generator
|
|
'third_party/jinja2': {
|
|
'url': '{chromium_git}/chromium/src/third_party/jinja2@b41863e42637544c2941b574c7877d3e1f663e25',
|
|
'condition': 'dawn_standalone',
|
|
},
|
|
'third_party/markupsafe': {
|
|
'url': '{chromium_git}/chromium/src/third_party/markupsafe@8f45f5cfa0009d2a70589bcda0349b8cb2b72783',
|
|
'condition': 'dawn_standalone',
|
|
},
|
|
|
|
# SPIRV-Cross
|
|
'third_party/spirv-cross': {
|
|
'url': '{chromium_git}/external/github.com/KhronosGroup/SPIRV-Cross@82d1c43e408510793a73a0886b5998283ee84d7b',
|
|
'condition': 'dawn_standalone',
|
|
},
|
|
|
|
# SPIRV compiler dependencies: SPIRV-Tools, SPIRV-headers, glslang and shaderc
|
|
'third_party/SPIRV-Tools': {
|
|
'url': '{chromium_git}/external/github.com/KhronosGroup/SPIRV-Tools@8bc27a1cfbc19a9fb0cf244fab693ad8909659e5',
|
|
'condition': 'dawn_standalone',
|
|
},
|
|
'third_party/spirv-headers': {
|
|
'url': '{chromium_git}/external/github.com/KhronosGroup/SPIRV-Headers@3fdabd0da2932c276b25b9b4a988ba134eba1aa6',
|
|
'condition': 'dawn_standalone',
|
|
},
|
|
'third_party/glslang': {
|
|
'url': '{chromium_git}/external/github.com/KhronosGroup/glslang@2de6d657dde37a421ff8afb1bd820d522df5821d',
|
|
'condition': 'dawn_standalone',
|
|
},
|
|
'third_party/shaderc': {
|
|
'url': '{chromium_git}/external/github.com/google/shaderc@c626b912dc4568867b29c5b221df6aac75390ab5',
|
|
'condition': 'dawn_standalone',
|
|
},
|
|
|
|
# WGSL support
|
|
'third_party/tint': {
|
|
'url': '{dawn_git}/tint@f18d737b4e9318a1817126852edb6cc596ff1f5e',
|
|
'condition': 'dawn_standalone',
|
|
},
|
|
|
|
# GLFW for tests and samples
|
|
'third_party/glfw': {
|
|
'url': '{chromium_git}/external/github.com/glfw/glfw@d973acc123826666ecc9e6fd475682e3d84c54a6',
|
|
'condition': 'dawn_standalone',
|
|
},
|
|
|
|
# Dependencies for samples: GLM
|
|
'third_party/glm': {
|
|
'url': '{github_git}/g-truc/glm.git@bf71a834948186f4097caa076cd2663c69a10e1e',
|
|
'condition': 'dawn_standalone',
|
|
},
|
|
|
|
# Khronos Vulkan headers, validation layers and loader.
|
|
'third_party/vulkan-headers': {
|
|
'url': '{chromium_git}/external/github.com/KhronosGroup/Vulkan-Headers@4c079bf40c2587220dbf157d825d3185c9adc896',
|
|
'condition': 'dawn_standalone',
|
|
},
|
|
'third_party/vulkan-validation-layers': {
|
|
'url': '{chromium_git}/external/github.com/KhronosGroup/Vulkan-ValidationLayers@e8b96e86fe2edfaee274b98fbbe1bd65579b0904',
|
|
'condition': 'dawn_standalone',
|
|
},
|
|
'third_party/vulkan-loader': {
|
|
'url': '{chromium_git}/external/github.com/KhronosGroup/Vulkan-Loader@006586926adece57adea3e006140b5df19826371',
|
|
'condition': 'dawn_standalone',
|
|
},
|
|
|
|
'third_party/swiftshader': {
|
|
'url': '{swiftshader_git}/SwiftShader@e8dd233c7a85f3c689caf06c226a7f8405a480d3',
|
|
'condition': 'dawn_standalone',
|
|
},
|
|
|
|
}
|
|
|
|
hooks = [
|
|
# Pull the compilers and system libraries for hermetic builds
|
|
{
|
|
'name': 'sysroot_x86',
|
|
'pattern': '.',
|
|
'condition': 'checkout_linux and ((checkout_x86 or checkout_x64) and dawn_standalone)',
|
|
'action': ['python', 'build/linux/sysroot_scripts/install-sysroot.py',
|
|
'--arch=x86'],
|
|
},
|
|
{
|
|
'name': 'sysroot_x64',
|
|
'pattern': '.',
|
|
'condition': 'checkout_linux and (checkout_x64 and dawn_standalone)',
|
|
'action': ['python', 'build/linux/sysroot_scripts/install-sysroot.py',
|
|
'--arch=x64'],
|
|
},
|
|
{
|
|
# Update the Windows toolchain if necessary. Must run before 'clang' below.
|
|
'name': 'win_toolchain',
|
|
'pattern': '.',
|
|
'condition': 'checkout_win and dawn_standalone',
|
|
'action': ['python', 'build/vs_toolchain.py', 'update', '--force'],
|
|
},
|
|
{
|
|
# Note: On Win, this should run after win_toolchain, as it may use it.
|
|
'name': 'clang',
|
|
'pattern': '.',
|
|
'action': ['python', 'tools/clang/scripts/update.py'],
|
|
'condition': 'dawn_standalone',
|
|
},
|
|
{
|
|
# Pull rc binaries using checked-in hashes.
|
|
'name': 'rc_win',
|
|
'pattern': '.',
|
|
'condition': 'checkout_win and (host_os == "win" and dawn_standalone)',
|
|
'action': [ 'download_from_google_storage',
|
|
'--no_resume',
|
|
'--no_auth',
|
|
'--bucket', 'chromium-browser-clang/rc',
|
|
'-s', 'build/toolchain/win/rc/win/rc.exe.sha1',
|
|
],
|
|
},
|
|
# Update build/util/LASTCHANGE.
|
|
{
|
|
'name': 'lastchange',
|
|
'pattern': '.',
|
|
'condition': 'dawn_standalone',
|
|
'action': ['python', 'build/util/lastchange.py',
|
|
'-o', 'build/util/LASTCHANGE'],
|
|
},
|
|
]
|
|
|
|
recursedeps = [
|
|
# buildtools provides clang_format, libc++, and libc++abi
|
|
'buildtools',
|
|
]
|