mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-07-14 00:56:05 +00:00
https://swiftshader.googlesource.com/SwiftShader/+log/df17a76102df..4a304244dd86 $ git log df17a7610..4a304244d --date=short --no-merges --format='%ad %ae %s' 2021-05-27 mikko.tiusanen Skip wait on already signalled timeline semaphore 2021-06-02 jari.komppa Remove assert to enable indexless access chains 2021-06-17 sugoi Increase maximum framebuffer size 2021-06-15 pkasting Fix -Wdeprecated-copy. 2021-06-15 capn Disable -warn-stack-size for LLVM older than version 12 2021-06-15 capn Regres: Fix testing external contributions if reviewed by Googler 2021-06-10 nicolascapens Revert "Remove git submodules before rolling into Android" 2021-06-07 srisser Prevent BC6h decoder from using global constructor 2021-06-08 swiftshader.regress Regres: Update test lists @ 3da42a3a 2021-06-07 swiftshader.regress Regres: Update test lists @ efe254de 2021-06-03 capn Remove git submodules before rolling into Android 2021-02-20 capn Value-initialize all vk::GraphicsState members 2021-05-20 capn Explicitly initialize VkSpecializationInfo fields 2021-05-31 srisser Make clang-format-all.sh only look at source files 2021-05-27 srisser Pass unclamped fragcoord.z to shader 2021-05-29 capn Regres: Roll dEQP to 1.2.6-master revision 8010f59 2021-05-29 swiftshader.regress Regres: Update test lists @ 21f81124 2021-05-26 capn Regres: Use 'default' dEQP target and skip GLES daily tests 2021-05-27 srisser Update git-hooks to latest revision 2021-05-27 capn Marl: Suppress MemorySanitizer false-positive 2021-05-25 srisser Bring git-hooks in as a submodule 2021-05-26 capn Regres: Recursively load chunked mustpass lists 2021-05-25 chonggu Update references for ANGLE submodule 2021-05-22 swiftshader.regress Regres: Update test lists @ cbfa971a 2021-05-20 johnstiles Revert "Fix error in mat4x2(scalar) construction." 2021-01-29 capn Update llvm::ConstantVector::getSplat() usage to take ElementCount 2021-05-18 srisser Make fragDepth clamping conditional 2021-05-20 swiftshader.regress Regres: Update test lists @ bbe1b996 2021-05-19 johnstiles Fix error in mat4x2(scalar) construction. 2021-05-18 srisser Remove assert on unrestricted depth range 2021-05-10 srisser Fix EmitImageWrite using wrong active lane mask 2021-05-10 capn Update Android build files with license info 2021-05-14 capn Unpoison Reactor Call() arguments when MSan instrumentation is disabled 2021-05-13 capn Update Vulkan headers to version 1.2.178 2021-05-12 capn Work around MemorySanitizer scalar SSE false positives 2021-05-12 capn Work around MemorySanitizer movmsk false positives 2021-05-11 swiftshader.regress Regres: Update test lists @ dcb33711 2021-05-07 srisser Allow unrestricted depth bounds 2021-05-05 srisser Make clang-format-all.sh git aware 2021-05-07 sugoi Reduce size of SampledImageDescriptor 2021-05-07 sugoi Obtain all sampler parameters through SamplingRoutineCache::Key 2021-05-06 swiftshader.regress Regres: Update test lists @ 04c037ac 2021-05-06 sugoi Revert "Obtain all sampler parameters through SamplingRoutineCache::Key" 2021-04-09 srisser Implement depthClamp 2021-04-19 srisser Implement VK_EXT_depth_clip_enable 2021-02-19 sugoi Obtain all sampler parameters through SamplingRoutineCache::Key 2021-02-16 sugoi Obtain ImageView state uniquely from its identifier 2021-04-28 sugoi Silence warning for MacOS 2019-12-13 capn Format switch statements consistently 2021-04-20 capn Fix pedantic Clang warning/error (...) 2020-11-02 capn Implement MemorySanitizer instrumentation of Reactor routines 2020-08-25 nicolascapens Fix backslash interpreted as part of URL 2020-10-26 srisser Implement VK_KHR_shader_float_controls 2020-11-10 amaiorano Subzero: clang-format crosstest, pnacl-llvm, runtime, and unittest 2020-11-10 amaiorano Subzero: clang-format src 2020-11-02 capn Fix LLVM host triple for ORCv2 JIT 2020-11-11 srisser Add SPIR-V tools dependency to BUILD.gn files 2020-11-10 natsu Fix Android build 2020-11-06 amaiorano Add a unit test for bug fixed by swiftshader-cl/50008 2020-11-09 srisser Track SPIR-V version in VkConfig.hpp 2019-04-24 vhau Modify gralloc0 implementation 2020-11-05 jaebaek SpirvShaderDebugger: Correct member index for DebugValue 2020-11-05 capn Fix Android.bp build after SPIRV-Tools update 2020-11-04 amaiorano Subzero: fix invalid arg access on Windows x86 for split variables 2020-11-03 amaiorano Subzero: fix non-deterministic stack layout and code-gen 2020-11-05 srisser Squashed 'third_party/SPIRV-Tools/' changes from f7da52775..a61d07a72 2020-11-04 capn Fix Vulkan benchmarks build 2020-10-02 capn Fix unaligned access on depth values 2020-11-02 capn Fix LLVM alloca array size type 2020-11-02 capn Resolve MSan symbols dynamically 2020-11-02 capn Switch Chromium/Fuchsia to use the LLVM ORCv2 JIT 2020-11-03 nicolascapens Clarify the ICD/loader compatibility 2020-11-03 swiftshader.regress Regres: Update test lists @ b5bf8269 2020-11-03 capn Set LLVM_ENABLE_ABI_BREAKING_CHECKS for Debug builds only 2020-10-30 jari.komppa Add script to verify proper Memset template use 2020-11-02 capn Set the LLVM module's target triple 2020-10-30 capn Consistently remove double colon from llvm namespace 2020-10-30 capn Emulate gather/scatter for MSan builds 2020-10-30 capn Prevent 'most vexing parse' issue 2020-11-02 sugoi Squashed 'third_party/SPIRV-Tools/' changes from 82b378d671..f7da527757 2020-10-23 amaiorano Subzero: fix Ice::BitVector::grow not copying old to new data 2020-10-30 jari.komppa Ignore third party libraries during presubmit 2020-10-28 jari.komppa Add check for vtable in memset template 2020-10-29 sugoi Squashed 'third_party/SPIRV-Tools/' changes from 8a5500656..82b378d67 2020-10-29 sugoi Squashed 'third_party/SPIRV-Headers/' changes from 979924c8b..7845730ca 2020-10-23 capn Fix LLVM pointer element type 2020-10-29 capn Avoid false-positive MSan error for thread_local 2020-10-29 capn Squashed 'third_party/marl/' changes from f1c446ccd..3285a2dfb 2020-10-28 capn Temporarily support both ORCv1 and ORCv2 2020-10-26 amaiorano Apply google3 upstream fixes for latest LLVM 2020-10-22 amaiorano LLVMJIT: fix asserts in latest LLVM 2020-10-08 capn Support MemorySanitizer builds with CMake 2020-10-15 srisser Implement VK_KHR_shader_subgroup_extended_types 2020-10-19 srisser Update VkStringify to use vulkan.hpp to_string 2020-10-21 bclayton LLVMJIT: Fix memory leak 2020-10-10 natsu Update SwiftShader VK AHB to support generic gralloc 2020-10-21 amaiorano Fix when built against latest LLVM (11) 2020-10-20 amaiorano Fix Android build 2020-10-19 amaiorano Subzero: workaround bad codegen for Windows x86 at Om1 optimization level 2020-10-19 bclayton LLVM: Replace legacy ORC JIT with new API TBR=kainino@chromium.org Created with: roll-dep third_party/swiftshader Change-Id: I2be40936d266442f76e88092b806bd7d74c35257 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/55242 Reviewed-by: Corentin Wallez <cwallez@chromium.org> Commit-Queue: Corentin Wallez <cwallez@chromium.org>
237 lines
7.6 KiB
Python
237 lines
7.6 KiB
Python
use_relative_paths = True
|
|
|
|
gclient_gn_args_file = 'build/config/gclient_args.gni'
|
|
|
|
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,
|
|
}
|
|
|
|
deps = {
|
|
# Dependencies required to use GN/Clang in standalone
|
|
'build': {
|
|
'url': '{chromium_git}/chromium/src/build@ea192b29d26f84e94910791c1eeb89d24c063dd0',
|
|
'condition': 'dawn_standalone',
|
|
},
|
|
'buildtools': {
|
|
'url': '{chromium_git}/chromium/src/buildtools@69cc9b8a3ae010e0721c4bea12de7a352d9a93f9',
|
|
'condition': 'dawn_standalone',
|
|
},
|
|
'buildtools/clang_format/script': {
|
|
'url': '{chromium_git}/external/github.com/llvm/llvm-project/clang/tools/clang-format.git@99803d74e35962f63a775f29477882afd4d57d94',
|
|
'condition': 'dawn_standalone',
|
|
},
|
|
|
|
'buildtools/linux64': {
|
|
'packages': [{
|
|
'package': 'gn/gn/linux-amd64',
|
|
'version': 'git_revision:dfcbc6fed0a8352696f92d67ccad54048ad182b3',
|
|
}],
|
|
'dep_type': 'cipd',
|
|
'condition': 'dawn_standalone and host_os == "linux"',
|
|
},
|
|
'buildtools/mac': {
|
|
'packages': [{
|
|
'package': 'gn/gn/mac-${{arch}}',
|
|
'version': 'git_revision:dfcbc6fed0a8352696f92d67ccad54048ad182b3',
|
|
}],
|
|
'dep_type': 'cipd',
|
|
'condition': 'dawn_standalone and host_os == "mac"',
|
|
},
|
|
'buildtools/win': {
|
|
'packages': [{
|
|
'package': 'gn/gn/windows-amd64',
|
|
'version': 'git_revision:dfcbc6fed0a8352696f92d67ccad54048ad182b3',
|
|
}],
|
|
'dep_type': 'cipd',
|
|
'condition': 'dawn_standalone and host_os == "win"',
|
|
},
|
|
|
|
'buildtools/third_party/libc++/trunk': {
|
|
'url': '{chromium_git}/external/github.com/llvm/llvm-project/libcxx.git@8fa87946779682841e21e2da977eccfb6cb3bded',
|
|
'condition': 'dawn_standalone',
|
|
},
|
|
|
|
'buildtools/third_party/libc++abi/trunk': {
|
|
'url': '{chromium_git}/external/github.com/llvm/llvm-project/libcxxabi.git@6918862bfc2bff22b45058fac22b1596c49982fb',
|
|
'condition': 'dawn_standalone',
|
|
},
|
|
|
|
'tools/clang': {
|
|
'url': '{chromium_git}/chromium/src/tools/clang@24cecabb89512de31a1083308b237420651a835c',
|
|
'condition': 'dawn_standalone',
|
|
},
|
|
'tools/clang/dsymutil': {
|
|
'packages': [{
|
|
'package': 'chromium/llvm-build-tools/dsymutil',
|
|
'version': 'M56jPzDv1620Rnm__jTMYS62Zi8rxHVq7yw0qeBFEgkC',
|
|
}],
|
|
'condition': 'dawn_standalone and (checkout_mac or checkout_ios)',
|
|
'dep_type': 'cipd',
|
|
},
|
|
|
|
# Testing, GTest and GMock
|
|
'testing': {
|
|
'url': '{chromium_git}/chromium/src/testing@3e2640a325dc34ec3d9cb2802b8da874aecaf52d',
|
|
'condition': 'dawn_standalone',
|
|
},
|
|
'third_party/googletest': {
|
|
'url': '{chromium_git}/external/github.com/google/googletest@2828773179fa425ee406df61890a150577178ea2',
|
|
'condition': 'dawn_standalone',
|
|
},
|
|
|
|
# Jinja2 and MarkupSafe for the code generator
|
|
'third_party/jinja2': {
|
|
'url': '{chromium_git}/chromium/src/third_party/jinja2@a82a4944a7f2496639f34a89c9923be5908b80aa',
|
|
'condition': 'dawn_standalone',
|
|
},
|
|
'third_party/markupsafe': {
|
|
'url': '{chromium_git}/chromium/src/third_party/markupsafe@0944e71f4b2cb9a871bcbe353f95e889b64a611a',
|
|
'condition': 'dawn_standalone',
|
|
},
|
|
|
|
# WGSL support
|
|
'third_party/tint': {
|
|
'url': '{dawn_git}/tint@e55e2109b33b4cc0e93083327c328eee71c63dca',
|
|
},
|
|
|
|
# GLFW for tests and samples
|
|
'third_party/glfw': {
|
|
'url': '{chromium_git}/external/github.com/glfw/glfw@94773111300fee0453844a4c9407af7e880b4df8',
|
|
'condition': 'dawn_standalone',
|
|
},
|
|
|
|
# Dependencies for samples: GLM
|
|
'third_party/glm': {
|
|
'url': '{github_git}/g-truc/glm.git@bf71a834948186f4097caa076cd2663c69a10e1e',
|
|
'condition': 'dawn_standalone',
|
|
},
|
|
|
|
'third_party/vulkan_memory_allocator': {
|
|
'url': '{chromium_git}/external/github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator@1ecb35c39875c77219c75ecb5c5b3316020f66b8',
|
|
'condition': 'dawn_standalone',
|
|
},
|
|
|
|
'third_party/angle': {
|
|
'url': '{chromium_git}/angle/angle@835bcb1e27f12cd55bbbdfb0cca2479f7f4b51de',
|
|
'condition': 'dawn_standalone',
|
|
},
|
|
|
|
'third_party/swiftshader': {
|
|
'url': '{swiftshader_git}/SwiftShader@4a304244dd8639e528a677ccb10fe34bac963014',
|
|
'condition': 'dawn_standalone',
|
|
},
|
|
|
|
'third_party/vulkan-deps': {
|
|
'url': '{chromium_git}/vulkan-deps@3d799e0e9b08dc14a3efa2e130d288f6ca33d3d0',
|
|
'condition': 'dawn_standalone',
|
|
},
|
|
|
|
'third_party/zlib': {
|
|
'url': '{chromium_git}/chromium/src/third_party/zlib@c29ee8c9c3824ca013479bf8115035527967fe02',
|
|
'condition': 'dawn_standalone',
|
|
},
|
|
}
|
|
|
|
hooks = [
|
|
# Pull the compilers and system libraries for hermetic builds
|
|
{
|
|
'name': 'sysroot_x86',
|
|
'pattern': '.',
|
|
'condition': 'dawn_standalone and checkout_linux and (checkout_x86 or checkout_x64)',
|
|
'action': ['python', 'build/linux/sysroot_scripts/install-sysroot.py',
|
|
'--arch=x86'],
|
|
},
|
|
{
|
|
'name': 'sysroot_x64',
|
|
'pattern': '.',
|
|
'condition': 'dawn_standalone and checkout_linux and checkout_x64',
|
|
'action': ['python', 'build/linux/sysroot_scripts/install-sysroot.py',
|
|
'--arch=x64'],
|
|
},
|
|
{
|
|
# Update the Mac toolchain if possible, this makes builders use "hermetic XCode" which is
|
|
# is more consistent (only changes when rolling build/) and is cached.
|
|
'name': 'mac_toolchain',
|
|
'pattern': '.',
|
|
'condition': 'dawn_standalone and checkout_mac',
|
|
'action': ['python', 'build/mac_toolchain.py'],
|
|
},
|
|
{
|
|
# Update the Windows toolchain if necessary. Must run before 'clang' below.
|
|
'name': 'win_toolchain',
|
|
'pattern': '.',
|
|
'condition': 'dawn_standalone and checkout_win',
|
|
'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': 'dawn_standalone and checkout_win and host_os == "win"',
|
|
'action': [ 'download_from_google_storage',
|
|
'--no_resume',
|
|
'--no_auth',
|
|
'--bucket', 'chromium-browser-clang/rc',
|
|
'-s', 'build/toolchain/win/rc/win/rc.exe.sha1',
|
|
],
|
|
},
|
|
# Pull clang-format binaries using checked-in hashes.
|
|
{
|
|
'name': 'clang_format_win',
|
|
'pattern': '.',
|
|
'condition': 'dawn_standalone and host_os == "win"',
|
|
'action': [ 'download_from_google_storage',
|
|
'--no_resume',
|
|
'--no_auth',
|
|
'--bucket', 'chromium-clang-format',
|
|
'-s', 'buildtools/win/clang-format.exe.sha1',
|
|
],
|
|
},
|
|
{
|
|
'name': 'clang_format_mac',
|
|
'pattern': '.',
|
|
'condition': 'dawn_standalone and host_os == "mac"',
|
|
'action': [ 'download_from_google_storage',
|
|
'--no_resume',
|
|
'--no_auth',
|
|
'--bucket', 'chromium-clang-format',
|
|
'-s', 'buildtools/mac/clang-format.sha1',
|
|
],
|
|
},
|
|
{
|
|
'name': 'clang_format_linux',
|
|
'pattern': '.',
|
|
'condition': 'dawn_standalone and host_os == "linux"',
|
|
'action': [ 'download_from_google_storage',
|
|
'--no_resume',
|
|
'--no_auth',
|
|
'--bucket', 'chromium-clang-format',
|
|
'-s', 'buildtools/linux64/clang-format.sha1',
|
|
],
|
|
},
|
|
# Update build/util/LASTCHANGE.
|
|
{
|
|
'name': 'lastchange',
|
|
'pattern': '.',
|
|
'condition': 'dawn_standalone',
|
|
'action': ['python', 'build/util/lastchange.py',
|
|
'-o', 'build/util/LASTCHANGE'],
|
|
},
|
|
]
|
|
|
|
recursedeps = [
|
|
'third_party/vulkan-deps',
|
|
]
|