[ir][validator] Allow out vars to have an initializer. This presence of an `__out` with an initializer can be created by the SPIR-V reader. The ShaderIO transform will remove the initializer and place it into a `private` variable as needed. Allow the initializer to get through the validator. Bug: 42250952 Change-Id: Idc0ba4ddde62a18bda42a8d622938e8fd87ee67a Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/246614 Reviewed-by: James Price <jrprice@google.com> Commit-Queue: 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.