commit | a6d7f56cf84f4321381a7c3da32e506ed8357807 | [log] [tgz] |
---|---|---|
author | Yunchao He <yunchao.he@intel.com> | Mon May 04 16:23:09 2020 +0000 |
committer | Commit Bot service account <commit-bot@chromium.org> | Mon May 04 16:23:09 2020 +0000 |
tree | 3bf938a543251d7df51bf5c61723b37c2445f33f | |
parent | a8337c378ee3cf5471a40a781808949f3a176235 [diff] |
Add resource usage tests in a single draw/dispatch It is invalid to read and write on the same buffer/texture in a single draw or dispatch. This change adds tests to cover this situation. Note that we have already added resource usage tests between passes in the same command buffer, and tests between draw or dispatch calls in the same pass. And this patch adds tests inside a draw or dispatch call. Bug: dawn:358 Change-Id: Ic52b2e559e9c996e5b76ea960183d80d67c24178 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/20821 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.