Dawn 是正在发展的WebGPU标准的开源的、跨平台的实现
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
[github] Use macos-15-intel builder instead of macos-13 Also up the deployment target to macOS 12.0 Bug: Change-Id: I07587ca23a89bfd501ce79e537d21adb2533e941 This is an imported pull request from https://github.com/google/dawn/pull/47 GITHUB_PR_HEAD_SHA=84d3d9d3e513f053f76afe085c0a45aab360aebe ORIGINAL_AUTHOR=Corentin Wallez <cwallez@chromium.org> GitOrigin-RevId: 5a7670338e0fde602b053a5c5493f1e27d84f047 Change-Id: I8ef31c8feb5ae7307e5c87310441aa4c9922e323 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/265954 Reviewed-by: Kai Ninomiya <kainino@chromium.org> Reviewed-by: Loko Kung <lokokung@google.com> Commit-Queue: Kai Ninomiya <kainino@chromium.org> | 8 个月前 | |
[tools] Add 'add-gerrit-hashtags' tool Parses the CL descriptions and adds missing hashtags to Gerrit changes. Also add ./tools/push-to-gerrit which runs this after pushing the local branch's changes to 'main'. Use this for the VSCode 'push' task. Change-Id: I4c3f5982f6fdc7c1c6ebe770fc7811b1b38795d1 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/133061 Commit-Queue: Ben Clayton <bclayton@google.com> Kokoro: Ben Clayton <bclayton@google.com> Reviewed-by: Dan Sinclair <dsinclair@chromium.org> | 3 年前 | |
Revert "Revert both CLs related to post-Skia GN cleanup" This reverts commit 7b5540936e1c53ecef5a8842fab5e8f7f6d9a0f9. This relands https://dawn-review.googlesource.com/c/dawn/+/270095 and https://dawn-review.googlesource.com/c/dawn/+/271434 This includes a fix for the roll into chromium issue by not exposing the Dawn CLI tools to the chromium build, which the original changes did. Fixes: 459312332 Change-Id: I216ad3d79de882b8cdfc40bd82cadc702495ba2f Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/272594 Commit-Queue: Ryan Harrison <rharrison@chromium.org> Reviewed-by: James Price <jrprice@google.com> | 7 个月前 | |
[bindless] Update dynamic binding extension doc. Add the Resource Table option into the chromium_experimental_dynamic_binding.md description file. Fixed: 463343126 Change-Id: Ie7aee8e95a3bba18145108659fc6e46fa3b377dc Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/276375 Reviewed-by: James Price <jrprice@google.com> Commit-Queue: dan sinclair <dsinclair@chromium.org> | 7 个月前 | |
Improved JvmName for Exceptions.kt and Functions.kt files Change-Id: Ic98c9aa2c7e33876483fd0766a0b20633f2b0589 Bug: b/459782075 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/276694 Reviewed-by: Jim Blackler <jimblackler@google.com> Commit-Queue: Ria Singhla <rsinghla@google.com> | 7 个月前 | |
[vulkan] Remove WebGPUUseVulkanMemoryModel platform feature The feature is enabled by default (when available), with a toggle to turn it off. The feature flag has been removed from Chromium. Fixed: 461868888 Change-Id: If5800624f560bb21ae20635c24d7506af691db4a Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/274876 Commit-Queue: dan sinclair <dsinclair@chromium.org> Reviewed-by: dan sinclair <dsinclair@chromium.org> Commit-Queue: James Price <jrprice@google.com> Auto-Submit: James Price <jrprice@google.com> | 7 个月前 | |
Exclude Go changes from Chromium trybots Adds Go-related files to the list of exclusion filters for the Chromium trybots that are made available to Dawn. Chromium does not use any of Dawn's Go code, so we can safely skip starting any builds for Go-only changes. Bug: 459517292 Change-Id: I08ef46d3eba2696e358638650f403aa91069a7b1 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/276535 Auto-Submit: Brian Sheedy <bsheedy@google.com> Reviewed-by: Yuly Novikov <ynovikov@chromium.org> Commit-Queue: Yuly Novikov <ynovikov@chromium.org> | 7 个月前 | |
Add roller script committing Updates scripts/roll_chromium_deps.py to automatically commit changes with a generated commit message. Bug: 452840620 Change-Id: I7a4050ae280aaf724434009cc373c2e3feab0520 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/275194 Commit-Queue: Brian Sheedy <bsheedy@google.com> Reviewed-by: Yuly Novikov <ynovikov@chromium.org> | 7 个月前 | |
2026.03.30 arkweb_144代码蓝黄同步 Signed-off-by: jiujiaoxiaogula <sujiahao10@huawei.com> Change-Id: If411bbb461293847a4e77d269d0ceb9dbb3a768a | 3 个月前 | |
[bindless] Generate SPIR-V for resource table. Add the needed support in order to generate the resource table implementation in the SPIR-V backend. Fixed: 463345048 Change-Id: I09c6aa904e776d16dd243cc386a9e07bf7f503dc Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/276574 Reviewed-by: James Price <jrprice@google.com> Commit-Queue: dan sinclair <dsinclair@chromium.org> | 7 个月前 | |
add README.OpenSource Co-Authored-By: Agent Change-Id: I6fdd70233e1860a7e30b1308477a4f93e136f1c9 Signed-off-by: lizeqiang <lizeqiang4@h-partners.com> | 2 个月前 | |
Add ApiLevelSkipRule to skip tests on emulators for specific API levels. Bug Id: b/459500291 Change-Id: I36f32f4ae071c0c7ec59502f0cd4039ca95e8031 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/275034 Reviewed-by: Jim Blackler <jimblackler@google.com> Reviewed-by: Mridul Goyal <mridulgoyal@google.com> Commit-Queue: Tarun Saini <sainitarun@google.com> | 7 个月前 | |
Remove stale WebGPU Compat CTS expectations Autogenerated CL from running: //content/test/gpu/unexpected_pass_finder.py --project chrome-unexpected-pass-data --include-internal-builders --remove-stale-expectations --narrow-semi-stale-expectation-scope --num-samples 300 --suite webgpu_compat_cts Affected bugs for CL description: R=rubber-stamper@appspot.gserviceaccount.com Bug: 0000 Fixed: 452662924 Change-Id: Ia24963ad21e648e3a579b2995499e4e571a0b7a4 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/277436 Commit-Queue: rubber-stamper@appspot.gserviceaccount.com <rubber-stamper@appspot.gserviceaccount.com> Bot-Commit: rubber-stamper@appspot.gserviceaccount.com <rubber-stamper@appspot.gserviceaccount.com> Auto-Submit: chrome-automated-expectation@chops-service-accounts.iam.gserviceaccount.com <chrome-automated-expectation@chops-service-accounts.iam.gserviceaccount.com> | 7 个月前 | |
Roll chromium_revision c2d941cd12..ec72ea842b Change log: https://chromium.googlesource.com/chromium/src/+log/c2d941cd12..ec72ea842b Full diff: https://chromium.googlesource.com/chromium/src/+/c2d941cd12..ec72ea842b Repo entries: build: https://chromium.googlesource.com/chromium/src/build/+log/5ab9444db5..da14ab0290 buildtools: https://chromium.googlesource.com/chromium/src/buildtools/+log/628cf12465..1267724b67 testing: https://chromium.googlesource.com/chromium/src/testing/+log/cbfa2aee36..af894edc81 third_party/abseil-cpp: https://chromium.googlesource.com/chromium/src/third_party/abseil-cpp/+log/e1655ca1ac..564023aa53 third_party/catapult: https://chromium.googlesource.com/catapult.git/+log/3b15c11368..88692a3d0a third_party/clang-format/script: https://chromium.googlesource.com/external/github.com/llvm/llvm-project/clang/tools/clang-format.git/+log/911fc51fb4..c2725e0622 third_party/depot_tools: https://chromium.googlesource.com/chromium/tools/depot_tools.git/+log/0a519cc269..8efa575d75 third_party/google_benchmark/src: https://chromium.googlesource.com/external/github.com/google/benchmark.git/+log/761305ec3b..188e827899 third_party/googletest: https://chromium.googlesource.com/external/github.com/google/googletest/+log/309dab8d4b..4fe3307fb2 third_party/jinja2: https://chromium.googlesource.com/chromium/src/third_party/jinja2/+log/e2d024354e..c3027d8849 third_party/jsoncpp: https://chromium.googlesource.com/external/github.com/open-source-parsers/jsoncpp.git/+log/69098a18b9..42e892d96e third_party/libc++/src: https://chromium.googlesource.com/external/github.com/llvm/llvm-project/libcxx.git/+log/ddfdbbc1ab..99d9ab2603 third_party/libc++abi/src: https://chromium.googlesource.com/external/github.com/llvm/llvm-project/libcxxabi.git/+log/bb789ae647..de02e5d570 third_party/llvm-libc/src: https://chromium.googlesource.com/external/github.com/llvm/llvm-project/libc.git/+log/1f7cf83fb2..b2be5ea77d third_party/markupsafe: https://chromium.googlesource.com/chromium/src/third_party/markupsafe/+log/0bad08bb20..4256084ae1 third_party/partition_alloc: https://chromium.googlesource.com/chromium/src/base/allocator/partition_allocator.git/+log/fae4df38ce..c0a91c9963 third_party/protobuf: https://chromium.googlesource.com/chromium/src/third_party/protobuf/+log/fef7a765bb..2caa6ae88f third_party/zlib: https://chromium.googlesource.com/chromium/src/third_party/zlib/+log/caf4afa1af..63d7e16739 tools/clang: https://chromium.googlesource.com/chromium/src/tools/clang/+log/c32a3112f4..768d15952d tools/mb: https://chromium.googlesource.com/chromium/src/tools/mb/+log/6c50647ee9..c1ee7e12fc tools/memory: https://chromium.googlesource.com/chromium/src/tools/memory/+log/3c7b1f4daa..27e942fcc0 tools/protoc_wrapper: https://chromium.googlesource.com/chromium/src/tools/protoc_wrapper/+log/8ad6d21544..3438d4183b CIPD entries: buildtools/linux64 buildtools/mac buildtools/reclient buildtools/win third_party/siso/cipd GCS entries: build/linux/debian_bullseye_amd64-sysroot build/linux/debian_bullseye_arm64-sysroot build/linux/debian_bullseye_armhf-sysroot build/linux/debian_bullseye_i386-sysroot build/linux/debian_bullseye_mips64el-sysroot build/linux/debian_bullseye_mipsel-sysroot No explicitly synced GN variables in this roll Bug: None Change-Id: I4d664d3b2110f05d02ebb0ff5381d8c03e280a65 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/276434 Auto-Submit: Brian Sheedy <bsheedy@google.com> Commit-Queue: Kai Ninomiya <kainino@chromium.org> Reviewed-by: Kai Ninomiya <kainino@chromium.org> Commit-Queue: Brian Sheedy <bsheedy@google.com> | 7 个月前 | |
Roll chromium_revision c2d941cd12..ec72ea842b Change log: https://chromium.googlesource.com/chromium/src/+log/c2d941cd12..ec72ea842b Full diff: https://chromium.googlesource.com/chromium/src/+/c2d941cd12..ec72ea842b Repo entries: build: https://chromium.googlesource.com/chromium/src/build/+log/5ab9444db5..da14ab0290 buildtools: https://chromium.googlesource.com/chromium/src/buildtools/+log/628cf12465..1267724b67 testing: https://chromium.googlesource.com/chromium/src/testing/+log/cbfa2aee36..af894edc81 third_party/abseil-cpp: https://chromium.googlesource.com/chromium/src/third_party/abseil-cpp/+log/e1655ca1ac..564023aa53 third_party/catapult: https://chromium.googlesource.com/catapult.git/+log/3b15c11368..88692a3d0a third_party/clang-format/script: https://chromium.googlesource.com/external/github.com/llvm/llvm-project/clang/tools/clang-format.git/+log/911fc51fb4..c2725e0622 third_party/depot_tools: https://chromium.googlesource.com/chromium/tools/depot_tools.git/+log/0a519cc269..8efa575d75 third_party/google_benchmark/src: https://chromium.googlesource.com/external/github.com/google/benchmark.git/+log/761305ec3b..188e827899 third_party/googletest: https://chromium.googlesource.com/external/github.com/google/googletest/+log/309dab8d4b..4fe3307fb2 third_party/jinja2: https://chromium.googlesource.com/chromium/src/third_party/jinja2/+log/e2d024354e..c3027d8849 third_party/jsoncpp: https://chromium.googlesource.com/external/github.com/open-source-parsers/jsoncpp.git/+log/69098a18b9..42e892d96e third_party/libc++/src: https://chromium.googlesource.com/external/github.com/llvm/llvm-project/libcxx.git/+log/ddfdbbc1ab..99d9ab2603 third_party/libc++abi/src: https://chromium.googlesource.com/external/github.com/llvm/llvm-project/libcxxabi.git/+log/bb789ae647..de02e5d570 third_party/llvm-libc/src: https://chromium.googlesource.com/external/github.com/llvm/llvm-project/libc.git/+log/1f7cf83fb2..b2be5ea77d third_party/markupsafe: https://chromium.googlesource.com/chromium/src/third_party/markupsafe/+log/0bad08bb20..4256084ae1 third_party/partition_alloc: https://chromium.googlesource.com/chromium/src/base/allocator/partition_allocator.git/+log/fae4df38ce..c0a91c9963 third_party/protobuf: https://chromium.googlesource.com/chromium/src/third_party/protobuf/+log/fef7a765bb..2caa6ae88f third_party/zlib: https://chromium.googlesource.com/chromium/src/third_party/zlib/+log/caf4afa1af..63d7e16739 tools/clang: https://chromium.googlesource.com/chromium/src/tools/clang/+log/c32a3112f4..768d15952d tools/mb: https://chromium.googlesource.com/chromium/src/tools/mb/+log/6c50647ee9..c1ee7e12fc tools/memory: https://chromium.googlesource.com/chromium/src/tools/memory/+log/3c7b1f4daa..27e942fcc0 tools/protoc_wrapper: https://chromium.googlesource.com/chromium/src/tools/protoc_wrapper/+log/8ad6d21544..3438d4183b CIPD entries: buildtools/linux64 buildtools/mac buildtools/reclient buildtools/win third_party/siso/cipd GCS entries: build/linux/debian_bullseye_amd64-sysroot build/linux/debian_bullseye_arm64-sysroot build/linux/debian_bullseye_armhf-sysroot build/linux/debian_bullseye_i386-sysroot build/linux/debian_bullseye_mips64el-sysroot build/linux/debian_bullseye_mipsel-sysroot No explicitly synced GN variables in this roll Bug: None Change-Id: I4d664d3b2110f05d02ebb0ff5381d8c03e280a65 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/276434 Auto-Submit: Brian Sheedy <bsheedy@google.com> Commit-Queue: Kai Ninomiya <kainino@chromium.org> Reviewed-by: Kai Ninomiya <kainino@chromium.org> Commit-Queue: Brian Sheedy <bsheedy@google.com> | 7 个月前 | |
Roll chromium_revision c2d941cd12..ec72ea842b Change log: https://chromium.googlesource.com/chromium/src/+log/c2d941cd12..ec72ea842b Full diff: https://chromium.googlesource.com/chromium/src/+/c2d941cd12..ec72ea842b Repo entries: build: https://chromium.googlesource.com/chromium/src/build/+log/5ab9444db5..da14ab0290 buildtools: https://chromium.googlesource.com/chromium/src/buildtools/+log/628cf12465..1267724b67 testing: https://chromium.googlesource.com/chromium/src/testing/+log/cbfa2aee36..af894edc81 third_party/abseil-cpp: https://chromium.googlesource.com/chromium/src/third_party/abseil-cpp/+log/e1655ca1ac..564023aa53 third_party/catapult: https://chromium.googlesource.com/catapult.git/+log/3b15c11368..88692a3d0a third_party/clang-format/script: https://chromium.googlesource.com/external/github.com/llvm/llvm-project/clang/tools/clang-format.git/+log/911fc51fb4..c2725e0622 third_party/depot_tools: https://chromium.googlesource.com/chromium/tools/depot_tools.git/+log/0a519cc269..8efa575d75 third_party/google_benchmark/src: https://chromium.googlesource.com/external/github.com/google/benchmark.git/+log/761305ec3b..188e827899 third_party/googletest: https://chromium.googlesource.com/external/github.com/google/googletest/+log/309dab8d4b..4fe3307fb2 third_party/jinja2: https://chromium.googlesource.com/chromium/src/third_party/jinja2/+log/e2d024354e..c3027d8849 third_party/jsoncpp: https://chromium.googlesource.com/external/github.com/open-source-parsers/jsoncpp.git/+log/69098a18b9..42e892d96e third_party/libc++/src: https://chromium.googlesource.com/external/github.com/llvm/llvm-project/libcxx.git/+log/ddfdbbc1ab..99d9ab2603 third_party/libc++abi/src: https://chromium.googlesource.com/external/github.com/llvm/llvm-project/libcxxabi.git/+log/bb789ae647..de02e5d570 third_party/llvm-libc/src: https://chromium.googlesource.com/external/github.com/llvm/llvm-project/libc.git/+log/1f7cf83fb2..b2be5ea77d third_party/markupsafe: https://chromium.googlesource.com/chromium/src/third_party/markupsafe/+log/0bad08bb20..4256084ae1 third_party/partition_alloc: https://chromium.googlesource.com/chromium/src/base/allocator/partition_allocator.git/+log/fae4df38ce..c0a91c9963 third_party/protobuf: https://chromium.googlesource.com/chromium/src/third_party/protobuf/+log/fef7a765bb..2caa6ae88f third_party/zlib: https://chromium.googlesource.com/chromium/src/third_party/zlib/+log/caf4afa1af..63d7e16739 tools/clang: https://chromium.googlesource.com/chromium/src/tools/clang/+log/c32a3112f4..768d15952d tools/mb: https://chromium.googlesource.com/chromium/src/tools/mb/+log/6c50647ee9..c1ee7e12fc tools/memory: https://chromium.googlesource.com/chromium/src/tools/memory/+log/3c7b1f4daa..27e942fcc0 tools/protoc_wrapper: https://chromium.googlesource.com/chromium/src/tools/protoc_wrapper/+log/8ad6d21544..3438d4183b CIPD entries: buildtools/linux64 buildtools/mac buildtools/reclient buildtools/win third_party/siso/cipd GCS entries: build/linux/debian_bullseye_amd64-sysroot build/linux/debian_bullseye_arm64-sysroot build/linux/debian_bullseye_armhf-sysroot build/linux/debian_bullseye_i386-sysroot build/linux/debian_bullseye_mips64el-sysroot build/linux/debian_bullseye_mipsel-sysroot No explicitly synced GN variables in this roll Bug: None Change-Id: I4d664d3b2110f05d02ebb0ff5381d8c03e280a65 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/276434 Auto-Submit: Brian Sheedy <bsheedy@google.com> Commit-Queue: Kai Ninomiya <kainino@chromium.org> Reviewed-by: Kai Ninomiya <kainino@chromium.org> Commit-Queue: Brian Sheedy <bsheedy@google.com> | 7 个月前 | |
Reland: Switch to C++20 Bump the C++ standard version to C++20 in all the build files. Put a designated initializer in a core Tint transform that is used on all platforms as a smoke test. Bug: 343500108 Change-Id: I7e1439776c04448769b0af6ae55cb6b362806b9c Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/237834 Reviewed-by: Corentin Wallez <cwallez@chromium.org> Commit-Queue: James Price <jrprice@google.com> | 1 年前 | |
Add InsertBraces: true to .clang-format Bug: none Change-Id: I4b4f2a4abfea7adcea406f458bc4e4a13b0e8c43 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/91000 Reviewed-by: Corentin Wallez <cwallez@chromium.org> Kokoro: Kokoro <noreply+kokoro@google.com> Commit-Queue: Austin Eng <enga@chromium.org> Reviewed-by: dan sinclair <dsinclair@google.com> Reviewed-by: Ben Clayton <bclayton@google.com> | 4 年前 | |
Add .clang-format-ignore to void configs from parent directories Fixed: 413695651 Change-Id: I0fe4fbac59817202d8e36a482f30fc5c18d5474f Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/239175 Auto-Submit: Kai Ninomiya <kainino@chromium.org> Commit-Queue: Fr <beaufort.francois@gmail.com> Reviewed-by: Fr <beaufort.francois@gmail.com> | 1 年前 | |
[dawn] Disable unchecked-container-access Tint has its own vector container. This clang tidy will tigger on every single operator [] access. Clang tidy: 'possibly unsafe 'operator[]', consider bounds-safe alternatives' Change-Id: I03b4093fcc86f9a8b2d24a967a8f2227d3189497 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/271775 Commit-Queue: James Price <jrprice@google.com> Reviewed-by: James Price <jrprice@google.com> | 7 个月前 | |
Update blame ignore with Dan's mass clang-format commit From https://dawn-review.googlesource.com/c/dawn/+/87603 Change-Id: I746f9b373889c0825b2ce59230d7770c679b8835 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/232035 Reviewed-by: dan sinclair <dsinclair@chromium.org> Commit-Queue: Antonio Maiorano <amaiorano@google.com> | 1 年前 | |
gitattributes: make .txt files lf Otherwise "src\tint\cmd\fuzz\wgsl\dictionary.txt" is checked out as CRLF on Windows, but we need generated files to be LF, otherwise presubmit checks fail. Change-Id: I60fbf40b6731e3f96139117a4738bbf7400bc819 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/210635 Commit-Queue: Antonio Maiorano <amaiorano@google.com> Reviewed-by: James Price <jrprice@google.com> | 1 年前 | |
Remaining spirv-cross references. Remove the gitignore and owners entries for spirv-cross. Bug: 42241341 Change-Id: I56831aaa29038881dc1f318ba7c527783199d25f Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/265874 Reviewed-by: James Price <jrprice@google.com> Auto-Submit: dan sinclair <dsinclair@chromium.org> Commit-Queue: dan sinclair <dsinclair@chromium.org> | 8 个月前 | |
Revert "Revert both CLs related to post-Skia GN cleanup" This reverts commit 7b5540936e1c53ecef5a8842fab5e8f7f6d9a0f9. This relands https://dawn-review.googlesource.com/c/dawn/+/270095 and https://dawn-review.googlesource.com/c/dawn/+/271434 This includes a fix for the roll into chromium issue by not exposing the Dawn CLI tools to the chromium build, which the original changes did. Fixes: 459312332 Change-Id: I216ad3d79de882b8cdfc40bd82cadc702495ba2f Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/272594 Commit-Queue: Ryan Harrison <rharrison@chromium.org> Reviewed-by: James Price <jrprice@google.com> | 7 个月前 | |
Override use_cxx23 to false Dawn needs to stay in C++20 for now. Bug: chromium:388070065 Change-Id: I2604b5d0c65a849ab7cbd0efab482b82a5c13247 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/276314 Reviewed-by: dan sinclair <dsinclair@chromium.org> Commit-Queue: Geoff Lang <geofflang@chromium.org> Reviewed-by: Geoff Lang <geofflang@chromium.org> | 7 个月前 | |
Make git-cl not need --python to format Python Turns out we don't need to type git cl format --python every time. If we add a .style.yapf file, it will do it by default. Quoth git cl format --help: > If neither --python or --no-python are set, python files that have a > .style.yapf file in an ancestor directory will be formatted. Remove check_python=True from PRESUBMIT.py to make it do the same - and suggest git cl format instead of git cl format --python when running presubmit checks (during git cl upload or git cl presubmit). Quoth presubmit_canned_checks.py: > Explicitly setting check_python to will enable/disable python formatting > on all files. Leaving it as None will enable checking patch formatting > on files that have a .style.yapf file in a parent directory. Verified on at least one Python file this doesn't change the formatting results, so it seems to be the same as the default configuration. Bug: none Change-Id: Ia22f783b30181bed54933c732749a9837837bac2 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/239455 Auto-Submit: Kai Ninomiya <kainino@chromium.org> Reviewed-by: dan sinclair <dsinclair@chromium.org> Commit-Queue: Kai Ninomiya <kainino@chromium.org> | 1 年前 | |
Add new standalone GN args and test specs Adds the necessary new code to support Dawn-side GN args and test specs for the upcoming Dawn standalone builders which use the gn_v2 recipe. Additionally, adds the GN args and test specs used by the Linux/Swiftshader configuration to act as an example and make future testing via led easier. This does NOT actually create the builders yet, as they are not added to //infra/config/global/main.star yet. Bug: 385317083 Change-Id: Ibc08f4a834c67707b7bd594a9b610f05cb44d1a9 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/230894 Reviewed-by: Yuly Novikov <ynovikov@chromium.org> Reviewed-by: Antonio Maiorano <amaiorano@google.com> Reviewed-by: dan sinclair <dsinclair@chromium.org> Commit-Queue: Brian Sheedy <bsheedy@google.com> | 1 年前 | |
vulkan: Use separate release semaphores for external textures Chromium's ExternalVkImageBacking does not expect multiple different external textures to be sharing the same release semaphore. This causes freezes with https://webgpu.github.io/webgpu-samples/samples/videoUploading on Linux and other cases where multiple shared images are involved. Fix this by creating a separate semaphore for each external texture being released. Bug: chromium:1411745 Change-Id: Ic5ebe9e1e97340e7baedea5ea23c179aa26ea4e7 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/141420 Commit-Queue: Kai Ninomiya <kainino@chromium.org> Kokoro: Kokoro <noreply+kokoro@google.com> Reviewed-by: Austin Eng <enga@chromium.org> Reviewed-by: Ben Clayton <bclayton@chromium.org> | 2 年前 | |
Relicense Dawn to BSD 3-Clause Change-Id: I57d815750c540b17ce9c2aaa77a9135533f38a19 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/155561 Kokoro: Austin Eng <enga@chromium.org> Auto-Submit: Austin Eng <enga@chromium.org> Commit-Queue: Austin Eng <enga@chromium.org> Reviewed-by: Corentin Wallez <cwallez@chromium.org> | 2 年前 | |
Revert "Revert both CLs related to post-Skia GN cleanup" This reverts commit 7b5540936e1c53ecef5a8842fab5e8f7f6d9a0f9. This relands https://dawn-review.googlesource.com/c/dawn/+/270095 and https://dawn-review.googlesource.com/c/dawn/+/271434 This includes a fix for the roll into chromium issue by not exposing the Dawn CLI tools to the chromium build, which the original changes did. Fixes: 459312332 Change-Id: I216ad3d79de882b8cdfc40bd82cadc702495ba2f Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/272594 Commit-Queue: Ryan Harrison <rharrison@chromium.org> Reviewed-by: James Price <jrprice@google.com> | 7 个月前 | |
Make some third_party deps configurable in CMake This will let Skia sync its own copy and point Dawn at them. Change-Id: I0326c8e2f74867508fa67d3c71c0148891cc8a6c Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/270815 Commit-Queue: Kaylee Lubick <kjlubick@google.com> Reviewed-by: David Neto <dneto@google.com> Auto-Submit: Kaylee Lubick <kjlubick@google.com> Reviewed-by: Kai Ninomiya <kainino@chromium.org> Commit-Queue: David Neto <dneto@google.com> | 7 个月前 | |
Normalize all line endings to LF And force shader code to always use LF endings. Post merge, there were a number of files that crept in with CRLF endings. Some Tint end-to-end tests take objection to CRLF endings. CRLF endings can be detected with: git grep -I --files-with-matches --perl-regexp '\r' HEAD And fixed with: find . -type f -exec dos2unix {} \; Bug: dawn:1339 Change-Id: Iee054bafd15875de744b86e28393cd8229bd3cfa Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/86140 Kokoro-Run: Ben Clayton <bclayton@google.com> Reviewed-by: Antonio Maiorano <amaiorano@google.com> Commit-Queue: Ben Clayton <bclayton@google.com> | 4 年前 | |
Initial commit | 6 年前 | |
Combine contributing files. This CL combines the two contributing files from the merge into a single file in CONTRIBUTING.md. BUG=dawn:1356 Change-Id: I863f008f2f842222900b312ce9cc6382d82a32ce Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/86206 Auto-Submit: Dan Sinclair <dsinclair@chromium.org> Reviewed-by: Corentin Wallez <cwallez@chromium.org> Commit-Queue: Corentin Wallez <cwallez@chromium.org> | 4 年前 | |
[dawn] Replace CHECK() with DAWN_CHECK() Avoid collisions with other libraries. Change-Id: If9250be60c754d68ae648e9092f78f02c25ee388 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/151621 Commit-Queue: Ben Clayton <bclayton@google.com> Kokoro: Ben Clayton <bclayton@google.com> Reviewed-by: Austin Eng <enga@chromium.org> | 2 年前 | |
Roll ANGLE from 982116235b22 to 871a8eed7188 (8 revisions) https://chromium.googlesource.com/angle/angle.git/+log/982116235b22..871a8eed7188 2025-11-28 angle-autoroll@skia-public.iam.gserviceaccount.com Manual roll Chromium from 64d19a776fb7 to 2bef07d37de2 (202 revisions) 2025-11-28 angle-autoroll@skia-public.iam.gserviceaccount.com Roll vulkan-deps from 009ae5465652 to d1eb1a06c1ed (11 revisions) 2025-11-28 angle-autoroll@skia-public.iam.gserviceaccount.com Roll Chromium from 2a350dc995c7 to 64d19a776fb7 (429 revisions) 2025-11-28 syoussefi@chromium.org D3D: Remove ES3.1 features 2025-11-27 syoussefi@chromium.org D3D: Expose mistranslation of row_major in SSBO 2025-11-27 angle-autoroll@skia-public.iam.gserviceaccount.com Roll vulkan-deps from e2ecf265b9e8 to 009ae5465652 (8 revisions) 2025-11-27 angle-autoroll@skia-public.iam.gserviceaccount.com Roll Chromium from 06fd0d40cf69 to 2a350dc995c7 (636 revisions) 2025-11-27 angle-autoroll@skia-public.iam.gserviceaccount.com Roll VK-GL-CTS from 5d4c190014b3 to 4814d9cefb63 (2 revisions) If this roll has caused a breakage, revert this CL and stop the roller using the controls here: https://autoroll.skia.org/r/angle-dawn-autoroll Please CC angle-team+autoroll@google.com,shrekshao@google.com on the revert to ensure that a human is aware of the problem. To file a bug in ANGLE: https://bugs.chromium.org/p/angleproject/issues/entry To file a bug in Dawn: https://bugs.chromium.org/p/dawn/issues/entry To report a problem with the AutoRoller itself, please file a bug: https://issues.skia.org/issues/new?component=1389291&template=1850622 Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md Bug: None Tbr: shrekshao@google.com Change-Id: I5f446349c243b057311053b284a454e804e4388d Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/277516 Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com> Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com> | 7 个月前 | |
Update DIR_METADATA for buganizer Based of off crrev.com/5242327. Seems like "monorail" is still referenced (at least for now). No-Try: true Change-Id: I4f3a062a6064bb95acd03bdcbdce822f53513354 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/187380 Reviewed-by: Kai Ninomiya <kainino@chromium.org> Reviewed-by: Ben Clayton <bclayton@google.com> Commit-Queue: Ben Clayton <bclayton@google.com> | 2 年前 | |
Relicense Dawn to BSD 3-Clause Change-Id: I57d815750c540b17ce9c2aaa77a9135533f38a19 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/155561 Kokoro: Austin Eng <enga@chromium.org> Auto-Submit: Austin Eng <enga@chromium.org> Commit-Queue: Austin Eng <enga@chromium.org> Reviewed-by: Corentin Wallez <cwallez@chromium.org> | 2 年前 | |
Add go.* OWNERS Makes the owners of //tools/ owners of //go.mod and //go.sum since those files are only relevant to the Go code under //tools/src/. Change-Id: I4933124fcb80a12297c1dc671ed70d72000e0160 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/276534 Auto-Submit: Brian Sheedy <bsheedy@google.com> Reviewed-by: dan sinclair <dsinclair@chromium.org> Commit-Queue: Brian Sheedy <bsheedy@google.com> Commit-Queue: dan sinclair <dsinclair@chromium.org> | 7 个月前 | |
Reland "Explicitly list Go architectures" This is a reland of commit 455fc163a6e844c39aca00cab96f37ac71024f8b Changes from original CL: * Fixed missing data dependency for fuzzer_corpus_tests Bug that allowed the original CL to land has also been fixed by https://dawn-review.googlesource.com/c/dawn/+/265315. PS1 shows the affected builders now properly failing with the missing data dependency. Original change's description: > Explicitly list Go architectures > > Updates Dawn's Go dependency to explicitly fetch CIPD packages for all > supported architectures for an OS instead of relying on ${{platform}}. > Known users of this dependency are also updated to select the correct > copy based on the OS/arch combination at runtime. However, since the old > files are not automatically removed, it is possible that things may > break at a later point when the builder cache is cleared if a user of Go > was missed. > > This is necessary in order to properly support running tests which use > the Go code under //tools/src on OSes that support multiple > architectures. Using ${{platform}} when fetching dependencies implicitly > assumes that the architecture of the machine fetching dependencies is > the same as the machine that will run tests. This assumption does not > hold true now that we support running tests on Swarming, as Mac in > particular prefers to build on arm64 regardless of which architecture is > being built for. > > Bug: 441328362 > Change-Id: I8829b17f31d7604e1e494e99cc50fd257484c9e1 > Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/264976 > Auto-Submit: Brian Sheedy <bsheedy@google.com> > Commit-Queue: Kai Ninomiya <kainino@chromium.org> > Reviewed-by: Kai Ninomiya <kainino@chromium.org> Bug: 441328362 Change-Id: Ia4d1ac88963d46bd97f3fb84dec21a1910ae7b85 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/265295 Commit-Queue: Brian Sheedy <bsheedy@google.com> Reviewed-by: Kai Ninomiya <kainino@chromium.org> | 8 个月前 | |
add README.OpenSource Co-Authored-By: Agent Change-Id: I6fdd70233e1860a7e30b1308477a4f93e136f1c9 Signed-off-by: lizeqiang <lizeqiang4@h-partners.com> | 2 个月前 | |
Bulk fixing license metadata Bug: 421989552, 421989045, 421989732, 421989535, 421989450, 421989082 Change-Id: Ia80e1edae1077f23202e08390fc78fb6b31e1f29 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/253614 Auto-Submit: Jordan Brown <rop@google.com> Reviewed-by: Kai Ninomiya <kainino@chromium.org> Commit-Queue: Kai Ninomiya <kainino@chromium.org> Reviewed-by: Corentin Wallez <cwallez@chromium.org> | 11 个月前 | |
Update mailing list link in README.md Point to the publicly viewable group page, and not the members page that requires logging in. Change-Id: I7ceb8a8056c09bb0cfd6a7473b191d486426bde5 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/224914 Reviewed-by: Corentin Wallez <cwallez@chromium.org> Commit-Queue: Corentin Wallez <cwallez@chromium.org> | 1 年前 | |
Add WebGPU gardener rotation to watchlist for expectations files Tested using: $ python3 third_party/depot_tools/watchlists.py webgpu-cts/expectations.txt ['webgpu-gardener@rotations.google.com'] $ python3 third_party/depot_tools/watchlists.py webgpu-cts/compat-expectations.txt ['webgpu-gardener@rotations.google.com'] $ python3 third_party/depot_tools/watchlists.py webgpu-cts/test_runner.js [] I don't know for sure if this will work, because the Gerrit UI doesn't allow me to manually CC webgpu-gardener@rotations.google.com because it's not a registered Gerrit account. However, I see some teams have done similar things, so we can try it and see if it works. Bug: none Change-Id: I4f001b43f669bb7a35c026213137525d56a431bc Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/205395 Reviewed-by: dan sinclair <dsinclair@chromium.org> Reviewed-by: Brian Sheedy <bsheedy@google.com> Commit-Queue: Kai Ninomiya <kainino@chromium.org> | 1 年前 | |
Flatten vulkan-deps. Sub-repos will be now checked out in third_party directly, instead of under third_party/vulkan-deps. Bug: chromium:341002187 Change-Id: I66e9731a478f7416d2e27879b616576209a631f7 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/189420 Reviewed-by: Austin Eng <enga@chromium.org> Commit-Queue: Yuly Novikov <ynovikov@chromium.org> | 2 年前 | |
codereview.setings: default to not squashing on git cl upload Bug: None Change-Id: I4ee19c505332db3bc44470e6526624d4d679109a Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/44301 Auto-Submit: Corentin Wallez <cwallez@chromium.org> Reviewed-by: Jamie Madill <jmadill@chromium.org> Reviewed-by: Austin Eng <enga@chromium.org> Commit-Queue: Austin Eng <enga@chromium.org> | 5 年前 | |
Remove MemMapOSWrapper Removes MemMapOSWrapper and the afero dependency now that all uses have been switched to FSTestOSWrapper. Bug: 436025865 Change-Id: If7d737ec60685768e36403e2f148b85e777fec39 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/276514 Reviewed-by: Ryan Harrison <rharrison@chromium.org> Auto-Submit: Brian Sheedy <bsheedy@google.com> Commit-Queue: Ryan Harrison <rharrison@chromium.org> Reviewed-by: dan sinclair <dsinclair@chromium.org> | 7 个月前 | |
Remove MemMapOSWrapper Removes MemMapOSWrapper and the afero dependency now that all uses have been switched to FSTestOSWrapper. Bug: 436025865 Change-Id: If7d737ec60685768e36403e2f148b85e777fec39 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/276514 Reviewed-by: Ryan Harrison <rharrison@chromium.org> Auto-Submit: Brian Sheedy <bsheedy@google.com> Commit-Queue: Ryan Harrison <rharrison@chromium.org> Reviewed-by: dan sinclair <dsinclair@chromium.org> | 7 个月前 | |
Reland "Explicitly list Go architectures" This is a reland of commit 455fc163a6e844c39aca00cab96f37ac71024f8b Changes from original CL: * Fixed missing data dependency for fuzzer_corpus_tests Bug that allowed the original CL to land has also been fixed by https://dawn-review.googlesource.com/c/dawn/+/265315. PS1 shows the affected builders now properly failing with the missing data dependency. Original change's description: > Explicitly list Go architectures > > Updates Dawn's Go dependency to explicitly fetch CIPD packages for all > supported architectures for an OS instead of relying on ${{platform}}. > Known users of this dependency are also updated to select the correct > copy based on the OS/arch combination at runtime. However, since the old > files are not automatically removed, it is possible that things may > break at a later point when the builder cache is cleared if a user of Go > was missed. > > This is necessary in order to properly support running tests which use > the Go code under //tools/src on OSes that support multiple > architectures. Using ${{platform}} when fetching dependencies implicitly > assumes that the architecture of the machine fetching dependencies is > the same as the machine that will run tests. This assumption does not > hold true now that we support running tests on Swarming, as Mac in > particular prefers to build on arm64 regardless of which architecture is > being built for. > > Bug: 441328362 > Change-Id: I8829b17f31d7604e1e494e99cc50fd257484c9e1 > Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/264976 > Auto-Submit: Brian Sheedy <bsheedy@google.com> > Commit-Queue: Kai Ninomiya <kainino@chromium.org> > Reviewed-by: Kai Ninomiya <kainino@chromium.org> Bug: 441328362 Change-Id: Ia4d1ac88963d46bd97f3fb84dec21a1910ae7b85 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/265295 Commit-Queue: Brian Sheedy <bsheedy@google.com> Reviewed-by: Kai Ninomiya <kainino@chromium.org> | 8 个月前 | |
Add more directories checked by the clang unsafe buffers plugin. This change adds tint, dawn/samples and dawn/utils to the directories checked by the unsafe buffers plugin. Tint's cmake build does have the plugin enabled, but it is not as robust as the one pulled in from //build as it does not check for usage of methods such as memcpy. Bug: 438937152 Change-Id: I49af64eda9316729550cabcbc0582f2ba690c2f0 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/262076 Reviewed-by: James Price <jrprice@google.com> Reviewed-by: Kai Ninomiya <kainino@chromium.org> Reviewed-by: Ken Russell <kbr@google.com> Commit-Queue: Liza Burakova <liza@chromium.org> | 7 个月前 |
以下内容由 AI 翻译,如有问题请 点此提交 issue 反馈
Dawn:WebGPU 实现
Dawn 是 WebGPU 标准的开源跨平台实现。
更准确地说,它实现了 webgpu.h,该文件与 WebGPU IDL 形成一对一映射。
Dawn 旨在集成到更大的系统中,并且是 Chromium 中 WebGPU 的底层实现。
Dawn 提供了多个 WebGPU 构建模块:
- WebGPU C/C++ 头文件,供应用程序和其他构建模块使用。
- Dawn 实现的
webgpu.h版本。 webgpu.h的 C++ 封装器。
- Dawn 实现的
- WebGPU 的“原生”实现,基于各平台的 GPU API:D3D12、Metal、Vulkan 和 OpenGL。更多详情,请参见各 API 支持情况。
- WebGPU 的客户端-服务器实现,适用于处于沙箱环境中且无法访问原生驱动程序的应用程序。
- Tint 是 WebGPU 着色器语言(WGSL)的编译器,可独立用于在 WGSL 与其他着色器语言之间进行转换。
实用链接:
- Dawn 缺陷跟踪器:如果发现 Dawn 的问题,请在此处提交。可通过此链接创建新问题。
- Tint 缺陷跟踪器:如果发现 Tint 的问题,请在此处提交。可通过此链接创建新问题。
- Dawn 邮件列表:用于其他与 Dawn 相关的讨论。
- Dawn 源代码
- Dawn Matrix 聊天室:用于围绕贡献或使用 Dawn 进行实时讨论。
- WebGPU Matrix 聊天室
- Tint 镜像:用于独立使用。
文档目录
开发者文档:
用户文档:(待办事项,需明确与 webgpu.h 文档的重叠部分)
许可证
BSD 3-Clause 许可证,详情请参见 LICENSE。
免责声明
本项目并非 Google 官方支持的产品。