commit | 500e41cc1e25c30eb7b90e7d5a5f0695c30333f1 | [log] [tgz] |
---|---|---|
author | Jaswant Panchumarti <jaswant.panchumarti@kitware.com> | Wed Nov 06 19:25:57 2024 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Nov 06 19:25:57 2024 +0000 |
tree | 91dc14cb2d91fb97facdc16910e549af8ab9ee7c | |
parent | a086297e8dc6f377b9cd0264219f07fab5adb718 [diff] |
Use 32-bit pointer size for making heap view of requiredFeatures - Fix 377531191 - This commit fixes adapter.requestDevice for wasm64 by using the correct factor to calculate the end of the view in HEAPU32 from requiredFeaturesPtr. Earlier, the returned array was twice the actual size. Change-Id: I6f9951e8f0f4af88e80c62a01fb4bfd366326f6c Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/214094 Commit-Queue: Jaswant Panchumarti <jaswant.panchumarti@kitware.com> Auto-Submit: Jaswant Panchumarti <jaswant.panchumarti@kitware.com> 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.