[val] Improve functional IO attribute rules checking Conceptually the attributes rules are a mix of a structural, i.e. can only be on this type, and functional/usage, i.e. an entry point can only have one @builtin(position). Structural issues should always be checked, functional rules should only be checked when/where the attribute is actually referenced in an entry point. This CL adds in a guard to correct a block of functional rule checks that were being run for non-entry point contexts. Fixes: 510968968 Change-Id: I19684fa77588dd1cf23ac2c424ddce3b7f0c8111 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/308156 Commit-Queue: Ryan Harrison <rharrison@chromium.org> Reviewed-by: dan sinclair <dsinclair@chromium.org> Reviewed-by: 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.