CMake-only fork of https://dawn.googlesource.com/dawn with cleaned, vendored dependencies
Go to file
Corentin Wallez bc245fcdef Roll third_party/swiftshader/ df17a7610..4a304244d (330 commits)
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>
2021-06-18 13:26:40 +00:00
.vscode .vscode/tasks.json: Implement tasks for Windows 2021-03-24 13:08:41 +00:00
build_overrides Use .gn to set overrides for VulkanMemoryAllocator 2021-04-06 16:54:19 +00:00
docs docs/contributing.md: Explain how to start a review. 2021-06-01 16:08:22 +00:00
examples Omit types in most WGSL `var` statements. 2021-06-17 21:36:11 +00:00
generator WireCmd: disallow optional members with length="otherMember" 2021-06-17 16:04:29 +00:00
infra/config Revert "Enable Tint running Dawn try jobs on its CQ" 2021-06-14 17:32:52 +00:00
scripts Disable OpenGLES in uwp compilation. 2021-05-31 08:46:21 +00:00
src Suppress ShaderRobustnessPerf when using Tint + FXC 2021-06-18 08:52:12 +00:00
third_party Remove the dependency on shaderc and glslang. 2021-03-24 16:02:13 +00:00
tools/memory/asan Fix is_asan build (at least on Mac) 2020-04-06 22:27:02 +00:00
.clang-format Add .clang-format 2017-11-28 16:18:39 -05:00
.gitattributes Add .gitattributes to normalize EOL 2019-07-15 12:23:18 +00:00
.gitignore Remove the dependency on shaderc and glslang. 2021-03-24 16:02:13 +00:00
.gn Use .gn to set overrides for VulkanMemoryAllocator 2021-04-06 16:54:19 +00:00
AUTHORS Rename NXT -> Dawn in the comments 2018-07-18 22:54:06 +02:00
BUILD.gn GN: add a default build target 2021-02-02 17:03:30 +00:00
CMakeLists.txt Remove the dependency on shaderc and glslang. 2021-03-24 16:02:13 +00:00
DEPS Roll third_party/swiftshader/ df17a7610..4a304244d (330 commits) 2021-06-18 13:26:40 +00:00
DIR_METADATA Move metadata in OWNERS files to DIR_METADATA files 2021-02-04 01:26:43 +00:00
LICENSE Initial commit of all the NXT integration. 2017-04-20 14:38:20 -04:00
OWNERS Move metadata in OWNERS files to DIR_METADATA files 2021-02-04 01:26:43 +00:00
PRESUBMIT.py Use canned CheckPatchFormatted instead of our own linting 2020-07-15 20:47:57 +00:00
README.chromium Add component to OWNERS and fixup repo URL in README.chromium 2018-09-25 20:53:37 +00:00
README.md Add docs/contributing.md 2021-04-21 18:05:01 +00:00
codereview.settings codereview.setings: default to not squashing on git cl upload 2021-03-10 18:35:58 +00:00
dawn.json WireCmd: disallow optional members with length="otherMember" 2021-06-17 16:04:29 +00:00
dawn_wire.json ComputePipelineDescriptor.computeStage->compute 2021-06-09 18:07:32 +00:00

README.md

Dawn, a WebGPU implementation

Dawn is an open-source and cross-platform implementation of the work-in-progress WebGPU standard. More precisely it implements webgpu.h that is a one-to-one mapping with the WebGPU IDL. Dawn is meant to be integrated as part of a larger system and is the underlying implementation of WebGPU in Chromium.

Dawn provides several WebGPU building blocks:

  • WebGPU C/C++ headers that applications and other building blocks use.
    • The webgpu.h version that Dawn implements.
    • A C++ wrapper for the webgpu.h.
  • A "native" implementation of WebGPU using platforms' GPU APIs:
    • D3D12 on Windows 10
    • Metal on macOS and iOS
    • Vulkan on Windows, Linux, ChromeOS, Android and Fuchsia
    • OpenGL as best effort where available
  • A client-server implementation of WebGPU for applications that are in a sandbox without access to native drivers

Helpful links:

Documentation table of content

Developer documentation:

User documentation: (TODO, figure out what overlaps with the webgpu.h docs)

Status

(TODO)

License

Apache 2.0 Public License, please see LICENSE.

Disclaimer

This is not an officially supported Google product.