|author||Corentin Wallez <email@example.com>||Tue Jun 30 18:46:32 2020 +0000|
|committer||Commit Bot service account <firstname.lastname@example.org>||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 <email@example.com> Reviewed-by: Austin Eng <firstname.lastname@example.org> Commit-Queue: Corentin Wallez <email@example.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.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.