commit | 0f5d496f12f3ce38a428e4640da471bc91e5b9d4 | [log] [tgz] |
---|---|---|
author | Tomek Ponitka <tommek@google.com> | Tue Jul 07 10:18:51 2020 +0000 |
committer | Commit Bot service account <commit-bot@chromium.org> | Tue Jul 07 10:18:51 2020 +0000 |
tree | 1836e7603f8ec2758eda768dca4cc6ebf6f28d77 | |
parent | 92554d75f354813257b65a54b7f835f949f5e03b [diff] |
Rephrasing CopyBufferToTexture validation Moved some of the validation helper functions from CommandEncoder.cpp to CommandValidation.cpp. This will make them accessible for Queue::WriteTexture. Also introduced ValidateLinearTextureData and ValidateTextureCopyRange which combine already implemented checks in a way that's defined in WebGPU spec. Bug: dawn:483 Change-Id: I04304c5e4906f3745c6adf75758fae179c6ffcfe Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/24283 Commit-Queue: Tomek Ponitka <tommek@google.com> Reviewed-by: Austin Eng <enga@chromium.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.h
version that Dawn implements.webgpu.h
.Helpful links:
Developer documentation:
User documentation: (TODO, figure out what overlaps with webgpu.h docs)
(TODO)
Apache 2.0 Public License, please see LICENSE.
This is not an officially supported Google product.