GLSL: fix storage texture binding. The binding number simply wasn't being emitted in Tint's GLSL backend. Also change all the Emit*Variable() functions in GLSL's ASTPrinter to take a sem::GlobalVariable, rather than taking a sem::Variable and casting it back. Bug: dawn:1692 Change-Id: Iab7742732b62be5b2714f9c31e1b2073117fb4b7 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/197975 Reviewed-by: dan sinclair <dsinclair@chromium.org> Commit-Queue: Stephen White <senorblanco@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.