commit | 974d12830e9ca5e956d6053a298d489bebc294a7 | [log] [tgz] |
---|---|---|
author | James Price <jrprice@google.com> | Tue May 13 15:58:26 2025 -0700 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue May 13 15:58:26 2025 -0700 |
tree | 11e6d96be67a618594838763b08221388f32eea7 | |
parent | 9303395d1538013746479646cc914d3e0cd66fa2 [diff] |
[msl] Insert a fence before writes to read-write storage textures We were already inserting fences *after* writes to read-write storage textures, but there is also the possibility of write-after-read hazards if you do not fence *before* them. Add two Dawn E2E tests to cover both possible hazards. Confirmed to reliably fail when no fences are present on Apple M1 hardware. Fixed: 417296309 Change-Id: Ibd343e6d35c819724dbc856dbae7fdf038a5bcbc Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/241835 Commit-Queue: James Price <jrprice@google.com> Reviewed-by: dan sinclair <dsinclair@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.