commit | c2542cde3e70aa2f4066b4cdbea91e4195f85c44 | [log] [tgz] |
---|---|---|
author | Yunchao He <yunchao.he@intel.com> | Mon May 11 19:12:12 2020 +0000 |
committer | Commit Bot service account <commit-bot@chromium.org> | Mon May 11 19:12:12 2020 +0000 |
tree | 50ec4975c5d71fa716cbd3ee80d24ad718d6ec22 | |
parent | 5ffded3956452a1e3ff1659385cd380971bcea1b [diff] |
Fix a bug for multi-writes in ResourceUsageTrackingTests.cpp It is valid to have race condition for multiple writes on the same resource in some situations in render pass. These situations are: 1) multple storage buffer bindings on the same buffer, 2) multiple writeonly storage texture bindings on the same texture. This change fixed a bug in tests and added a new test, in order to make sure that validation code in Dawn allows this kind race condition. Bug: dawn:407 Change-Id: I42332418bea5b6e608f6730e42f60c1c12b0b025 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/21361 Reviewed-by: Corentin Wallez <cwallez@chromium.org> Reviewed-by: Austin Eng <enga@chromium.org> Commit-Queue: Yunchao He <yunchao.he@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 webgpu.h docs)
(TODO)
Apache 2.0 Public License, please see LICENSE.
This is not an officially supported Google product.