commit | 51f19e326acd9e51eabdd6a7382db68020971f73 | [log] [tgz] |
---|---|---|
author | James Price <jrprice@google.com> | Wed Jun 12 14:38:34 2024 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Jun 12 14:38:34 2024 +0000 |
tree | ae531fd05a552469c9b54728916301c9f1e00fdb | |
parent | f6ff951894d835512e083dc87bfe5305a27dcd00 [diff] |
[compat] Move sample_{index,mask} validation to Tint Add a `validation_mode` enum to the WGSL reader options, and pass it down to the WGSL validator. Set the validation mode to `kCompat` from Dawn if compatibility mode is enabled on the device. Remove the pipeline-time validation code from Dawn and update the unit tests accordingly. Fixed: 340200030 Fixed: 343033152 Change-Id: I56fe738c971b354c8cb4b14aedf13cd838e37f16 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/190782 Reviewed-by: dan sinclair <dsinclair@chromium.org> Commit-Queue: James Price <jrprice@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.