mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-06-05 06:03:34 +00:00
Roll third_party/SPIRV-Tools/ 0cbdc7a2c..5a581e738 (8 commits)0cbdc7a2c3..5a581e738c
$ git log 0cbdc7a2c..5a581e738 --date=short --no-merges --format='%ad %ae %s' 2019-08-29 bclayton spvtools::Optimizer - don't assume original_binary and optimized_binary are aliased (#2799) 2019-08-28 stevenperron Check feature mgr in context consistency check (#2818) 2019-08-26 stevenperron Refactor instruction folders (#2815) 2019-08-23 8729214+jonahryandavis Add missing files to BUILD.gn (#2809) 2019-08-22 afdx Extend reducer to remove relaxed precision decorations (#2797) 2019-08-22 stevenperron Handle Id overflow in private-to-local (#2807) 2019-08-21 stevenperron Even more id overflow in sroa (#2806) 2019-08-21 stevenperron Add name for variables in desc sroa (#2805) Roll third_party/glslang/ 95609e6d9..796df2d74 (35 commits)95609e6d92..796df2d74e
$ git log 95609e6d9..796df2d74 --date=short --no-merges --format='%ad %ae %s' 2019-08-28 rharrison Change to initializing the variable 2019-08-28 rharrison Return nullptr after assert to avoid uninitialized variables 2019-08-28 cepheus ESSL/SPV: Fix #1856: Allow ESSL shaders to compile to OpenGL SPIR-V. 2019-08-28 cepheus Documentation: Provide more detail in setting up the environment. 2019-08-27 cwallez BUILD.gn: Add missing HLSL files. 2019-08-26 cwallez GN build (for Chromium): enable HLSL in dependents. 2019-08-26 baldurk Dereference any array type before expanding root-level SSBO members 2019-08-23 dneto GN build (for Chromium): enable HLSL 2019-08-22 jbolz GL_NV_integer_cooperative_matrix support 2019-08-22 cepheus Bump revision. 2019-08-22 cepheus GLSL: Inherit memory qualifiers, both declaratively and in execution. 2019-08-22 jonahr Fix conformance with -Wextra-tokens 2019-08-21 cepheus Bump version. 2019-08-21 cepheus web: Fix accidental additon of refract() prototypes and update README. 2019-08-13 cepheus Web: Turn off includes, independent preprocessing path, fine tune all. 2019-08-11 cepheus Web: Make switched methods all be non-virtual, more web-dependent code, 2019-08-10 cepheus Web: Optional error management and error tightening. 2019-08-09 cepheus Web: Use isEsProfile() instead of run-time testing; remove more atomics 2019-08-08 cepheus Web: Remove unused stage functionality, SPIR-V logger, and hex_utils 2019-08-08 cepheus Web: Remove unnecessary GLSL numeric types, and some collateral. 2019-08-08 cepheus Web: Tighten up sampling code and interfaces. 2019-08-07 cepheus Web: Complete the removal of vendor-specific #ifdef's, including CMake. 2019-08-06 cepheus Web: Prune grammar and lexor down to needed subset. 2019-08-06 cepheus Web: Generalize _EXTENSIONS* in SPIR-V back-end. 2019-08-06 cepheus Web: Turn off bracket-style attributes, reflection, and IO mapping. 2019-08-01 cepheus Web: Remove/rationalize a set of *_EXTENSIONS, using GLSLANG_WEB. 2019-07-31 cepheus Web: First pass of tabling the built-in function declarations. 2019-07-28 cepheus Web: Selectively remove a few key features, using #ifndef GLSLANG_WEB 2019-07-27 cepheus Web: Change a bunch of HLSL methods from dynamic to compile-time known. 2019-07-27 cepheus Web: Remove a few additional HLSL constructs with ENABLE_HLSL. 2019-07-26 cepheus Web: Add sanity check test suite for smaller-footprint builds. 2019-08-20 cepheus Bump revision. 2019-08-14 kainino convert_glsl_to_spirv: fail early, reduce copies, remove input buffer allocation 2019-07-25 kainino make glslang.js easy to use 2019-08-14 kainino enable build for node Roll third_party/shaderc/ 210fac890..f4786674e (10 commits)210fac8904..f4786674e3
$ git log 210fac890..f4786674e --date=short --no-merges --format='%ad %ae %s' 2019-08-28 zoddicus Seperate non-API spvc code into private source file (#794) 2019-08-27 zoddicus Rolling 7 dependencies and updating known_failures (#791) 2019-08-27 zoddicus Add ToVulkan API methods (#792) 2019-08-27 zoddicus Refactor internals of conversion API to be more modular (#785) 2019-08-25 dneto Remove extra semi-colons (#790) 2019-08-23 dneto GN build: enable HLSL in Glslang (#789) 2019-08-22 9856269+sarahM0 spvc: Add option to inject code to enforce robust-buffer-access 2019-08-21 dneto Force Glslang to support HLSL in its interface (#784) 2019-08-21 zoddicus Fix some Python2 vs 3 issues in update_build_version.py (#783) 2019-08-20 zoddicus Manually cast fuzzing data to avoid new GCC warning (#782) Roll third_party/spirv-cross/ 4ce04480e..ee7357f2a (11 commits)4ce04480ec..ee7357f2a6
$ git log 4ce04480e..ee7357f2a --date=short --no-merges --format='%ad %ae %s' 2019-08-29 post MSL: Add {Base,}{Vertex,Instance}Index to bitcast_from_builtin_load. 2019-08-02 cdavis GLSL: Fix post-depth coverage for ESSL. 2019-08-28 post Run format_all.sh. 2019-08-27 post GLSL: Assume image and sampler can be RelaxedPrecision. 2019-08-27 post MSL: Deal with array copies from and to threadgroup. 2019-08-27 post Do not allow base expressions for non-native row-major matrices. 2019-08-27 post Deal with ldexp taking uint input. 2019-08-26 post Move branchless analysis to CFG. 2019-08-26 post Elide branches to continue block when continue block is also a merge. 2019-08-26 post Deal correctly with sign on bitfield operations. 2019-08-26 post Fix variable scope when switch block exits multiple times. Roll third_party/spirv-headers/ e4322e3be..059a49598 (1 commit)e4322e3be5..059a49598c
$ git log e4322e3be..059a49598 --date=short --no-merges --format='%ad %ae %s' 2019-06-12 cepheus Grammar: Add instruction-printing classes. Created with: roll-dep third_party/SPIRV-Tools third_party/glslang third_party/shaderc third_party/spirv-cross third_party/spirv-headers Change-Id: Iaa7791ec4d7ed0c383ba19544e74e0281372495c Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/10660 Commit-Queue: Corentin Wallez <cwallez@chromium.org> Reviewed-by: Corentin Wallez <cwallez@chromium.org>
197 lines
6.4 KiB
Python
197 lines
6.4 KiB
Python
use_relative_paths = True
|
|
use_relative_hooks = True
|
|
|
|
vars = {
|
|
'chromium_git': 'https://chromium.googlesource.com',
|
|
'dawn_git': 'https://dawn.googlesource.com',
|
|
'github_git': 'https://github.com',
|
|
|
|
'dawn_standalone': True,
|
|
}
|
|
|
|
deps = {
|
|
# Dependencies required to use GN/Clang in standalone
|
|
'build': {
|
|
'url': '{chromium_git}/chromium/src/build@f3d0ca5f46b7b190dbbdc6be508ca11dd5c54302',
|
|
'condition': 'dawn_standalone',
|
|
},
|
|
'buildtools': {
|
|
'url': '{chromium_git}/chromium/src/buildtools@74cfb57006f83cfe050817526db359d5c8a11628',
|
|
'condition': 'dawn_standalone',
|
|
},
|
|
'tools/clang': {
|
|
'url': '{chromium_git}/chromium/src/tools/clang@3605577b67603ec5776afcfada9e0ff4ea05cf0e',
|
|
'condition': 'dawn_standalone',
|
|
},
|
|
'third_party/binutils': {
|
|
'url': '{chromium_git}/chromium/src/third_party/binutils@01aa7745b0bab64ae22600f09fd6483c60f22ebf',
|
|
'condition': 'dawn_standalone',
|
|
},
|
|
|
|
# Testing, GTest and GMock
|
|
'testing': {
|
|
'url': '{chromium_git}/chromium/src/testing@2ffbbb3c8e33d51ddb3cc6b8cd10588302c33628',
|
|
'condition': 'dawn_standalone',
|
|
},
|
|
'third_party/googletest': {
|
|
'url': '{chromium_git}/external/github.com/google/googletest@5ec7f0c4a113e2f18ac2c6cc7df51ad6afc24081',
|
|
'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@ee7357f2a6a1a5539d238310b8595ac2abea9367',
|
|
'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@5a581e738c1763af89fdede98422a22df050041d',
|
|
'condition': 'dawn_standalone',
|
|
},
|
|
'third_party/spirv-headers': {
|
|
'url': '{chromium_git}/external/github.com/KhronosGroup/SPIRV-Headers@059a49598c3c8e4113a67aebd93a0c2b973754de',
|
|
'condition': 'dawn_standalone',
|
|
},
|
|
'third_party/glslang': {
|
|
'url': '{chromium_git}/external/github.com/KhronosGroup/glslang@796df2d74e05a8ad52bf830786b6e716014a2384',
|
|
'condition': 'dawn_standalone',
|
|
},
|
|
'third_party/shaderc': {
|
|
'url': '{chromium_git}/external/github.com/google/shaderc@f4786674e39803adb0d4be4d58955306f22d4621',
|
|
'condition': 'dawn_standalone',
|
|
},
|
|
|
|
# GLFW for tests and samples
|
|
'third_party/glfw': {
|
|
'url': '{chromium_git}/external/github.com/glfw/glfw@2de2589f910b1a85905f425be4d32f33cec092df',
|
|
'condition': 'dawn_standalone',
|
|
},
|
|
|
|
# Dependencies for samples: GLM
|
|
'third_party/glm': {
|
|
'url': '{github_git}/g-truc/glm.git@06f084063fd6d9aa2ef6904517650700ae47b63d',
|
|
'condition': 'dawn_standalone',
|
|
},
|
|
|
|
# Our own pre-compiled Linux clang-format 7.0 for presubmit
|
|
'third_party/clang-format': {
|
|
'url': '{dawn_git}/clang-format@2451c56cd368676cdb230fd5ad11731ab859f1a3',
|
|
'condition': 'dawn_standalone and checkout_linux',
|
|
},
|
|
}
|
|
|
|
hooks = [
|
|
# Pull clang-format binaries using checked-in hashes.
|
|
{
|
|
'name': 'clang_format_win',
|
|
'pattern': '.',
|
|
'condition': 'host_os == "win" and dawn_standalone',
|
|
'action': [ 'download_from_google_storage',
|
|
'--no_resume',
|
|
'--platform=win32',
|
|
'--no_auth',
|
|
'--bucket', 'chromium-clang-format',
|
|
'-s', 'buildtools/win/clang-format.exe.sha1',
|
|
],
|
|
},
|
|
{
|
|
'name': 'clang_format_mac',
|
|
'pattern': '.',
|
|
'condition': 'host_os == "mac" and dawn_standalone',
|
|
'action': [ 'download_from_google_storage',
|
|
'--no_resume',
|
|
'--platform=darwin',
|
|
'--no_auth',
|
|
'--bucket', 'chromium-clang-format',
|
|
'-s', 'buildtools/mac/clang-format.sha1',
|
|
],
|
|
},
|
|
{
|
|
'name': 'clang_format_linux',
|
|
'pattern': '.',
|
|
'condition': 'host_os == "linux" and dawn_standalone',
|
|
'action': [ 'download_from_google_storage',
|
|
'--no_resume',
|
|
'--platform=linux*',
|
|
'--no_auth',
|
|
'--bucket', 'chromium-clang-format',
|
|
'-s', 'buildtools/linux64/clang-format.sha1',
|
|
],
|
|
},
|
|
|
|
# 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',
|
|
],
|
|
},
|
|
# Pull binutils for linux hermetic builds
|
|
{
|
|
'name': 'binutils',
|
|
'pattern': 'src/third_party/binutils',
|
|
'condition': 'host_os == "linux"',
|
|
'action': [
|
|
'python',
|
|
'third_party/binutils/download.py',
|
|
],
|
|
},
|
|
# Update build/util/LASTCHANGE.
|
|
{
|
|
'name': 'lastchange',
|
|
'pattern': '.',
|
|
'action': ['python', 'build/util/lastchange.py',
|
|
'-o', 'build/util/LASTCHANGE'],
|
|
},
|
|
]
|
|
|
|
recursedeps = [
|
|
# buildtools provides clang_format, libc++, and libc++abi
|
|
'buildtools',
|
|
]
|