commit | ef22cd726c860a6d97576b9524601ca0257863a4 | [log] [tgz] |
---|---|---|
author | dan sinclair <dsinclair@chromium.org> | Wed Dec 11 11:50:17 2024 -0800 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Dec 11 11:50:17 2024 -0800 |
tree | f4f70fb8b096025d6c3ce0839d5c79ca7a947ba4 | |
parent | e2bde70528edbae25e2c0f265f833c6ccae5a025 [diff] |
[HLSL] Return workgroup storage size When emitting compute shaders, calculate and return the total `workgroup_storage_size` used so that Dawn can validate against the device limits. Bug: 380043961 Change-Id: Ica7012c8fcffad47ac689dc4b85ba1c652e832b5 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/218894 Reviewed-by: James Price <jrprice@google.com> Commit-Queue: dan sinclair <dsinclair@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.