commit | 4fc7d413c067a4b9ab685e2709792cc7683561b2 | [log] [tgz] |
---|---|---|
author | Antonio Maiorano <amaiorano@google.com> | Tue Oct 01 21:50:36 2024 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Oct 01 21:50:36 2024 +0000 |
tree | 7e7925313522e695783227549334abaab42f84ae | |
parent | cdcb1c1e59f92d30f929ed2b61a547e56a4c0e87 [diff] |
HLSL-IR: implement LocalizeStructArrayAssignment for FXC Implements the same transform as on the AST path. Works around FXC's compilation failure: error X3500: array reference cannot be used as an l-value; not natively addressable This happens in a few cases, but with this transform, we deal with the case of dynamic indexing an array within a struct local/private variable. Bug; 368355095 Change-Id: I2e3c68679afa1cc1ad51fc0e104dca1af9540272 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/208614 Reviewed-by: James Price <jrprice@google.com> Auto-Submit: Antonio Maiorano <amaiorano@google.com> Commit-Queue: 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.