commit | 0c7a99f894dfea64a0fa1fd03132a7a36ac93683 | [log] [tgz] |
---|---|---|
author | Stephen White <senorblanco@chromium.org> | Fri May 26 04:53:17 2023 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri May 26 04:53:17 2023 +0000 |
tree | c30d44fb5ed23709f7638f25d091f417eb628024 | |
parent | 4957327cc9865fd7d169971752f372016b5721bf [diff] |
Tint/GLSL: rename identifiers containing double-underscores. This is prohibited by the GLSL ES spec: "In addition, all identifiers containing two consecutive underscores (__) are reserved for use by underlying software layers. Defining such a name in a shader does not itself result in an error, but may result in unintended behaviors that stem from having multiple definitions of the same name." (https://registry.khronos.org/OpenGL/specs/es/3.1/GLSL_ES_Specification_3.10.withchanges.pdf, section 3.7). However, while glslang validation will not give an error on this, NVidia ES drivers will. So I've added a Dawn end2end test instead of a WGSL test. Bug: tint:1944 Change-Id: I4b965af00039ca7a232bc11be884483f8e02ccf6 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/134140 Reviewed-by: Ben Clayton <bclayton@google.com> Commit-Queue: Stephen White <senorblanco@chromium.org> Kokoro: Kokoro <noreply+kokoro@google.com>
Dawn is an open-source and cross-platform implementation of the work-in-progress 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)
(TODO)
Apache 2.0 Public License, please see LICENSE.
This is not an officially supported Google product.