mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-08 13:14:56 +00:00
b7b2d3db3043a3396484ee4f99d5c31a85850560
This reverts commita707ffb300. Reason for revert: Maybe it introduced the many flakes we're seeing. Original change's description: > Roll third_party/webgpu-cts/ d8a28755b..74b1f1535 (20 commits) > > Update: > - expectations.txt > - ts_sources.txt > - resource_files.txt > - webtest .html files > > >d8a28755b2..74b1f15354> - 74b1f1 op: Implement 'multiple_pairs_of_draws_in_one_render_bundle' test in multiple_buffers.spec.ts (#1901) > - 777f1c Implement 'index_range,auto_layout' test in getBindGroupLayout.spec.ts (#1899) > - f0dacb Implement `pack2x16float` tests (#1890) > - dbbbc8 op: Implement 'two_dispatches_in_the_same_compute_pass' test in multiple_buffers.spec.ts (#1896) > - 2abd75 Implement 'index_range' test in getBindGroupLayout.spec.ts (#1892) > - cbdd47 Roll types to 0.1.22 and test rg11b10ufloat-renderable requestDevice (#1888) > - 723878 op: Implement 'ww' test in multiple_buffers.spec.ts (#1879) > - b411f7 Remove a fallback value in the use of maxBindGroups value (#1895) > - 68e6e0 Update `atan2` F32 tests to account for atan based implementations (#1837) > - 07936b Implement `cross` f32 tests (#1878) > - 5efbf7 compilation_info: Check offset when there is a carriage-return. (#1880) > - 2f74c8 Implement 'timestampWrites,invalid_query_set' test in beginComputePass.spec.ts (#1877) > - a0b0ba op: Implement 'wr' test in multiple_buffers.spec.ts (#1872) > - 427b99 Implement boolean logical equality tests (#1876) > - 115248 Style and bug fixes in device_mismatch tests (#1871) > - 2c53b5 Add a 'sampler,device_mismatch' test to createBindGroup.spec.ts (#1867) > - 291ce4 Implement 'sampler,compare_function_with_binding_type' test in createBindGroup.spec.ts (#1865) > - 497c85 op: Implement test in multiple_buffers.spec.ts (#1857) > - 3eaf0e Add execution tests for logical binary operations (#1870) > - 6f50ab Add execution tests for logical negation (#1869) > > Created with './tools/run cts roll' > > Change-Id: Ie417426b3e60863637a2faa3904a4f828d8af0d4 > Cq-Include-Trybots: luci.chromium.try:dawn-try-win10-x86-rel,linux-dawn-rel,mac-dawn-rel,win-dawn-rel > Include-Ci-Only-Tests: true > Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/105200 > Kokoro: Kokoro <noreply+kokoro@google.com> > Reviewed-by: Ben Clayton <bclayton@google.com> > Commit-Queue: Corentin Wallez <cwallez@chromium.org> TBR=cwallez@chromium.org,bclayton@google.com,noreply+kokoro@google.com,dawn-scoped@luci-project-accounts.iam.gserviceaccount.com Change-Id: I7133dde7923aa399df00ed1fdfb7201e8eed9d60 No-Presubmit: true No-Tree-Checks: true No-Try: true Cq-Include-Trybots: luci.chromium.try:dawn-try-win10-x86-rel,linux-dawn-rel,mac-dawn-rel,win-dawn-rel Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/105420 Reviewed-by: Corentin Wallez <cwallez@chromium.org> Reviewed-by: Austin Eng <enga@chromium.org> Kokoro: Kokoro <noreply+kokoro@google.com> Commit-Queue: Austin Eng <enga@chromium.org>
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.hversion 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.
Description
CMake-only fork of https://dawn.googlesource.com/dawn with cleaned, vendored dependencies
Languages
C++
59.9%
HLSL
18.2%
GLSL
17.3%
Go
2.1%
Objective-C++
0.8%
Other
1.6%
