commit | 363eae1e5d18e86212d5a831a3fb3d0131d109d0 | [log] [tgz] |
---|---|---|
author | Jiawei Shao <jiawei.shao@intel.com> | Thu Aug 29 13:19:51 2024 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Aug 29 13:19:51 2024 +0000 |
tree | 513a7e406163aa7015561c8a62f74229a5776e33 | |
parent | c101627f1c648c2f189ae017e57082b43129504f [diff] |
Tint: Add missing index offset when assigning to SV_ClipDistance1 This patch adds the missing index offset (4) when generating the assignment expressions from the inner struct member to the second vector of clip distances for HLSL, which should be assigned by `clipDistances[5]` or `clipDistances[6]` or `clipDistances[7]`. Bug: chromium:358408571 Change-Id: Ib44c9c512345186a90767e0f3d30a4b97d003260 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/204435 Reviewed-by: James Price <jrprice@google.com> Commit-Queue: Jiawei Shao <jiawei.shao@intel.com> Reviewed-by: Antonio Maiorano <amaiorano@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.