commit | b945aa34fde23242c50cc11f9b65a5616a63c3a4 | [log] [tgz] |
---|---|---|
author | Zhaoming Jiang <zhaoming.jiang@intel.com> | Fri Dec 01 09:41:05 2023 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Dec 01 09:41:05 2023 +0000 |
tree | 65b4a7bc7095a2b8f1de024058ff04c5a934f7c8 | |
parent | d08aae656b417ea7e40797b28ccc338197689d9c [diff] |
dawn: Add experimental full subgroup option in compute pipeline desc This CL add a struct DawnComputePipelineFullSubgroups chained after ComputePipelineDescriptor, which holds a requiresFullSubgroups flag. This struct can only appear if device enable feature ChromiumExperimentalSubgroups, otherwise validation error. If this flag is set, on D3D12/Vulkan/Metal backend the X dimension of workgroup size of used compute shader will be validated to be a multiple of maxSubgroupSize, and related pipeline flags will be set. Related unittest and E2E tests are also implemented. Bug: dawn:464 Change-Id: Ib52cb5b986f8a3ab8399bc0fdf653fde2c779cda Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/161060 Reviewed-by: Austin Eng <enga@chromium.org> Reviewed-by: Corentin Wallez <cwallez@chromium.org> Commit-Queue: Zhaoming Jiang <zhaoming.jiang@intel.com> Kokoro: Kokoro <noreply+kokoro@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.