CMake-only fork of https://dawn.googlesource.com/dawn with cleaned, vendored dependencies
868efb9739
Regenerated: - expectations.txt - ts_sources.txt - test_list.txt - cache_list.txt - resource_files.txt - webtest .html files https: //chromium.googlesource.com/external/github.com/gpuweb/cts/+log/0557875f3982..3030a7bb2c69 - 3030a7 Implement `frexp` f32 tests (#2336) - 5be43e Implement `determinant` f32 tests (#2321) - 1c53bf Adds stale adapter tests (#2387) - 176741 Test destroyed buffers and textures on submit - 4bd39d Implement absolute error for `acos` intervals (#2372) - d56144 Implement absolute error for `asin` intervals (#2346) - 7e411f shader/execution: Flip eval order of assignment - e6edef shader/execution: Port evaluation order tests to flow_control - e45de6 Add isZeroCopy cases for ExternalTexture (#2338) - 6c2b83 shader/execution: Add more complex flow control tests - 8c8d89 Implement `bool` builtin tests (#2327) - d18b3a Implement `i32` builtin tests (#2379) - dfac60 Implement `u32` builtin tests (#2344) - 9179cd Test import GPUExternalTexture from destroyed device (#2351) - fb969c Sync keyword/reserved word list. (#2383) - 685049 Implement `f32` builtin tests (#2382) - 0e3229 shader/execution: Add 'preventValueOptimizations' case parameterization - ec5ad7 Start adding queue validation tests for buffers and textures - a1efad Put the same URL in all "Open" links (#2316) - f99f92 Updates max*BufferBindingSize limit tests to adhere to maxBufferSize (#2339) - d88504 Add validation tests on BGRA8Unorm canvas with StorageBinding usage (#2348) - 8d827d Add validation test for maxComputeXXX - e613a8 Rename maximumLimit to adapterLimit and related changes - 7b1df1 Update src/webgpu/api/validation/capability_checks/limits/maxBindingsPerBindGroup.spec.ts - 188203 Check maxBindingsPerBindGroup limit matches spec limits - a28619 Fix writable binding aliasing in webgpu:api,validation,resource_usages,texture,in_pass_encoder (#2341) - c54778 Fix wrong conditions and missing formats for maxAttachmentState tests. (#2343) - 6b01d8 Changes for depthWriteEnabled/depthCompare/depthClearValue being required (#2342) - b61662 Require npm >=8.5.2 (#2340) - 785335 Generate OOM error using createTexture (#2337) Change-Id: Iebefb8ee703437252e44040fd74310a52d079dc4 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/123660 Reviewed-by: Ben Clayton <bclayton@google.com> Commit-Queue: Austin Eng <enga@chromium.org> Kokoro: Kokoro <noreply+kokoro@google.com> |
||
---|---|---|
.vscode | ||
build_overrides | ||
docs | ||
generator | ||
include | ||
infra | ||
scripts | ||
src | ||
test | ||
third_party | ||
tools | ||
webgpu-cts | ||
.clang-format | ||
.clang-tidy | ||
.gitattributes | ||
.gitignore | ||
.gn | ||
AUTHORS | ||
BUILD.gn | ||
CMakeLists.txt | ||
CMakeSettings.json | ||
CODE_OF_CONDUCT.md | ||
CONTRIBUTING.md | ||
CPPLINT.cfg | ||
DEPS | ||
DIR_METADATA | ||
Doxyfile | ||
LICENSE | ||
OWNERS | ||
PRESUBMIT.py | ||
README.chromium | ||
README.md | ||
codereview.settings | ||
dawn.json | ||
dawn_wire.json | ||
go.mod | ||
go.sum | ||
go_presubmit_support.py | ||
tint_overrides_with_defaults.gni |
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
.
- The
- A "native" implementation of WebGPU using platforms' GPU APIs: D3D12, Metal, Vulkan and OpenGL. See per API support for more details.
- A client-server implementation of WebGPU for applications that are in a sandbox without access to native drivers
- Tint is a compiler for the WebGPU Shader Language (WGSL) that can be used in standalone to convert shaders from and to WGSL.
Helpful links:
- Dawn bug tracker if you find issues with Dawn.
- Tint bug tracker if you find issues with Tint.
- Dawn's mailing list for other discussions related to Dawn.
- Dawn's source code
- Dawn's Matrix chatroom for live discussion around contributing or using Dawn.
- WebGPU's Matrix chatroom
- Tint mirror for standalone usage.
Documentation table of content
Developer documentation:
- Dawn overview
- Building
- Contributing
- Code of Conduct
- Testing Dawn
- Debugging Dawn
- Dawn's infrastructure
- Dawn errors
- Tint experimental extensions
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.