commit | e71edbaee31d22726441ddf6f4cef48069c70aca | [log] [tgz] |
---|---|---|
author | Kai Ninomiya <kainino@chromium.org> | Sat Jan 06 07:14:11 2024 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Sat Jan 06 07:14:11 2024 +0000 |
tree | 56f137b48c7e27b2310d89988df633c7db8540e2 | |
parent | 7f919d90bf50e7a82634f4f8f60addec0295b6f0 [diff] |
webgpu.h: More trivial defaulting: BindGroupLayoutDescriptor Implements the following sub-structures of BindGroupLayoutDescriptor. Defaulting is done in the constructor, which (in most cases) is called by a bounce through the backend. - TextureBindingLayout.viewDimension: TextureViewDimension = 2D - StorageTextureBindingLayout.viewDimension: TextureViewDimension = 2D I couldn't find any end2end tests using explicit bind group layouts with texture or storageTexture, so these are only spot-tested in the GetBindGroupLayout caching tests (which won't hit the backends but will verify that defaulting is applied to cache keys). Bug: dawn:2224 Change-Id: Ie1173ada37c65ab28f71f63f7786c7441fc12306 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/166823 Reviewed-by: Loko Kung <lokokung@google.com> Commit-Queue: Kai Ninomiya <kainino@chromium.org> Kokoro: Kokoro <noreply+kokoro@google.com> Reviewed-by: Corentin Wallez <cwallez@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.