commit | 0f8c1cabc4d0b1b98a2eb173c83bef00b7e002a9 | [log] [tgz] |
---|---|---|
author | Gregg Tavares <gman@chromium.org> | Thu Feb 01 20:49:30 2024 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Feb 01 20:49:30 2024 +0000 |
tree | 58f9ca0f55c09b72858535a2ac3974226ba46a03 | |
parent | 988354a92077219d3cafae3e04ad5514457649c6 [diff] |
Fix workgroup_storage_size computation The WebGPU spec says: > Let workgroupStorageUsed be the sum of roundUp(16, SizeOf(T)) > over each type T of all variables with address space "workgroup" > statically used by descriptor.compute. Bug: tint:2157 Change-Id: I55a80b6afb601e72e25e0b6aa99e34b42a0a507c Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/172680 Kokoro: Kokoro <noreply+kokoro@google.com> Reviewed-by: Ben Clayton <bclayton@google.com> Commit-Queue: Gregg Tavares <gman@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.