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.