commit | 95aa7c5b295be93cd46c89a26178bc43d3406943 | [log] [tgz] |
---|---|---|
author | Corentin Wallez <cwallez@chromium.org> | Thu Jun 17 17:48:45 2021 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Jun 17 17:48:45 2021 +0000 |
tree | 58b0f820cb30c5febab0de11f3f35baa6ceb0d1b | |
parent | 75f554d9739cb62a3fcdd0e8cafb9115cd853787 [diff] |
Add SetIndex/VertexBuffer offset argument alignment constraints The vertex buffer alignment in particular is helps make the implementation of programmable pulling much easier on Metal since the vertex data will be able to be represented as array<u32>. Bug: dawn:805 Change-Id: I2bf2742db3b8fa478be620c892925b8b75dc514c Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/54659 Reviewed-by: Stephen White <senorblanco@chromium.org> Reviewed-by: Kai Ninomiya <kainino@chromium.org> Commit-Queue: Kai Ninomiya <kainino@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.