commit | 417c908c309ba011d85566a8d667a61f68228f66 | [log] [tgz] |
---|---|---|
author | Geoff Lang <geofflang@google.com> | Mon Sep 30 22:54:56 2024 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Sep 30 22:54:56 2024 +0000 |
tree | 52dfe003929eceab4cd77d09b421d066891feb05 | |
parent | 68170d99f405f5a2aade5a7d05fa3793379def00 [diff] |
Reland: Add a usage parameter to TextureView creation. This allows views to use a subset of usages from the source texture's usages and use formats that may not be compatible with all of the source textures usages. Roll third_party/gpuweb/ 2dc56f297..010f5c9dd (5 commits): https://github.com/gpuweb/gpuweb/compare/2dc56f29788a...010f5c9ddfd2 Reland additions: Only validate explicit view usage for now. Until it is possible to request explicit usages from the WebGPU API, the RGBA8UnormSrgb and BGRA8UnormSrgb would not be usable as view formats if the base texture has StorageBinding usage. Remove the StorageBinding usage in this case and emit a warning. Bug: 363903526 Change-Id: Ia96991e239300a482bfa6a053397aaec7fab4e67 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/208335 Commit-Queue: Geoff Lang <geofflang@chromium.org> Reviewed-by: Corentin Wallez <cwallez@chromium.org> Reviewed-by: Loko Kung <lokokung@google.com>
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.