commit | 615b5fd6606a4d2bed2dc13a95ea9f87b497dec4 | [log] [tgz] |
---|---|---|
author | Lokbondo Kung <lokokung@google.com> | Wed Sep 25 20:10:11 2024 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Sep 25 20:10:11 2024 +0000 |
tree | fbbfbeb95d1b601256e951659bea5999d95cb36d | |
parent | a1ce39c190dde8b0a12dcff484c595707444aa76 [diff] |
[dawn][emscripten] Fix buffer passing entry points. - Some of the entry points were not dereferencing the buffer object properly after the initial table changes. With the current changes, the .object needs to be added in order to get the GPUBuffer, otherwise you only get the wrapper. Change-Id: I2dabda01d22aff1ffab26a4b920feceb36749cc2 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/207616 Reviewed-by: Kai Ninomiya <kainino@chromium.org> Commit-Queue: 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.