commit | 2918c4247f20c6f7baf2c825e309ddc9bf1b0f2b | [log] [tgz] |
---|---|---|
author | Jiawei Shao <jiawei.shao@intel.com> | Thu Aug 15 00:55:19 2024 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Aug 15 00:55:19 2024 +0000 |
tree | 7b724eac4e31c4d52eaa44cec4890e57caa2992d | |
parent | 66b8a33f05c38c4cd71dcee85144c214bc7d8d74 [diff] |
Tint: Add WGSL extension and built-in variable `clip_distances` This patch adds the WGSL extension and built-in variable `clip_distances`, and adds a validation that the WGSL extension `clip_distances` must be enabled when the built-in variable `clip_distances` is used. Bug: chromium:358408571 Test: tint_unittests Change-Id: I7c807e6d36f70fcb336b7589d1e1fda72d32d648 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/202256 Reviewed-by: James Price <jrprice@google.com> Commit-Queue: Jiawei Shao <jiawei.shao@intel.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.