[DirectVariableAccess] Add option for external handles to be processed. Currently the DVA transform will only process handles if the `transform_handles` flag is set. This CL splits the flag into a `none`, `external`, and `full` set of options. The current behaviour being either `none` or `full` in all cases. The SPIR-V backend is updated to use either `external` or `full` instead of `none` and `full` so we can flatten any external textures before running multiplanar. Bug: 491363837 Change-Id: Iad7e8348e3ff278fcf6e134503626a1b071c2f1b Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/296696 Commit-Queue: 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.