commit | 604b0586f1e8e775cca3f94831caaadc3417aa85 | [log] [tgz] |
---|---|---|
author | Corentin Wallez <cwallez@chromium.org> | Mon Dec 04 22:20:15 2023 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Dec 04 22:20:15 2023 +0000 |
tree | 9f7912da8579ae1ca1e238fbcd2dbde7e9a937b4 | |
parent | 0a8dc81b6184478c1b4c83bda1ecb71da660bb04 [diff] |
dawn::wire Support wgslLanguageFeatures In addition to adding support for wgslLanguageFeatures in the wire, this CL does the following: - Add a wgpu::DawnWireWGSLControl structure to control what is exposed in wgslLanguageFeatures in the wire. - Updates WireClient::ReserveInstance to pass a WGPUInstanceDescriptor so that the wgsl control info can be passed to dawn::wire::Instance::Initialize. - Update the WGSLFeatureValidationTests to enable them on the wire. - This requires creating a new wire instance with a matching native instance for the shader module compilation tests, so add a helper method to WireHelper (so much helping!!) that creates an instance from both a native and wire InstanceDescriptor. Bug: dawn:2260 Change-Id: Ia97fb08994536b9d93141bb82517658c380b3c31 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/163300 Kokoro: Kokoro <noreply+kokoro@google.com> Commit-Queue: Corentin Wallez <cwallez@chromium.org> Reviewed-by: Loko Kung <lokokung@google.com> Reviewed-by: Austin Eng <enga@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.