commit | 2d64b4a0a1a3ba029dc424c75a4bfb7e79cdbf6f | [log] [tgz] |
---|---|---|
author | Jiawei Shao <jiawei.shao@intel.com> | Wed Aug 14 01:04:11 2024 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Aug 14 01:04:11 2024 +0000 |
tree | 3048cba795cc117d1296936a9180e72e89ce971b | |
parent | da4206ba746e1b6f8b5511764a54cb2751d49a16 [diff] |
Don't check adapter nullability in the constructor of DeviceBase This patch removes the check on the nullability of adapter in the constructor of DeviceBase by creating DeviceMock with the constructor of DeviceBase. Bug: chromium:42240655 Test: dawn_unittests Change-Id: I10fbe4624c0153a250ff8c177f3d950d723ca66e Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/201334 Reviewed-by: Loko Kung <lokokung@google.com> Commit-Queue: Jiawei Shao <jiawei.shao@intel.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.