commit | ede1cc53c475918c9e0189ce06501338583236ce | [log] [tgz] |
---|---|---|
author | shrekshao <shrekshao@google.com> | Tue Jul 18 20:40:28 2023 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Jul 18 20:40:28 2023 +0000 |
tree | 7a16770885dc8fbdfd292b4771f01ad3d7ee2208 | |
parent | e2b8565d58e8ed9f0d1f897def5f1f806b3b7716 [diff] |
Compat GLES: split texture_2d and texture_2d_array for blit OpenGLES backend has no texture view and require view dimension matches the underlying texture. Otherwise an intermediate CopyImageSubData is needed. Use different compute shader to copy GL_TEXTURE_2D and GL_TEXTURE_2D_ARRAY to avoid this extra copy in TextureGL when possible. Bug: dawn:1393, dawn:1781, dawn:1782, dawn:1503 Change-Id: I5171885d354c4e89199c4fe35f9fcded67371dab Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/140902 Reviewed-by: Stephen White <senorblanco@chromium.org> Commit-Queue: Shrek Shao <shrekshao@google.com> Kokoro: Kokoro <noreply+kokoro@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 the webgpu.h docs)
(TODO)
Apache 2.0 Public License, please see LICENSE.
This is not an officially supported Google product.