commit | 01456d97eaec597734d02d01ecb5c648c455fa4e | [log] [tgz] |
---|---|---|
author | Jiawei Shao <jiawei.shao@intel.com> | Tue Feb 14 00:27:34 2023 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Feb 14 00:27:34 2023 +0000 |
tree | b9d3a97cdc08aaa8596aa72f74af848966ab20bd | |
parent | 7c0774fc2cf4c978119957c65d0c65426ef02fe4 [diff] |
Implement the optional feature "bgra8unorm-storage" on Vulkan This patch implements the optional feature "bgra8unorm-storage" on Vulkan. As SPIR-V doesn't support 'bgra8' as a valid image format, we have to create an image view with RGBA8Unorm format on the BGRA8Unorm texture when we want to use it as a storage texture. Bug: dawn:1641 Test: dawn_end2end_tests Change-Id: I4aeea96ae872fe4e6367c535afb6ab896b952453 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/118021 Reviewed-by: Austin Eng <enga@chromium.org> Commit-Queue: Jiawei Shao <jiawei.shao@intel.com> Kokoro: Kokoro <noreply+kokoro@google.com> Reviewed-by: Corentin Wallez <cwallez@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 the webgpu.h docs)
(TODO)
Apache 2.0 Public License, please see LICENSE.
This is not an officially supported Google product.