commit | 4faf3581b87541c8bdb93c0ae8baaba74ef6c4cf | [log] [tgz] |
---|---|---|
author | Zhaoming Jiang <zhaoming.jiang@intel.com> | Wed Oct 26 08:23:25 2022 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Oct 26 08:23:25 2022 +0000 |
tree | e86093e2be77dbdff1422799919a586fbc72813f | |
parent | 25d564157b87b683d8f8f50aa773f6a384d1aacf [diff] |
Tint/builder/spirv: Fix atomicCompareExchangeWeak wrong return This CL fix the spv code generated for atomicCompareExchangeWeak, specifically the emulated `exchanged` field of the returned struct. It should be true if and only if the `old_value`, i.e. the return value of spv `OpAtomicCompareExchange`, equals to the comparator, rather than equals to new value. Fixed: tint:1663 Change-Id: I1cb0de6bb6b90ae681f5053b8bdd6f6b247146f6 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/107180 Reviewed-by: Ben Clayton <bclayton@google.com> Kokoro: Kokoro <noreply+kokoro@google.com> Commit-Queue: Zhaoming Jiang <zhaoming.jiang@intel.com>
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.h
version that Dawn implements.webgpu.h
.Helpful links:
Developer documentation:
User documentation: (TODO, figure out what overlaps with the webgpu.h docs)
(TODO)
Apache 2.0 Public License, please see LICENSE.
This is not an officially supported Google product.