commit | b3177d418e3b3d14fe99c63badebb191c510830e | [log] [tgz] |
---|---|---|
author | shrekshao <shrekshao@google.com> | Tue Jan 26 02:22:58 2021 +0000 |
committer | Commit Bot service account <commit-bot@chromium.org> | Tue Jan 26 02:22:58 2021 +0000 |
tree | f27566f0ff0b53cf027e241a05ca6955987c877e | |
parent | f47a14fc17cfa86811a475a358eb02ff92740b73 [diff] |
Make SamplerDescriptor optional in CreateSampler Use default SamplerDescriptor if not descriptor is passed in. Change some createSampler calls to pass nothing in for testing. The default values for SamplerDescriptor and that from utils::GetDefaultSamplerDescriptor are different so we may still want to keep it. Bug: dawn:599 Change-Id: Ie75d9e1fde608cb19049b50f4613be63802c8719 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/38621 Reviewed-by: Austin Eng <enga@chromium.org> Commit-Queue: Shrek Shao <shrekshao@google.com>
Dawn is an open-source and cross-platform implementation of the work-in-progress 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)
(TODO)
Apache 2.0 Public License, please see LICENSE.
This is not an officially supported Google product.