commit | a086297e8dc6f377b9cd0264219f07fab5adb718 | [log] [tgz] |
---|---|---|
author | Ryan Harrison <rharrison@chromium.org> | Wed Nov 06 19:13:41 2024 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Nov 06 19:13:41 2024 +0000 |
tree | c095099b0099639e545302fc81176a3f475272c1 | |
parent | 6072fc3065c6f9e4836ffd8090aae807d5b34438 [diff] |
[tint][ir][val] Add basic const checks for @workgroup_size This checks that the value for params are in range if they are constant values, and rejects non-constant value params if kAllowsOverrides is not set. It does not do the look-up to determine if more complex cases are override-expression yet, since there is still implementation side work needed for overrides. Issue: 376624999 Change-Id: I370c982d503e32e6db03f5b0ef91dee5bfe2eb75 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/214095 Reviewed-by: dan sinclair <dsinclair@chromium.org> Commit-Queue: Ryan Harrison <rharrison@chromium.org> Auto-Submit: Ryan Harrison <rharrison@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.