commit | 455e4b80f6b8d065660ced359bf836f72c656f33 | [log] [tgz] |
---|---|---|
author | Jiawei Shao <jiawei.shao@intel.com> | Sat Jun 10 00:32:22 2023 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Sat Jun 10 00:32:22 2023 +0000 |
tree | b7f2d63a2d292f497e48390de7c52e6085743e51 | |
parent | 7c8dfbc44ea30c0695592dd80458402c7a50ed9b [diff] |
D3D12: Always skip Robustness transform on non-DBO storage buffers This patch adds all the storage buffers and read-only storage buffers without Dynamic Buffer Offset to the 'ignore-list' of Tint Robustness transform on D3D12 backend because currently in Dawn they will always be bound to descriptor tables and translated into ByteAddressBuffers, where D3D12 runtime can guarantee that out-of-bounds-reading will always return 0 and out-of-bound-writing will always take no action. Note that currently we cannot skip robustness transform on uniform buffers because in some situations FXC will report compilation error when there is OOB access to the sized array declared in cBuffer. This CL can improve about 11% of the performance of dawn_perf_test.ShaderRobustnessPerf. Bug: tint:1890 Change-Id: I34623fe1fced18208f77983d3eaf89d63afb8aed Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/136340 Reviewed-by: Ben Clayton <bclayton@google.com> Commit-Queue: Jiawei Shao <jiawei.shao@intel.com> Kokoro: Kokoro <noreply+kokoro@google.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.