commit | 7622be0544b05a9bb31b1e2664d8444ac518cc57 | [log] [tgz] |
---|---|---|
author | Bryan Bernhart <bryan.bernhart@intel.com> | Tue Jul 07 23:32:52 2020 +0000 |
committer | Commit Bot service account <commit-bot@chromium.org> | Tue Jul 07 23:32:52 2020 +0000 |
tree | 4eec93aeacbc3b16f3b8495470367460e27552b2 | |
parent | a0b4571546bb8921b6a4f720e24f97d28b7e99c1 [diff] |
D3D12: Avoid re-binding sampler tables. Skip re-binding samplers since sampler heap allocations are cached and the pipeline would redundantly get set every draw. This is particularly important for draw heavy scenarios. After the change: +3% in RendererPerfTest/1.* via SkiaDawn +100% for Forest Demo FPS (55ms vs 28ms) BUG=dawn:479 Change-Id: I93cbca4e365d6ff89ec86fc15eaccf70b49ea916 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/24161 Reviewed-by: Corentin Wallez <cwallez@chromium.org> Reviewed-by: Austin Eng <enga@chromium.org> Commit-Queue: Bryan Bernhart <bryan.bernhart@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.