commit | 1e85fef6b5ea37aaabc70a123e8a51f6937c0310 | [log] [tgz] |
---|---|---|
author | Stephen White <senorblanco@chromium.org> | Tue Sep 26 12:30:27 2023 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Sep 26 12:30:27 2023 +0000 |
tree | aa7a59c91fe3586d88e4175dee6f32bfae474a30 | |
parent | 5812d4dab9248ab00f398d95687b50b3e01027e4 [diff] |
Fix sampling from an external GL texture. 1) GL external texture validation was preventing use of TextureUsage::TextureBinding. Fixed by allowing that usage during validation. 2) Wrapped external textures were leaving the subresources marked as uninitialized, causing them to be cleared on first use. Fixed by setting the subresource intialization state from the external texture descriptor's "isInitialized". Bug: chromium:1467273 Change-Id: Ibf84e0f3dd1dc1070dd12f1287c7aa9f87653341 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/153420 Kokoro: Kokoro <noreply+kokoro@google.com> Reviewed-by: Corentin Wallez <cwallez@chromium.org> Commit-Queue: Stephen White <senorblanco@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.