commit | 6b79284bd854e3bdcc7fad3554c1fffce8a8039b | [log] [tgz] |
---|---|---|
author | James Price <jrprice@google.com> | Mon Aug 11 08:53:12 2025 -0700 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Aug 11 08:53:12 2025 -0700 |
tree | a0a0a3bd8bfdb2a8bad920494dd22c5ff6a663b0 | |
parent | 936e555875e053a28d07340727adba72c600f768 [diff] |
[spirv-reader] Build swizzles for consecutive shuffle accesses For an OpVectorShuffle that accesses both vectors, this allows us to produce swizzles for consecutive indices that fall within the same vector, which can significantly reduce the size of the generated WGSL for some shaders. Fixed: 437398335 Change-Id: I09a6b9eb60ad7314e32150869a8910e9b5fbb430 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/256734 Commit-Queue: James Price <jrprice@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.