commit | 7070a1a45074fe29d35cb23365c1eb45a5158a8e | [log] [tgz] |
---|---|---|
author | Jiawei Shao <jiawei.shao@intel.com> | Tue Dec 05 00:01:53 2023 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Dec 05 00:01:53 2023 +0000 |
tree | a69c56de5f6d72c25007ef3c4cc44ee9b430611c | |
parent | 604b0586f1e8e775cca3f94831caaadc3417aa85 [diff] |
D3D11: Reuse implicit pixel local storage attachments when possible This patch supports reusing implicit pixel local storage attachments instead of always recreating temporary textures as implicit pixel local storage attachments. Note that currently on D3D11 backend we cannot create a Texture2D UAV on a 2D array texture with baseArrayLayer > 0, so we have to create one 2D texture for each implicit pixel local storage slot instead of a 2D array texture with 4 layers for all implicit pixel local storage slots. Bug: dawn:1704 Test: dawn_end2end_tests Change-Id: I19c11cad165b4ef4a87a7136be9d3daff8d72d8a Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/163700 Kokoro: Kokoro <noreply+kokoro@google.com> Commit-Queue: Jiawei Shao <jiawei.shao@intel.com> Reviewed-by: Peng Huang <penghuang@chromium.org> Reviewed-by: Corentin Wallez <cwallez@chromium.org> Reviewed-by: Austin Eng <enga@chromium.org>
Dawn is an open-source and cross-platform implementation of the 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)
BSD 3-Clause License, please see LICENSE.
This is not an officially supported Google product.