[Core] Fix Writer Fuzz by Validating Immediate Blocks This CL add validations about immediate block. It ensures immediate block members offsets are valid and make sure there is at most one user-declared immediate data. Apply this validation rules to all backends. Bug: 366291600,442260935 Change-Id: I0713491dc3f968627a5aaec3cbd7a2e80c3b4f58 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/261414 Reviewed-by: dan sinclair <dsinclair@chromium.org> Commit-Queue: Shaobo Yan <shaoboyan@microsoft.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.