mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-09-11 05:23:57 +00:00
https://swiftshader.googlesource.com/SwiftShader/+log/d25ce8725224..f6f11215cd93 $ git log d25ce8725..f6f11215c --date=short --no-merges --format='%ad %ae %s' 2020-07-01 capn Implement shaderStorageImageExtendedFormats support 2020-07-05 capn Implement scatter/gather for 1- and 2-byte texels 2020-07-01 capn Fix float-to-half conversion 2020-07-03 capn Eliminate large image specialization 2020-06-24 capn Refactor texel buffer reads 2020-06-24 capn Implement SNORM uniform texel buffer support 2020-06-24 capn Implement B10G11R11_UFLOAT_PACK32 uniform texel buffer support 2020-07-02 sugoi ASTC Decoder: Trim unused struct members 2020-07-02 capn Fix /DEBUG:FASTLINK usage 2020-06-30 pcc Start reserving x18 by default on Android targets. 2020-06-25 srisser Fix debug assert from happening in release build 2020-06-10 capn Optimize clearing of depth and stencil images 2020-06-25 thakis mac: Add ARM64 support to swiftshader. 2020-06-22 amaiorano Kokoro: add builds with REACTOR_EMIT_DEBUG_INFO and REACTOR_EMIT_PRINT_LOCATION 2020-06-22 amaiorano Fix build when ENABLE_RR_DEBUG_INFO enabled 2020-06-22 amaiorano Make Windows Kokoro script less verbose 2020-06-22 cwallez Revert "Optimize clearing of depth and stencil images" 2020-06-11 capn Assert attachment format supports blending when blending is enabled 2020-06-10 capn Optimize copying image data for presentation 2020-06-10 capn Optimize clearing of depth and stencil images 2020-06-01 capn Assert reserved binding entries aren't accessed 2020-05-12 capn Optimize out-of-bounds checks with unsigned compare 2020-05-07 capn Replace instead of add pointer offsets when out of bounds 2020-06-15 capn Add a benchmark with multisampling enabled 2020-06-15 capn Refactor multisample benchmark support 2020-06-11 capn Implement multisample support for the triangle benchmark 2020-06-17 capn Don't assert thread_local initialization 2020-06-11 capn Ignore rasterization state pointers when rasterization is disabled 2020-06-11 capn Zero-initialize the context state and data 2020-06-15 sugoi Cleanup: using the proper Image subregion structure 2020-06-16 bclayton Squashed 'third_party/marl/' changes from 5c6c1532220..d29553a3730 2020-06-16 bclayton Squashed 'third_party/marl/' changes from c5127112545..5c6c1532220 2020-06-09 bclayton SpirvShaderDebugger: Show vector elements as xyzw 2020-06-09 bclayton SpirvShaderDebugger: Add a virtual destructor 2020-06-15 bclayton Squashed 'third_party/marl/' changes from 38c0c7a0f..c51271125 2020-06-15 bclayton Repoint marl branch from master to main 2020-06-15 bclayton SubzeroReactor: Use new marl::Scheduler::Config API. 2020-06-10 amaiorano Make rr::Print output to debugger and be stubbed 2020-06-10 sugoi Regres: Roll deqp forward to latest 1.2.1 2020-06-04 capn Validate the SPIR-V code in debug builds 2020-06-05 capn Add a triangle rendering benchmark 2020-06-10 capn Add glslang dependency to VulkanBenchmarks 2020-06-10 capn Add glslang as a submodule 2020-06-05 capn Move CMake build targets for PowerVR samples before unit tests 2020-06-01 capn Add microbenchmarks for vkCmdClear*Image 2020-06-04 capn Add back vulkan.hpp 2020-06-01 caio.oliveira Convert Vulkan headers from CRLF to LF endings 2020-06-02 ari.suonpaa Add Z mirroring support for image blit. 2020-05-26 vantablack Added reference counting for PipelineLayout objects 2020-06-02 bclayton libVulkan: Use new marl::Scheduler::Config API. (...) 2020-05-01 amaiorano Regres: use Subzero backend by default 2020-04-30 bclayton Squashed 'third_party/marl/' changes from 748d3c161..3c643dd4c 2020-04-30 bclayton Vulkan/Debug: Don't step for column updates 2020-04-30 bclayton Vulkan/Debug: Fix build with clang-10. 2020-04-12 bclayton Device: Use std::unique_ptr instead of raw pointers 2020-04-09 amaiorano CMake: add graphviz generation scripts 2020-04-29 jrprice Fix null dereference in OFFSET macro 2020-04-29 capn Fix JIT on separate thread 2020-04-28 capn Avoid implicitly destructing thread-locals 2020-04-27 amaiorano Eliminate use of Vulkan header BEGIN_RANGE/END_RANGE/RANGE_SIZE enums 2020-04-27 amaiorano Run clang-format on renamed headers 2020-04-27 amaiorano Rename Vulkan-source .h to .hpp 2020-04-27 bclayton ReactorUnitTests: Speed up multithreaded tests 2020-04-22 capn Eliminate the ABORT() macro 2020-04-24 capn Record vkCmdBindDescriptorSets() as a single command 2020-04-23 capn Store binding information in the pipeline layout 2020-04-22 capn Don't expose individual descriptor set layouts to SPIR-V compilation 2020-04-23 capn Fix ordering of descriptor set bindings 2020-04-24 bclayton SpirvShader: Document activeLaneMask() and storesAndAtomicsMask() 2020-04-24 capn Omit ASSERT() expression evaluation in Release builds 2020-04-23 bclayton SpirvShaderDebugger: Ensure frames are fully popped 2020-04-23 bclayton SpirvShaderDebugger: Implement globals, stub array types 2020-04-22 bclayton SpirvShader: Add WriteCFGGraphVizDotFile debug function 2020-04-21 pcc Don't unlock Android buffers immediately after locking them. 2020-04-20 digit LLVM: Do not map read-only data sections as executable. 2020-04-17 digit Vulkan: Add vk_icdInitializeConnectToServiceCallback() 2020-04-23 amaiorano Kokoro: fix SWIFTSHADER_LESS_DEBUG_INFO not being set 2020-04-22 digit Update tests/presubmit.sh to accept Fuchsia bugs as fxb/# 2020-04-22 capn Fix specializing graphics routines for the pipeline layout 2019-05-15 bclayton SpirvShader: Add a flag for printing SPIRV execution 2020-04-17 bclayton Regres: Write logs to /dev/null 2020-04-20 amaiorano CMake: use target_compile_options/definitions for llvm 2020-04-20 amaiorano CMake: use target_link_options 2020-04-20 amaiorano CMake: require version 3.13 2020-04-20 amaiorano Kokoro: update CMake to latest version 2020-04-17 bclayton Regres: Limit the default number of threads to 100 2020-04-15 capn Pass only descriptor data to shader execution 2020-04-16 capn Reduce descriptor binding info exposure 2020-04-22 bclayton Kokoro: Fix ubuntu bots. 2020-04-17 digit Vulkan: Fix Fuchsia external semaphore fix tryWait(). 2020-04-21 amaiorano CMake: fix astc code not being enabled correctly 2020-04-20 capn Don't use deprecated llvm::Type::getVectorNumElements() 2020-04-17 capn Fix JIT on separate thread 2020-04-03 bclayton Use Thread Safety Analysis annotations throughout SwiftShader. 2020-04-17 digit CMakeLists: Fix Fuchsia build. 2019-07-01 bclayton LLVMReactor: Drop codegenMutex, now thread safe. 2020-04-17 bclayton LLVMJIT: Remove the TargetMachine cache. 2020-04-17 bclayton LLVM 7: Set LLVM_ENABLE_THREADS to 1 2020-04-17 bclayton SpirvShader: Fix ASSERT firing in debugger 2020-04-17 bclayton Squashed 'third_party/marl/' changes from 539094011..748d3c161 Created with: roll-dep third_party/swiftshader TBR=enga@chromium.org Bug: None Change-Id: I9c71f3e1810f0515ba5958cf18c9d31f0b3b40cd Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/24441 Reviewed-by: Corentin Wallez <cwallez@chromium.org> Commit-Queue: Corentin Wallez <cwallez@chromium.org>
235 lines
7.7 KiB
Python
235 lines
7.7 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',
|
|
'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@896323eeda1bd1b01156b70625d5e14de225ebc3',
|
|
'condition': 'dawn_standalone',
|
|
},
|
|
'buildtools': {
|
|
'url': '{chromium_git}/chromium/src/buildtools@2c41dfb19abe40908834803b6fed797b0f341fe1',
|
|
'condition': 'dawn_standalone',
|
|
},
|
|
'tools/clang': {
|
|
'url': '{chromium_git}/chromium/src/tools/clang@698732d5db36040c07d5cc5f9137fcc943494c11',
|
|
'condition': 'dawn_standalone',
|
|
},
|
|
'third_party/binutils': {
|
|
'url': '{chromium_git}/chromium/src/third_party/binutils@f9ce777698a819dff4d6a033b31122d91a49b62e',
|
|
'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@2e7a5625835380857e785716efd8b2720bf2c84a',
|
|
'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@52a5f074e9bb6712487653cf360771e98a1ebe97',
|
|
'condition': 'dawn_standalone',
|
|
},
|
|
'third_party/spirv-headers': {
|
|
'url': '{chromium_git}/external/github.com/KhronosGroup/SPIRV-Headers@11d7637e7a43cd88cfd4e42c99581dcb682936aa',
|
|
'condition': 'dawn_standalone',
|
|
},
|
|
'third_party/glslang': {
|
|
'url': '{chromium_git}/external/github.com/KhronosGroup/glslang@839704450200e407490c538418f4d1a493b789ab',
|
|
'condition': 'dawn_standalone',
|
|
},
|
|
'third_party/shaderc': {
|
|
'url': '{chromium_git}/external/github.com/google/shaderc@f4025c1cd5c2146595d2c04d85de1f1b296431e7',
|
|
'condition': 'dawn_standalone',
|
|
},
|
|
|
|
# WGSL support
|
|
'third_party/tint': {
|
|
'url': '{dawn_git}/tint@0c647a8896d127ba2526f18ed034f48bb35c878a',
|
|
'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',
|
|
},
|
|
|
|
# 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',
|
|
},
|
|
|
|
# Khronos Vulkan headers, validation layers and loader.
|
|
'third_party/vulkan-headers': {
|
|
'url': '{chromium_git}/external/github.com/KhronosGroup/Vulkan-Headers@09531f27933bf04bffde9074acb302e026e8f181',
|
|
'condition': 'dawn_standalone',
|
|
},
|
|
'third_party/vulkan-validation-layers': {
|
|
'url': '{chromium_git}/external/github.com/KhronosGroup/Vulkan-ValidationLayers@31bdb2d4376919f5964dd8314dd2192810f08b36',
|
|
'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@f6f11215cd930f4609bc8714178ef0a4ec3ca26e',
|
|
'condition': 'dawn_standalone',
|
|
},
|
|
|
|
}
|
|
|
|
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" and dawn_standalone',
|
|
'action': [
|
|
'python',
|
|
'third_party/binutils/download.py',
|
|
],
|
|
},
|
|
# 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',
|
|
]
|