commit | ca296e18d92a21099bbf6b878de2c234207468ff | [log] [tgz] |
---|---|---|
author | Kai Ninomiya <kainino@chromium.org> | Mon Apr 08 21:20:13 2024 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Apr 08 21:20:13 2024 +0000 |
tree | 844d0e6f18d92610cbce3c3000c5589a24ada18d | |
parent | d9355b1923d23b66e3d1afb532d4e00612eff253 [diff] |
Fix logic for selecting test worker type; build service worker files Previously options.worker would always be truthy for any non-empty worker= value, so workerEnabled would always be truthy, so `worker` would always be created, so the sharedWorker/serviceWorker paths would never be hit. Since we were not running the service worker tests this also revealed we didn't have the files for them. Updates the build step to generate them. This will work once the CTS change rolls in to load them from the correct place: https://github.com/gpuweb/cts/pull/3599 Also, simplifies some logic and cleans up some unused code, as a follow-up to https://dawn-review.googlesource.com/c/dawn/+/178780 . In test_page.html, add a fake favicon to silence favicon.ico 404 errors. Bug: chromium:330596242, chromium:332934824 Change-Id: I55690a0959edafeab90a0535ac4e96b83c970c42 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/182540 Reviewed-by: Austin Eng <enga@chromium.org> Commit-Queue: Kai Ninomiya <kainino@chromium.org> Reviewed-by: Brian Sheedy <bsheedy@chromium.org>
Dawn is an open-source and cross-platform implementation of the 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.h
version that Dawn implements.webgpu.h
.Helpful links:
Developer documentation:
User documentation: (TODO, figure out what overlaps with the webgpu.h docs)
BSD 3-Clause License, please see LICENSE.
This is not an officially supported Google product.