[tint] Collapse nested subgroupMin/Max ops on AMD On some AMD GPUs on Windows, nested subgroupMin/Max operations can trigger a crash. This change collapses multiple nested subgroupMin/Max calls to a single call, the innermost subgroupMin/Max operation. This is safe because the result of a subgroupMin/Max call is necessarily subgroup uniform. This bug exists in both the Vulkan and D3D12 drivers on Windows, and on Mac. On Windows it is fixed in later versions, but because it's a harmless optimizing transform it's applied broadly to all versions on affected backend platforms. Bug: 508265321 Change-Id: I658d0ddece1887d9211ad9ea2eb07a96ada0e3ce Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/311521 Commit-Queue: Natalie Chouinard <chouinard@google.com> Reviewed-by: 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.