| commit | bd4da62dd5bf7f9138c030efeee44c375d536ffb | [log] [tgz] |
|---|---|---|
| author | shaoboyan <shaoboyan@microsoft.com> | Thu Jan 30 07:59:58 2025 -0800 |
| committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Jan 30 07:59:58 2025 -0800 |
| tree | b5c0d74f699e4d0e1e4a82bb20be86b405a1ab1f | |
| parent | 67406e2027c7cd81d6d334e5c427efc558b6a4d3 [diff] |
Dawn Native: Add Immediate Constant Offset Layout in Pipeline Pipeline has all infos about immediate constants, including immediate data used by customer and internal constants used by Dawn (e.g. clamp frag depth). It is possible for pipeline to order constants tightly. This CL adds bit set and offset map in Pipeline to provide the final immediate constants order info. And enabled this in Vulkan backend. Bug:366291600 Change-Id: I228bb3bffdd9966efa11c501e4cb8115cf59bd02 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/220594 Reviewed-by: Corentin Wallez <cwallez@chromium.org> Commit-Queue: Shaobo Yan <shaoboyan@microsoft.com> Commit-Queue: Corentin Wallez <cwallez@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.