commit | e5be22e949c8da235879f198dd79b51b21a0b1b3 | [log] [tgz] |
---|---|---|
author | Yunchao He <yunchao.he@intel.com> | Mon Jun 15 18:32:02 2020 +0000 |
committer | Commit Bot service account <commit-bot@chromium.org> | Mon Jun 15 18:32:02 2020 +0000 |
tree | b15abad1110fdf1ea4b381c2cf6207a1db0d36c2 | |
parent | 1c2a039e04acae0f42f036c9434982de1471efaa [diff] |
D3D12: use one barrier to transit states for all subresources If a texture's old states of all subresources are the same, and its new states are the same too, then we can use one barrier to transit states for all subresources. We don't need to use one barrier per each subresource. This change can reduce barriers we dispatched, in order to improve performance for particular situations. Bug: dawn:441 Change-Id: I9fe9dabda725e05d4ce5a8e69ee7b40e6724a22a Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/23145 Commit-Queue: Yunchao He <yunchao.he@intel.com> Reviewed-by: Austin Eng <enga@chromium.org>
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.