commit | faf0be2f2bc74d3d52831dc834095cfa6a114c96 | [log] [tgz] |
---|---|---|
author | Le Hoang Quyen <lehoangquyen@chromium.org> | Tue Mar 11 10:54:10 2025 -0700 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Mar 11 10:54:10 2025 -0700 |
tree | 75eb5dd93f3951ef2e8774240c83d1ecef14890c | |
parent | 521cead7738a48596e8d1e53d44fcc132a4734cd [diff] |
Add more details to ComputeEstimatedMemoryUsage() The function should return the memory usage in more details: - The amount of memory used by buffers. - The amount of memory used by textures. - The amount of memory used by depth/stencil textures. - The amount of memory used by MSAA textures. Bug: chromium:402138745 Change-Id: I52a4e935a849cff0282d2b55f26157b0a829f7c4 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/229934 Reviewed-by: Loko Kung <lokokung@google.com> Commit-Queue: Corentin Wallez <cwallez@chromium.org> Commit-Queue: Quyen Le <lehoangquyen@chromium.org> Reviewed-by: Corentin Wallez <cwallez@chromium.org> Auto-Submit: Quyen Le <lehoangquyen@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.