|author||Corentin Wallez <firstname.lastname@example.org>||Tue Jun 30 18:46:32 2020 +0000|
|committer||Commit Bot service account <email@example.com>||Tue Jun 30 18:46:32 2020 +0000|
dawn_native: Use correct integer width for SetSubData. SetSubData's count is a uint64_t while Queue::WriteBuffer's is a size_t so we add a small validation check that no narrowing will occur. No test is added because SetSubData will be removed soon, and it will be hard to test because of the Null backend's artificial OOM. This was found while debugging an unrelated fuzzer issue. Bug: chromium:1099621 Change-Id: I27a9da2b94f51e889c5573f88d4a0a73fea5985c Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/23961 Reviewed-by: Stephen White <firstname.lastname@example.org> Reviewed-by: Austin Eng <email@example.com> Commit-Queue: Corentin Wallez <firstname.lastname@example.org>
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.hversion that Dawn implements.
User documentation: (TODO, figure out what overlaps with webgpu.h docs)
Apache 2.0 Public License, please see LICENSE.
This is not an officially supported Google product.