mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-05-13 10:51:35 +00:00
Suppress a couple failing tests cause by Swiftshader's fast resolve algorithm. https://swiftshader.googlesource.com/SwiftShader/+log/2014e7b9290e..df17a76102df $ git log 2014e7b92..df17a7610 --date=short --no-merges --format='%ad %ae %s' 2020-10-15 srisser Make abort on LOG_TRAP opt-in 2020-10-16 cwallez MetalSurface: correctly handle the window resizing. 2020-10-05 amaiorano Add unit tests for arithmetic ops with constant args 2018-02-01 eholk Handle mul instructions with two immediates on x86-32 and x86-64 2020-10-14 natsu Revert "Revert "Update virlg_hw path to reflect Minigbm"" 2020-09-10 sugoi Fix CommandPool memory management 2020-10-12 bclayton SpirvShaderDebugger: Improve stepping for inlined functions 2020-10-10 natsu Revert "Update virlg_hw path to reflect Minigbm" 2020-10-10 swiftshader.regress Regres: Update test lists @ 139f5c35 2020-10-08 natsu Update virlg_hw path to reflect Minigbm 2020-09-19 capn Fix depth bias calculations 2020-10-08 capn Move interpolant clamping out of interpolate() 2020-10-08 bclayton SpirvShaderDebugger: Fix store() of arrays 2020-10-08 bclayton SpirvShaderDebugger: Improve ASSERT() messages 2020-10-07 bclayton SpirvShaderDebugger: Have Function inherit LexicalBlock 2020-09-30 capn Remove float division-by-zero prevention 2020-10-05 srisser Replace WARN with a LOG_TRAP 2020-10-05 srisser Reflect VK_KHR_create_renderpass2 being core 2020-10-05 zzyiwei Update Vulkan headers to version 1.2.156 2020-10-05 capn Regres: limit the number of GL tests opening X connections 2020-10-03 bclayton CMake: Add flag for controlling the logging level 2020-10-03 bclayton third_party/cppdap: Roll forward to 1fd23dda 2020-10-02 nicolascapens Regres: List regressions before summary 2020-09-16 vantablack Added support for AndroidHardwareBuffer 2020-10-02 bclayton Squashed 'third_party/marl/' changes from d29553a3730..f1c446ccdc0 2020-09-30 zzyiwei Use vndk/window.h instead of the system one 2020-10-01 swiftshader.regress Regres: Update test lists @ 5e947ada 2020-09-30 capn Fix clamping cube face coordinates to [0.0, 1.0) range 2020-09-30 nicolascapens Fix delegating eglCreateWindowSurface to CreatePlatformWindowSurface 2020-09-30 amaiorano Fix GN build 2020-09-18 amaiorano Optimize transcendentals for Subzero 2020-09-18 caramelli.devel EGL_KHR_platform_x11: wrong implementation in CreatePlatformWindowSurface() 2020-08-01 caramelli.devel Add DirectFB support for Vulkan WSI 2020-09-16 srisser Add VK_KHR_imageless_framebuffer 2020-09-22 bclayton SpirvShaderDebugger: Mark II 2020-09-25 bclayton Vulkan/Debug: Support Locations as hashmap keys 2020-09-28 bclayton System/Types: Add support for vec3 2020-09-28 bclayton Pipeline: Remove hack to disable spirv-opt when debugging 2020-09-25 bclayton Vulkan/Debug: Add Context::Lock::findFile() 2020-09-25 bclayton src/Pipeline: Misc fixes 2020-09-25 bclayton Vulkan/Debug: Various fixes / improvements to Thread 2020-09-25 bclayton Vulkan/Debug: Don't accumulate function breakpoints 2020-09-25 bclayton Vulkan/Debug: Overhaul Values / Variables 2020-09-25 bclayton Vulkan/Debug: Assert on locking context twice on same thread 2020-09-25 bclayton Vulkan/Debug: Add File::getBreakpoints() 2020-09-25 bclayton Vulkan/Debug: Split EventListener 2020-09-25 bclayton Pipeline: Fix return type of SIMD::Pointer::limit() 2020-09-25 bclayton Pipeline: Assign to SpirvRoutine::pointCoord 2020-09-24 sdefresne Explicitly filter assigments to sources variable 2020-09-23 egranata Fix a linker problem with ARM/thumb compatibility 2020-09-17 srisser Implement VK_KHR_image_format_list 2020-09-11 hidehiko Expand is_linux to is_linux || is_chromeos. 2020-04-08 natsu Support Gralloc4 in SwiftShader 2020-09-14 swiftshader.regress Regres: Update test lists @ dc552fce 2020-09-11 amaiorano CMake: normalize FOLDER property for third_party targets 2020-09-14 bclayton SpirvShaderDebugger: Add PRINT_EACH_DEFINED_DBG_INSTRUCTION 2020-09-14 bclayton SpirvShaderDebugger: Implement DebugValue 2020-09-14 bclayton SpirvShaderDebugger: Reduce lock contention 2020-09-11 capn Drop the float literal suffix 2020-09-01 jaebaek Allow OpTypeVoid for debug function return type 2020-09-09 sugoi Update PowerVR Samples to ToT 2020-09-08 capn Fix register assignment for constant arrays 2020-09-08 capn Fix component swizzle for uniform texel buffers 2020-09-08 sugoi Allow alphaToCoverage with a single sample 2020-08-26 capn Regres: Roll dEQP to latest tip-of-tree 2020-09-03 capn Don't assert on component swizzle matching identity 2020-07-29 caramelli.devel Minor change in detachImage() for Xcb, Xlib, Wayland WSIs 2020-08-06 sugoi DescriptorPool error fix 2020-09-02 sugoi Only use clang specific directives when clang is used 2020-08-26 capn Skip texel address sample offset if zero 2020-09-01 srisser Fix enum-hashing build error on Ubuntu 16.04 2020-09-01 capn Fix undefined behavior in minifloat conversion 2020-08-21 capn Add unit test for 11/10-bit minifloat denormal underflow 2020-09-01 capn Assert multisample resolve has equal input and output formats 2020-08-25 jaebaek Handle OpenCL.DebugInfo.100 DebugOperation 2020-08-25 jaebaek Handle DebugGlobalVariable using DebugInfoNone 2020-08-26 capn Optimize multisample resolve with SSE2 instructions 2020-08-26 capn Add a fast multisample resolve code path 2020-08-26 capn Make multisample resolve a Blitter method Created with: roll-dep third_party/swiftshader Change-Id: Ib2bd1b2c5109cc4278de388fab612418e6b1c640 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/30441 Reviewed-by: Austin Eng <enga@chromium.org> Reviewed-by: Stephen White <senorblanco@chromium.org> Commit-Queue: Corentin Wallez <cwallez@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@c10077be589bfb5151ebcd923928898a89ab33b8',
|
|
'condition': 'dawn_standalone',
|
|
},
|
|
'buildtools': {
|
|
'url': '{chromium_git}/chromium/src/buildtools@ff93f3ea1a7f033d3caf8f60ec1937cc71351419',
|
|
'condition': 'dawn_standalone',
|
|
},
|
|
'tools/clang': {
|
|
'url': '{chromium_git}/chromium/src/tools/clang@fcef86e30a0ab061b982b5c9d91bb060df8f5269',
|
|
'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@8891bd35120ca91c252a66ccfdc3f9a9d03c70cd',
|
|
'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@60ce96e2ff10677c52ee5892519cb74d078d1592',
|
|
'condition': 'dawn_standalone',
|
|
},
|
|
'third_party/spirv-headers': {
|
|
'url': '{chromium_git}/external/github.com/KhronosGroup/SPIRV-Headers@060627f0b0d2fa8581b5acb939f46e3b9e500593',
|
|
'condition': 'dawn_standalone',
|
|
},
|
|
'third_party/glslang': {
|
|
'url': '{chromium_git}/external/github.com/KhronosGroup/glslang@4dcc12d1a441b29d5901bc708bb1343d29d6459f',
|
|
'condition': 'dawn_standalone',
|
|
},
|
|
'third_party/shaderc': {
|
|
'url': '{chromium_git}/external/github.com/google/shaderc@011139094ec790ff7f32ea2d80286255fc9ed18b',
|
|
'condition': 'dawn_standalone',
|
|
},
|
|
|
|
# WGSL support
|
|
'third_party/tint': {
|
|
'url': '{dawn_git}/tint@7156d3e3140b361c34503e518fa078bd0189981f',
|
|
'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@ced848d699b5673a7df900bcfe0b1a6ba9e989ce',
|
|
'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@d846ea5a2427eb0119cf98288aa337eced10edbd',
|
|
'condition': 'dawn_standalone',
|
|
},
|
|
|
|
'third_party/swiftshader': {
|
|
'url': '{swiftshader_git}/SwiftShader@df17a76102dfabb3f1bd6e51449cece9f77b45e3',
|
|
'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',
|
|
]
|