commit | 905c3b40eecb0a00ad2baa530394a560a4dcbc9a | [log] [tgz] |
---|---|---|
author | Le Hoang Quyen <lehoangquyen@chromium.org> | Fri Mar 21 15:09:30 2025 -0700 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Mar 21 15:09:30 2025 -0700 |
tree | 70394b035dde8147671dc21ea61b1112325cb4f8 | |
parent | 94be346a611a4a9eca5cd5b378c052234d222b08 [diff] |
D3D11: Return error if devices don't support constant buffers' offsets. This is required because WebGPU allows binding an uniform buffer to a non-zero offset. If the D3D device doesn't natively support offsetting a constant buffer, we don't have an alternative workaround yet. e.g. passing offsets as driver uniforms. Bug: 405322913 Change-Id: Id2931e31a0ffaa3a0a17bc5b1a73d6743be5f221 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/232294 Commit-Queue: Quyen Le <lehoangquyen@chromium.org> Reviewed-by: Geoff Lang <geofflang@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.