| commit | 2473d745a87f81a0855a2b74eaa2a2da1b8a3044 | [log] [tgz] |
|---|---|---|
| author | Jiawei Shao <jiawei.shao@intel.com> | Fri Jan 16 19:24:39 2026 -0800 |
| committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Jan 16 19:24:39 2026 -0800 |
| tree | df4da9cf1ef162328d34d1dc80946f0c79d5ae70 | |
| parent | 94447d0354afde558adb3a7c66eb96fcb08af4ba [diff] |
[D3D12] Implement `chromium_experimental_subgroup_size_control` This patch implements `chromium_experimental_subgroup_size_control` on D3D12 backend. This feature requires at least Shader Model 6.6 for the HLSL attribute `[WaveSize]`. As D3D12 runtime only accept the values between `D3D12_FEATURE_DATA_D3D12_OPTIONS1::waveLaneCountMin` and `D3D12_FEATURE_DATA_D3D12_OPTIONS1::waveLaneCountMax` as `[WaveSize]`, while currently on D3D12 backend we don't always use these two values as `AdapterInfo::subgroupMinSize` or `AdapterInfo::subgroupMaxSize`, we introduce two new limitations (`minExplicitComputeSubgroupSize` and `maxExplicitComputeSubgroupSize`) to provide valid values for `[WaveSize]`. Bug: 463721943 Test: dawn_end2end_tests Change-Id: Ib86a6e2034957b5e1ab5091203d862d981247363 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/284855 Reviewed-by: James Price <jrprice@google.com> Reviewed-by: Kai Ninomiya <kainino@chromium.org> Reviewed-by: Corentin Wallez <cwallez@chromium.org> Commit-Queue: Shao, Jiawei <jiawei.shao@intel.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.