commit | 7c2fa23a7eb24c6f91da37f43dda354da8a1d0e0 | [log] [tgz] |
---|---|---|
author | Jiawei Shao <jiawei.shao@intel.com> | Tue Feb 14 00:29:52 2023 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Feb 14 00:29:52 2023 +0000 |
tree | 9e4806750d3272addcee516aff09aa0b0e60565d | |
parent | 01456d97eaec597734d02d01ecb5c648c455fa4e [diff] |
Implement the optional feature "bgra8unorm-storage" on D3D12 This patch adds the support of the optional feature "bgra8unorm-storage" on D3D12 when the platform allows using DXGI_FORMAT_B8G8R8A8_UNORM as UAVs. According to D3D12 documents, enabling the flag D3D12_RESOURCE_FLAG_ALLOW_UNORDERED_ACCESS when creating textures requires "either the texture format must support unordered access capabilities at the current feature level. Or, when the format is a typeless format, a format within the same typeless group must support unordered access capabilities at the current feature level". Bug: dawn:1641 Test: dawn_end2end_tests Change-Id: If16271b5da52423e73ad4f7ba258af83dbf66dd2 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/119345 Reviewed-by: Corentin Wallez <cwallez@chromium.org> Reviewed-by: Austin Eng <enga@chromium.org> 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.