mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-07-05 12:46:11 +00:00
Roll third_party/glslang/ 9eef54b25..3ee5f2f1d (11 commits)9eef54b251..3ee5f2f1d3
$ git log 9eef54b25..3ee5f2f1d --date=short --no-merges --format='%ad %ae %s' 2020-07-22 greg Update spirv-tools known-good to most recent stable 2020-07-19 vkushwaha Add changes for SPV_EXT_shader_atomic_float_add 2020-07-14 bclayton Limit visibility of symbols for internal libraries 2020-07-20 john SPV: Update to the latest SPIR-V headers. 2020-07-14 bclayton Deprecate InitializeDll functions 2020-07-14 bclayton Simplify PoolAlloc with use of thread_local. 2020-07-14 malcolm also search global variables assignment for live variables 2020-07-20 bclayton Drop support for VS2013 2020-07-20 bclayton Start glslang 11.0.0 2020-07-20 bclayton Finalize glslang 10.15.3847 2020-07-20 bclayton build_info: Fix parsing of versions with no flavor Created with: roll-dep third_party/glslang Roll third_party/shaderc/ 6af6e6255..cfacaaffd (10 commits; 1 trivial rolls)6af6e62557..cfacaaffd1
$ git log 6af6e6255..cfacaaffd --date=short --no-merges --format='%ad %ae %s' 2020-07-28 tommek Adding support for the additional fixed sample mask in MSL (#1120) 2020-07-27 rharrison Rolling 2 dependencies and updating expectations (#1121) 2020-07-14 rharrison Clean up issues discovered by Infer 2020-07-23 dneto Start shaderc v2020.3 development 2020-07-23 dneto Finalize shaderc v2020.2 2020-07-23 dneto Update CHANGES 2020-07-23 dneto Use the non-posix MinGW compiler as fallback (#1117) 2020-07-22 dneto glslc: Add -mfmt=wgsl output format option (#1110) 2020-07-20 rharrison Roll 5 dependencies and update expectations (#1111) Created with: roll-dep third_party/shaderc Roll third_party/spirv-cross/ 6575e451f..0376576d2 (5 commits)6575e451f5..0376576d2d
$ git log 6575e451f..0376576d2 --date=short --no-merges --format='%ad %ae %s' 2020-07-22 tommek Enabling setting a fixed sampleMask in Metal fragment shaders. 2020-02-20 cdavis MSL: Add support for processing more than one patch per workgroup. 2020-07-22 dsinclair Roll GLSLang, SPIRV-Headers and SPIRV-Tools. 2020-07-22 cdavis MSL: Factor creating a uint type into its own method. 2020-07-22 cdavis MSL: Factor a really gnarly condition into its own method. Created with: roll-dep third_party/spirv-cross Roll third_party/spirv-headers/ 7f2ae1193..979924c8b (1 commit)7f2ae1193a..979924c8bc
$ git log 7f2ae1193..979924c8b --date=short --no-merges --format='%ad %ae %s' 2020-07-21 alanbaker Support SPV_KHR_terminate_invocation (#163) Created with: roll-dep third_party/spirv-headers Roll third_party/SPIRV-Tools/ c10d6cebb..150be20d4 (34 commits)c10d6cebbc..150be20d43
$ git log c10d6cebb..150be20d4 --date=short --no-merges --format='%ad %ae %s' 2020-07-27 andreperezmaselco.developer spirv-fuzz: Add condition to make functions livesafe (#3587) 2020-07-27 rharrison Rolling 4 dependencies (#3601) 2020-07-27 andreperezmaselco.developer spirv-fuzz: Implement the OpTranspose linear algebra case (#3589) 2020-07-27 rdb Fix SyntaxWarning in Python 3.8 (#3388) 2020-07-27 bclayton CMake: Enable building with BUILD_SHARED_LIBS=1 (#3490) 2020-07-27 dneto Avoid operand type range checks (#3379) 2020-07-27 jaebaek Preserve debug info in scalar replacement pass (#3461) 2020-07-27 pierremoreau Update OpenCL capabilities validation (#3149) 2020-07-27 stevenperron build(deps): bump lodash from 4.17.15 to 4.17.19 in /tools/sva (#3596) 2020-07-27 antonikarp spirv-fuzz: adds TransformationReplaceLoadStoreWithCopyMemory (#3586) 2020-07-27 jaebaek Preserve OpenCL.DebugInfo.100 through private-to-local pass (#3571) 2020-07-27 stefanomil spirv-fuzz: Relax type checking for int contants (#3573) 2020-07-27 stefanomil spirv-fuzz: Generalise transformation access chain (#3546) 2020-07-27 stefanomil spirv-fuzz: Split blocks starting with OpPhi before trying to outline (#3581) 2020-07-27 afdx spirv-fuzz: Set message consumer in replayer when shrinking (#3591) 2020-07-24 vasniktel spirv-fuzz: Don't use default parameters (#3583) 2020-07-23 rharrison Change DEPS rolling script to point at external/ (#3584) 2020-07-23 vasniktel spirv-fuzz: Create a helper in fuzzerutil to reuse function type (#3572) 2020-07-23 vasniktel spirv-fuzz: Test usages of IdIsIrrelevant fact (#3578) 2020-07-23 antonikarp spirv-fuzz: adds TransformationReplaceCopyMemoryWithLoadStore (#3575) 2020-07-23 antonikarp spirv-fuzz: adds TransformationReplaceCopyObjectWithStoreLoad (#3567) 2020-07-22 stevenperron Start SPIRV-Tools v2020.5 2020-07-22 stevenperron Finalize SPIRV-Tools v2020.4 2020-07-22 vasniktel spirv-fuzz: Fix usages of irrelevant constants (#3566) 2020-07-22 stevenperron Update CHANGES 2020-07-22 alanbaker Support SPV_KHR_terminate_invocation (#3568) 2020-07-22 stevenperron Sink pointer instructions in merge return (#3569) 2020-07-21 greg Preserve OpenCL.DebugInfo.100 through elim-dead-code-aggressive (#3542) 2020-07-21 vasniktel spirv-fuzz: TransformationReplaceParamsWithStruct (#3455) 2020-07-21 38144211+vkushwaha-nv Add changes for SPV_EXT_shader_atomic_float (#3562) 2020-07-21 vasniktel spirv-fuzz: Use irrelevant constants (#3565) 2020-07-21 stefanomil spirv-fuzz: Extend TransformationRecordSynonymousConstants to allow composite constants (#3537) 2020-07-21 vasniktel spirv-fuzz: Add is_irrelevant parameter (#3563) 2020-07-20 vasniktel spirv-fuzz: Add IdIsIrrelevant fact (#3561) Created with: roll-dep third_party/SPIRV-Tools Roll third_party/tint/ 18c85f52e..e8c12f32f (53 commits) https://dawn.googlesource.com/tint/+log/18c85f52e482..e8c12f32f9a9 $ git log 18c85f52e..e8c12f32f --date=short --no-merges --format='%ad %ae %s' 2020-07-27 dsinclair Remove StatementList. 2020-07-27 dsinclair [spirv-reader] Update to create BlockStatements 2020-07-27 dsinclair [wgsl-reader] Update to create BlockStatements 2020-07-27 dsinclair Convert LoopStatement to use BlockStatement. 2020-07-27 dsinclair Convert IfStatement and ElseStatement to use BlockStatement. 2020-07-27 dsinclair Convert CaseStatement to use BlockStatement. 2020-07-27 dsinclair Convert Function to use BlockStatement. 2020-07-27 dsinclair [spirv-writer] Add BlockStatement emission. 2020-07-27 dsinclair [msl-writer] Emit BlockStatement. 2020-07-27 dsinclair [wgsl-writer] Add emission of BlockStatement. 2020-07-27 dsinclair [ast] Add BlockStatement 2020-07-25 dsinclair [msl-writer] Emit intrinsics. 2020-07-25 dsinclair Remove KillStatement 2020-07-25 dsinclair [spirv-reader] Convert from KillStatement to DiscardStatement 2020-07-25 dsinclair [wgsl-reader] Add `discard` parsing. 2020-07-25 dsinclair [wgsl-writer] Add DiscardStatement support 2020-07-25 dsinclair [msl-writer] Emit DiscardStatement. 2020-07-25 dsinclair [spirv-writer] Add DiscardStatement support. 2020-07-25 dsinclair [ast] Add DiscardStatement AST node. 2020-07-24 sarahmashay [validation] Add a disabled test for re-assigning a constant. 2020-07-24 dsinclair Fixup some doc and compile issues. 2020-07-23 sarahmashay [validation] implement invalidate assignment to a different type. 2020-07-23 dsinclair Handle review feedback. 2020-07-23 dsinclair Add simple test runner. 2020-07-22 rharrison Fix BUILD.gn builds 2020-07-22 dsinclair [msl-writer] Only emit in/out structs if function call requires. 2020-07-22 rharrison Add usage of main from chromium when part of a chromium build 2020-07-22 dsinclair Add return to simple test 2020-07-22 sarahmashay [validation] Add a disabled test for assignment statement. 2020-07-22 dneto [spirv-reader] Support OpAny, OpAll, OpIsInf, OpIsNan 2020-07-21 dsinclair [spirv-writer] Emit select intrinsic. 2020-07-21 dsinclair Add type determination for the select intrinsic. 2020-07-21 dneto [spirv-reader] Add README.md 2020-07-21 dneto [spirv-reader] Support function call returning void 2020-07-21 dj2 [hlsl-writer] Add assignment statement. 2020-07-21 dj2 [hlsl-writer] Add switch statement support 2020-07-21 dj2 [hlsl-writer] Emit case statements. 2020-07-21 dj2 [hlsl-writer] Emit unary operators. 2020-07-21 dj2 [hlsl-writer] Emit break, return and continue. 2020-07-21 dsinclair [hlsl-writer] Add binary operator emission. 2020-07-21 dsinclair Parse void function call. 2020-07-21 dsinclair [hlsl-writer] Add emission of identifiers 2020-07-21 dj2 Emit call statements from the various backends. 2020-07-21 dj2 Type determine the call statement. 2020-07-21 dj2 Add a call ast statement. 2020-07-21 dneto [spirv-reader] Support select over scalars and vectors 2020-07-20 dneto Add missing Doxygen comments on two methods. 2020-07-20 dneto [spirv-reader] Support function calls, except returning void 2020-07-20 dsinclair [hlsl-writer] Scaffold the HLSL backend. 2020-07-20 dsinclair [msl-writer] Emit storage buffers. 2020-07-20 dsinclair [msl-writer] Add import emission. 2020-07-20 dneto [spirv-reader] Drop NonWritable NonReadable for now 2020-07-20 rharrison Fix issues with BUILD.gn Created with: roll-dep third_party/tint Change-Id: Ica53a9561d8161667b3d9ca013aa8b0bdf6afc96 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/25880 Reviewed-by: Corentin Wallez <cwallez@chromium.org> Commit-Queue: Tomek Ponitka <tommek@google.com>
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@0376576d2dc0721edfb2c5a0257fdc275f6f39dc',
|
|
'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@150be20d4334b66c31a8ed81230f85b814b14a9f',
|
|
'condition': 'dawn_standalone',
|
|
},
|
|
'third_party/spirv-headers': {
|
|
'url': '{chromium_git}/external/github.com/KhronosGroup/SPIRV-Headers@979924c8bc839e4cb1b69d03d48398551f369ce7',
|
|
'condition': 'dawn_standalone',
|
|
},
|
|
'third_party/glslang': {
|
|
'url': '{chromium_git}/external/github.com/KhronosGroup/glslang@3ee5f2f1d3316e228916788b300d786bb574d337',
|
|
'condition': 'dawn_standalone',
|
|
},
|
|
'third_party/shaderc': {
|
|
'url': '{chromium_git}/external/github.com/google/shaderc@cfacaaffd1fea5b413443a3b7c2f827c858de6bf',
|
|
'condition': 'dawn_standalone',
|
|
},
|
|
|
|
# WGSL support
|
|
'third_party/tint': {
|
|
'url': '{dawn_git}/tint@e8c12f32f9a9517100f819f5bce35ad8d6e0bc78',
|
|
'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',
|
|
]
|